Hi Carl,
First of all, I apologize to reply so late, I was out of my office.
You effectively find a bug in the GenIC tool, but it is not really
as you think.
Indeed, the Remote and Home interfaces "must be" in the same package.
The implementation classes can be in an other package.
The following package structure
xxx.mybean.MyBeanRemote
xxx.mybean.MyBeanHome
xxx.mybean.impl.MyBeanEJB
is possible even through the bug.
Hope this help to turn around this bug.
(I will correct it).
H�l�ne.
Carl Desborough wrote:
>
> 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".
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PLEASE, TAKE INTO ACCOUNT MY NEW EMAIL
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
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".