Hi Halas,

Since JOnAS version 2.0.3, the generated classes are re-architectured
and renamed.

Before version 2.0.3, the generated classes names depend on the
names of the enterprise bean class, the enterprise bean remote interface
and the enterprise bean home interface.
Since the version 2.0.3, the generated classes names depend on the
name of the enterprise bean defined in the XML deployment descriptor.
(<ejb-name> tag).

Your problem will be solved if you use a version >= 2.0.3

Kind regards.
Hélène.

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

-- 
-=- 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".

Reply via email to