April 20, 2004

SGen and XDoclet

Robert posted an interesting write-up comparing XDoclet and SGen.  I'd like to correct two errors he made (Robert, I tried to find an email address for you but couldn't...).

  1. XDoclet didn't start as EJBGen.  I don't remember what Rickard's original name was, but it wasn't EJBGen.  I came up with EJBGen on my own, and the two tools have absolutely nothing in common.
     
  2. In his presentation, Robert writes about SGen:
    Designed to replace XDoclet use within BEA
    We don't use XDoclet at all inside BEA.  We have our own engine and parser (based on a Java compiler called Javelin), so SGen was certainly not created to replace XDoclet internally.

Finally, I haven't studied XDoclet 2 at all so I can't comment on the similarities that Robert sees between SGen and XDoclet 2.  SGen is simply what EJBGen has been using for a long time internally and recent requests from users to make EJBGen extensible prompted me to factor out the annotation part from EJBGen.  Thus SGen was born.

Robert, feel free to email me if you have specific questions or suggestions for SGen, I'll gladly help.

 

Posted by cedric at April 20, 2004 01:06 PM
Comments

XDoclet used to be called EJBDoclet.

Posted by: Bob Lee at April 20, 2004 04:07 PM

I wrote the presentation in a hurry, so I'm not surprised I got some details wrong. I'll update it tonight when I get home.

As for BEA using XDoclet, there's articles on Dev2Dev about it, and it looked from _that_ that you guys use it for your own app development. I'll correct that reference.

Posted by: Robert Watkins at April 20, 2004 07:45 PM

I wrote the presentation in a hurry, so I'm not surprised I got some details wrong. I'll update it tonight when I get home.

As for BEA using XDoclet, there's articles on Dev2Dev about it, and it looked from _that_ that you guys use it for your own app development. I'll correct that reference.

In terms of what I would like? A good set of command line examples, so I can run the tool over a group of files instead of one. Mind you, I can probably figure that out when source becomes available, anyway.

This wasn't a long play; it was more like the 10 minute test. I didn't expect to solve all my problems with it.

Posted by: at April 20, 2004 07:57 PM

Whats the current status of s-gen? I current available download from the middle of '04 doesn't compile out of the box ( wrong imports and two changed methods ) and doesn't include the sgen-1.5.jar ( or source ).

We're looking to move to 1.5 finally and hitting the "xdoclet doesn't understand generics or annotations" problem. S-gen looks nice, and whilst it doesn't (currently) appear to have any plugins for Spring, Hibernate, Struts etc. etc. etc. it doesn't look like it would be terrible hard to start some....

I note the mailing list link doesn't work either anymore...

Mark

Posted by: Mark Derricutt at April 5, 2005 02:53 AM
Post a comment






Remember personal info?