Finally, EJBDoclet v1.0 is out! And it's a big improvment over v0.95. You can download it from http://sourceforge.net/projects/ejbdoclet. Version 1.0 offers: - A new Ant task and a set of sub-task for various EJB-related jobs (generating data objects, remote interface, home interface, primary key class, BMP/CMP beans, deployment descriptor), much more manageable and configurable - New tags for different jobs, gives you freedom to design your EJBs the way you want - Everything based on templates with powerful XML-ish JSP-like tags - Merging capabilities, you can merge files and templates - Support for BEA Weblogic, JBoss and Orion application servers EJBDoclet is based on these parts: - The Apache Ant task: <ejbdoclet/> is the Ant task. In your build.xml file, define it before the target that compiles the code. - The nested elements to <ejbdoclet/>: This is where you specify exactly which sub-tasks are performed over your EJBeans. Examples are <remoteinterface/> and <jboss/>. Each sub-task is separately configurable. - The template files: Sub-task generate output based on template files. Template may be any text file with some XML-ish <EJBDoclet:XYZ/> elements in it. Templates are like JSP files, <EJBDoclet:XYZ/> are like JSP tags, the actual implementation is in sub-task classes and a base class where the common tags are defined. - The special JavaDoc tags: using some special JavaDoc tags, settings are defined for each EJB component. These tags are declared in the EJBean implementation class. For example putting a @ejb:ejb-name bank/Account in AccountBean lets the <deploymentdescriptor/> sub-task know that the ejb-name is bank/Account. - The merge system: To avoid lots of silly tags, EJBDoclet also lets you utilize a merge system. For example instead of putting @jboss:table-name account in your EJBean source code, you can define a jaws-db-settings-Account.xml file where the content is the actual XML that <jboss/> sub-task will merge into the generated jaws.xml file. With the new architecture, supporting new app servers, or adding new tags for new tasks is truely easy. Contributions are welcome. Have fun! The EJBDoclet team. =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
