On Wed, 2003-02-19 at 16:09, Hani Suleiman wrote: > xdoclet generated home classes fail the j2ee verifier, this is due to > xdoclet generating JNDI_NAME and COMP_NAME in the home class. It'd be > nice if there were some setting whereby these names are not generated > in the home class, but in the util class (if utilobject is specified), > so xdoclet generated code could pass the verifier. Thoughts?
The same thing came up recently to do with the SunONE module and its verifier (see XDT-16), which is no great surprise really considering it's based on the RI. However, digging around a bit for that, I found in the Sun RMI FAQ at http://java.sun.com/products/jdk/1.2/docs/guide/rmi/faq.html#staticinit that you *are* allowed to have static fields in an RMI interface, so it ought to be okay for the home interface to contain these. Does anyone know of any other reason they wouldn't be allowed, or is it just a bug in the verifier(s)? Andrew. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
