My objective is to have my Entity Bean classes in a package structure like
the following:

  com.mycompany.server.model.* (where * represents various subpackaging of
the model).

I then want to generate my local and remote interfaces along with value
object and util classes in the following package structure:

  com.mycompany.common.model.* (where * represents various subpackaging of
the model).

I am familiar with the use of the packageSubstitution nested element in
ejbdoclet. My understanding is that it's use is limited to replacing package
endings. In other words, it can replace the package a.b.c.foo with
a.b.c.bar. It may even be able to replace a.b.c.foo with a.b.z.bar. I have
not tried that. Either way, it does not seem capable of repackaging in the
way that I want. If I am wrong in this, please let me know and tell me how I
can use it to get the desired package structure.

I have also noticed that the @ejb.interface tag provides me with a means of
repackaging the local and remote interfaces any way I like. So, for those
elements, I have a solution. However, I do not see anything similar for
explicit repackaging of the value objects and util classes.

Thanks for any help and clarification,
Joel Rives




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to