VisualBuilder
  Home > Ejb > Tutorials > Create the Session Bean POJI - EJB 3 Tutorial
Tell a friend
Link to us
Total Members
      Members: 84606
     
Sitemap Forum Chat
Home
EJB 3 Tutorial Home
1 . Introduction to EJB 3 with movies
2 . Set Up the EJB 3 environment with Movies
3 . Creating the J2EE Project
4 . Inspecting the J2EE Project
5 . Create Session Bean skeleton:
6 . Create Entity Bean:
7 . Create the Session Bean POJI
8 . Define the POJI methods
9 . The EntityManager:
10 . Coding the business methods:
11 . Configure Persistence Unit
12 . Struts - a quick overview:
13 . Create the Struts Web layer:
14 . The Struts configuration file:
15 . The execute method:
16 . The insert & delete methods
17 . Javascript functions
18 . JSP body
19 . Deploy, review database and Test:
20 . Example Code
21 . Example Code
 
Ejb Group Home
Ejb Discussion (3)
Ejb Members (2720)
Ejb Resources
Ejb Source Code (0)
Ejb Articles (0)
Ejb Blogs
Ejb Jobs
Ejb Components (0)
Ejb Books
Ejb Websites (5)
Ejb News (4)
Ejb Q & A (6)
- Ejb Ask Question
- Ejb Questions
- Ejb Unanswered Questions
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (432 )
Source Code (3217 )
Articles (11 )
Components (1589 )
News (880 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise


Ejb Tutorial
 Create the Session Bean POJI
  << Prev: Create Entity Bean: Next: Define the POJI methods >>

A POJI is a Plain Old Java Interface and in EJB3 that is all you need to define your business methods that you want to expose.


Let's create the POJI interface to define the business methods for our Stateless Session Bean.


We create a local interface which is the best choice for entity beans running in the same JVM.


When working in a distributed environment and deploying Enterprise Java Beans to run in a different JVM than the client, you should use a remote interface. This tells the server to implement all required network support and does involve a certain amount of overhead.


To indicate to the server that LibraryLocal.java is a local interface we use the JDK 5.0 annotation @Local at the head of the interface.



  << Prev: Create Entity Bean: Next: Define the POJI methods >>
Ejb Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
LINKS
MSN
Video Surveillance
Skype vs. sipcall
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising