It's not a secret anymore!*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Session objects from XDoclet" Watch "Session objects from XDoclet" New topic
Author

Session objects from XDoclet

Jon Bricker
Greenhorn

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?

thanks.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Session objects from XDoclet
 
Similar Threads
XDoclet session facade generation
Session objects from XDoclet
Whats the need for the "ejb-ref" & "ejb-local-ref"?
Does XDoclet generate a "default" deployment descriptor?
[PLS URGENT]