Two Laptop Bag
The moose likes Ant, Maven and Other Build Tools and the fly likes Session objects from XDoclet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Session objects from XDoclet" Watch "Session objects from XDoclet" New topic

Session objects from XDoclet

Jon Bricker

Joined: Feb 28, 2003
Posts: 23
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?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17423

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Session objects from XDoclet
It's not a secret anymore!