wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes parameter to use in stateful  session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "parameter to use in stateful  session bean" Watch "parameter to use in stateful  session bean" New topic
Author

parameter to use in stateful session bean

ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
in the case of stateful session bean,create() method will be called by the parameter .
post the name of the parameter.i am really confused about it

i had listen about the attribute,not about the parameters.kindly describe it in long way so that i can understand you



thank you
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
A Session bean's home interface defines one or more create(...) methods. Each create method must be named create and must match one of the ejbCreate methods defined in the enterprise Bean class. Suppose you have a ShoppingBasket EJB, you would have code like this.



SCJP 1.4, SCWCD 1.3, SCBCD 1.3
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: parameter to use in stateful session bean
 
Similar Threads
Amusing...
Stateful Session Bean
Caching EJB3 remote references prevents pooling or not
isIdentical
Sessions