Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

parameter to use in stateful session bean

 
ajay verma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic