Sick of working with all of those different Java files and deployment
descriptors when developing EJBs for WebLogic Server? A couple of tools out
there allow you to work with just the bean code, and use special Javadoc
comments to define what should be in the other interfaces (Home, Remote), and
the XML deployment descriptors (ejb-jar.xml, weblogic-ejb-jar.xml). After
using these tools, you quickly realize how clean it is to just have one Java
source file representing your EJB.
Introducing EJBGen
In this article we'll look at a tool for generating WebLogic 6.1-compatible
EJBs, EJBGen, that was developed by Cedric Beust, a BEA WebLogic architect
(www.beust.com/cedric/ejbgen). It can easily be added to your WebLogic build
process and is IDE neutral - you just add Javadoc tags in your bean class.
Unfortunately, the tool is closed source, since it was developed solely by... (more)