Hi!

Jay Walters wrote:
> I have spent quite a lot of time researching some of the tools for
> generating EJBs which are being worked on in the Open Source community, in
> preparation for my company's efforts to get access to a robust tool for this
> purpose.  One requirement of our solution is that we can drive it from a UML
> model expressed in XMI.  For the most part that makes a Javadoc based tool
> require an extra step, XMI -> Java -> Java, vs XMI -> Java if we use
> something like XSLT.  It is not yet clear whether we will open source our
> tool, though I believe we are commited to doing so.

I don't see a big problem (a small one, granted) with this if you use
the EJBDoclet with Ant. Simply run it on the XML-generated EJB source
before compilation, and it's dealt with.

> www.percolator.org - provides CMP entity beans, session facades,
> value holders and more for several app servers including jBoss, but you'll
> need to tweak the generated xml files since they wrote their templates
> before differential metadata.  Percolator uses a simple XML file format for
> input.

This is cool, but for me one of the main points of EJBDoclet is to keep
all info in one file, i.e. the bean source. Makes it very clean. If you
start with XML anyway this may not be a big point though.

Also, does this generate the actual bean? I personally prefer to
hand-code my beans, but don't mind generating the rest of the stuff.

> I am interested in hearing from anybody on the list who is also interested
> in working on an EJB generator as I expect for the most part that there is
> much in common in the templates used for code generation even if some people
> use Javadoc and some XML.

Yes, I would also be very interested in comments on what the actual
output templates should look like. The more good patterns I
automatically can put into the EJBDoclet (such as EJB 2.0 CMP get/set,
bulk data accessors, etc.) the better.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to