• 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

Session objects from XDoclet

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm an old hat with J2EE but new to XDoclet. When running XDoclet in my IDE it generated Session Objects which are concrete implemtations of my Stateless EJBs ( the interface methods - ejbActivate, ejbPassivate, ect).

I was wondering how these are used. Are they just generated so the developer does not have to write the code or do they need to be instancated when I use the EJBs?

thanks.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They're generated so you don't have to write (and maintain) the code. The idea is that instead of manually creating and maintaining about 5 classes which have to be kept carefully synchronized, XDoclet can create the other classes by looking at how the bean implementation is laid out - with a little assistance from the info in the XDoclet EJB JSP tags.
 
reply
    Bookmark Topic Watch Topic
  • New Topic