The ejb samples have jboss and weblogic tags, samples work with both weblogic and jboss. Take a look at CustomerBean for example:

 

* @jboss:table-name "customer"

 * @jboss:create-table "true"

 * @jboss:remove-table "true"

 * @jboss:tuned-updates "true"

 * @jboss:read-only "true"

 * @jboss:time-out "100"

 *

 * @weblogic:table-name CUSTOMER

 * @weblogic:data-source-name xdoclet.database

 

And so on. And these files are generated:

 

samples\build\ejb\META-INF\jbosscmp-jdbc.xml

samples\build\ejb\META-INF\weblogic-cmp-rdbms-jar.xml

samples\build\ejb\META-INF\weblogic-ejb-jar.xml

samples\build\ejb\META-INF\jaws.xml

samples\build\ejb\META-INF\jboss.xml

 

For both jboss and weblogic. We later may provide a better multi-vendor support by standardizing some of the common tags, though it’s tricky.

 

Ara.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Pieter Van Gorp
Sent: Friday, January 18, 2002 7:53 PM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Is writing a completely portable J2EE app possible with xdoclet?

 

Hello,

 

I'd like to validate the claim that it 's possible to write completely portable J2EE applications with xDoclet.

 

Concerning the web tier, it's all relatively easy, but EJB is something else.  The main bottleneck is the necessity of vendor specific deployment descriptors.

 

I looked at the samples that come with xDoclet and was rather disappointed as they are written specifically for JBoss.  Tell me if I've missed something, that's only good news for me :)

 

So here's my concrete question: Has somebody tried this samples on another appserver, specifically on BEA WebLogic?

If not, does anybody have another working xDoclet sample that contains all necessary tags for both JBoss and WebLogic?

 

Any help is welcome,

thanks in advance,
Pieter.

Reply via email to