I agree that standardizing some of the tags would be very beneficial. I'm starting work on Borland App Server support, and I now can say that 90% of the tags found in Orion, Jboss, Borland, Weblogic, and Weblogic can be combined together in the form of standard tags (table name, column name). This was done with JNDI name, so I think it should be extended.
Also, I'd like to see a "generic" task that just takes a template name and filename for the output. This would allow for me to make my BAS template a lot easier. Right now I need to create the ant task in the source, then work on my template. Just a thought :) -Pat >From: "Ara Abrahamian" To: "'Pieter Van Gorp'" , Subject: RE: >[Xdoclet-user] Is writing a completely portable J2EE app possible with >xdoclet? Date: Fri, 18 Jan 2002 23:03:23 +0330 > >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, > >Based on the tread >http://www.theserverside.com/discussion/thread.jsp?thread_id=11051, 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. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
