Currently XDoclet does not have any GUI tool or IDE plugin/support.
A set of live templates for IntelliJ's IDEA development environment is provided. Copy xdoclet.xml file to $idea$/config/templates folder. Here are the live templates:
| Inside class comments |
| ejb:cmp, ejb:bmp, ejb:sfsb, ejb:ssb, ejb:mdb, ejb:ejb-ref, ejb:env, ejb:finder, ejb:perm |
| Inside both class and method comment |
| ejb:sec, ejb:trans |
| Inside class body |
| ejb:intf, ejb:lintf, ejb:rintf, ejb:create, ejb:pf, ejb:pfg, ejb:pk |
For example:
/**
* |
*/
public abstract class MyStatelessSessionBean extends javax.ejb.SessionBean
{
}
And type ejb:slsb and hit tab, you'll get:
/**
* @ejb:bean type="Stateless"
* name="MyStatelessSessionBean"
* jndi-name="ejb/MyStatelessSessionBean"
*/
public abstract class MyStatelessSessionBean extends javax.ejb.SessionBean
{
}
Have fun!