Older versions of GenIC used to create very long generated class names which
included the name of the bean.  It was something like:

JOnAS<nam of bean><name of interface>Home.class

Which I think would solve your problem.

At some point this was changed, but maybe it could be brought back?

John

"Halas, Miroslav" wrote:

> I have question about EJB wrapper generation in Jonas 2.0
> I have component using a bean aqp.beans.report.ReportBean with all its Jonas
> XML files in aqp.beans.report package.All the wrappers are generated into
> this package. This beans is stored into database table T_REPORT. I want to
> create new component reusing the existing classes. Therefore in package
> aqp.beans.dashboard I defined new set of Jonas XML deployment descriptors
> which reference/reuse the classes from aqp.beans.report but give them a
> different JNDI/EJB names and stores them into different database tables
> (T_DASHBOARD). When I generate the Jonas wrappers only one set of wrappers
> get generated for both components. THe name of the wrappers corespond to the
> name of the class (not the JNDI/EJB name). These wrappers have the database
> tables hardcoded in the code and are reused by both components therefore if
> I generate Dashboard component first and Report second, both, dashboards and
> reports will be saved into T_REPORT table. Is this a bug in Jonas? Was it
> already fixed with changes in GenIC for newer versions of Jonas? Is there a
> fix available for JOnas 2.0 as well? I suspect it was already fixed but
> still, I rather ask 8-). Thanks a lot,
>
> Miro Halas
>
> Miroslav Halas
> Software Engineer
> Compuware Corp.
> 15305 Dallas Parkway
> Suite 900
> Addison, TX 75001
> phone 9720-960-0960 x 1333
> fax 972-960-8489
>
> ----
> 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".

----
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