Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SessionBean create method is J2ee 1.3  RSS feed

 
Masoud Kalali
Author
Ranch Hand
Posts: 531
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I get some errors when i was tring to add more than one create method to a session bean Home Interface , i want add more create methods with diffrent input parameter , but it says "it must be create()" a create method with no argument.
is it j2ee 1.3 spec or i did something wrong.
 
Aboo Bolaky
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope..the spec is not wrong...u should be careful to note that there are two types of session beans,..
1: Stateless Session beans..
these beans MUST HAVE only one create method and that method takes no parameters..
2: StateFull Session Beans
these beans can have more than 1 create method and can take as many parameters as you like..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!