javagenericsejbxdoclet

Is there a substitute for xdoclet that supports generics?


I have an old EJB (2.1) project that uses xdoclet (1.2.3) to generate the EJB interfaces. Unfortunately xdoclet makes it impossible to use generics in the method signatures.

Is there a substitute or other way to to allow generics in the parameters?

Here is the minimum type of generics use I'm looking for:

 public Object ejbMethod(Collection<String> param) { return null;}

Of course the more the better.


Solution

  • You might want to check XDT-1581, it has an (unreleased) patch for support of generics in the xdoclet EJB module. I didn't test it though.

    PS: AFAIK, XDoclet 2 (which has an Ejb plugin) has support for generics.