I have found what appears to be a bug in Jonas. It seems to require
the home and remote interface and the implementation class for an
EJB to all be in the same package. I tired using a package structure
of:

   xxx.mybean.MyBeanRemote;
   xxx.mybean.impl.MyBeanHome;
   xxx.mybean.impl.MyBeanEJB;

and the GenIC tool was unable to compile the autogenerated interposition
classes.

Specifically, it generated an extra .java file for the home interface in
"classes/xxx/mybean/impl" that looked for another autogenerated .java file
in the same directory, but the file had been autogenerated in
"classes/xxx/mybean/" instead.

The obvious workaround for this is to put the home, remote and ejb
components of the enterprise bean in the same package ... but it also
seems like it should be possible to use the package structure that i
wanted to use.

The ejb-jar.xml file knows the package structure, but this information
doesnt seem to get used in GenIC.

Any thoughts or advice would be appreciated,


Carl Desborough.

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to