Your project is using EJB 2.x and EJB 2.x are pretty verbose. For each EJB, you have to write a Bean implementation, a Remote
interface, a Home
interface and to maintain entries in the ejb-jar.xml
deployment descriptor, etc. That's a lot of stuff, with some redundancies, and it is not easy to maintain.
And that's where XDoclet come into the picture. XDoclet is a code generation engine that originated for creating EJBs (to ease the development). XDoclet parses meta-data that you add to your Java sources using special JavaDoc tag and generates XML descriptors and/or source code from it.
So basically, the idea was to provide the Bean implementation only, to add the special @ejb
JavaDoc comments, and to generate the rest from it. And the generation itself was probably done using Ant and the <ejbdoclet .. />
Ant task (or maybe Maven but the idea is similar).
So don't expect to find a special menu entry in IntelliJ, I don't think IntelliJ provide anything special for XDoclet. Instead, look for a build.xml
(an Ant build script) or maybe a Maven script and see if you can get those file generated at build time, this is just how it's supposed to be used.
Then, mimic what is already done for an existing bean - look at the bean implementation - to add your new CMP Entity Bean. And I sincerely wish you good luck because your project looks dusty... I thought nobody was using EJB 2.x Entity Beans anymore.