This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session objects from XDoclet

 
Jon Bricker
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic