Design error in J2EE xdoclet preference pages? [message #123211] |
Tue, 19 July 2005 17:56 |
Eclipse User |
|
|
|
Hi,
I am curious about the following design. If my understanding is correct
(which I do not hope), there is an important point to improve. (I refer to
0.7RC1)
In window -> preferences -> J2EE Annotations -> XDoclet -> ejbdoclet /
webdoclet one can set preferences. There are select options which contain
some numbers. As far as I understand, the selected numbers determine the
content of the server specific files generated.
Example: under ejbdoclet I check JOnAS and select a number N.M. Then, if I
define a Session Bean, xdoclet generated the file jonas-ejb-jar.xml which
references jonas-ejb-jar_N_M.dtd with the same N and M I selected under
ejbdoclet before.
As far as I understand the code, the numbers I can select in the select
option are hardcoded into the class XDocletEJBPreferencePage.java.
This is bad, as I am trying to configure a server definition for JOnAS
4.3.1. If my understanding is right, this is not possible without changing
the code. By the way, JOnAS 4.3.1 is up to jonas-ejb-jar_4_3.xsd while the
current JST stops at 3.0.
Therefore, I have the following questions:
(1) Is my understanding correct?
(2) If yes, when will the design be changed so that I can configure server
support for jonas 4.3.1 (or any other) without changing code?
(3) If not (what I hope), I would very much appreciate a tutorial about how
one can configure a server with a higher version number than currently
supported by JST. In addition I would be happy to get an explanation about
what the selected numbers mean.
And what do I have to configure? Currently I know about the xdoclet
configuration just mentioned and the server definition files. Is there
anything else?
Thanks in advance
Andreas Schenk
|
|
|
Powered by
FUDForum. Page generated in 0.03594 seconds