All,
I have created a Javadoc plugin (called EJBDoclet) that can be used to
generate EJB-related classes and files. The only thing you need to
create manually is the source for the bean itself. By adding special
tags to the source documentation you allow the EJBDoclet to generate all
the other files for you.
These are the files that are created for you (in this first version at
least):
* Remote interface
* Home interface
* Primary key class (EntityBeans only)
* Entity CMP layer (CMP EntityBeans only)
* Data object class (CMP EntityBeans only)
* ejb-jar.xml for the entire applications (including ejb-references
between beans, environment entries, etc.)
The package comes with installation notes, descriptions of the new tags,
and a complete example (the AccountBean from the jbosstest module). The
EJBDoclet can of course be used with the Ant build tool to automatically
generate the files before normal compilation. This makes creating EJB's
very effort-less since there is only one source-file to bother with.
If you have any suggestions for more tags or comments on the generated
source, let me know.
Download now from:
http://dreambean.com/download/EJBDoclet-0.1.zip
regards,
Rickard
ps. This has only been tested with the beans in the jbosstest module, so
you expect to find some bugs. BMP EntityBeans are not supported right
now for example. Overall, it should be rather useful however.
--
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]