• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ejbCreate() in Statefull Session Beans - Doubt

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can any body tell me how many ejbCreate() methods may be defined for Statefull Session Beans. Ed Roman in his 3rd Ed. says that "You can only define only a single empty ejbCreate() method with no parameters".

I need some clarification. Please stir this post.

-Swapan
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stateless session beans should have only one ejbCreate() without any parameters.

Statefull session beans can have one or more ejbCreate() methods.

Thanks,
Guru
 
Swapan Mazumdar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Gurumurthy Ramamurthy:
...Statefull session beans can have one or more ejbCreate() methods.


Yeah sure! I just realized that there are some typographic problems in Ed Roman's 3rd Ed. EJB book at page no 89. Headings have interchanged wrongly.

But thanks Guru...
reply
    Bookmark Topic Watch Topic
  • New Topic