File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Create method in entity and session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Create method in entity and session bean" Watch "Create method in entity and session bean" New topic
Author

Create method in entity and session bean

Nakul Kas
Greenhorn

Joined: Jun 28, 2005
Posts: 3
Hi Friends,

I have one question abt create method (with ejb 2). In entity bean how many create method we can have (Zero ,one , more than one)? And same for session bean (Stateful and stateless bean) ?

Nakul
[ March 21, 2007: Message edited by: Nakul Kas ]

Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Entity beans : 0..*
Stateful session beans : 1..*
Stateless session beans : 1


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Create method in entity and session bean
 
Similar Threads
Session Beans method to be called from session bean
create method in stateful session bean
Overloading of create methods for stateful session bean home interface
why zero create() methods in entity bean
Question on EJB