In my opinion the deployment target should be UNIQUE for all the vendors.
Generally it is also a good strategy pattern to define a unique method which
could accomplish different behaviours depending on the implementing class.
So an @ejb-xxx tag should be the same for Jboss, Bea and so on. On the other
hand, it should be up to the Xdoclet developer to implement the right
functionality upon a unique method, as they decided to give support for some
vendors. I think when a developer decides to bind its product with others,
it should take care of the implications that doing that involve.

Just my 2 cents.

Marco



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Rupp,Heiko
Sent: Tuesday, February 18, 2003 11:25 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [Xdoclet-user] New Misssion [Was: Packaging XDoclet in One
Jar?]


Hi,

> From: Ben Litchfield [mailto:[EMAIL PROTECTED]]

> I disagree with your statements.  I think the tag parameters
> should match
> the deployment descriptor of the vendor.  Not all vendors support each
> others tags, if this was the case then I would agree with 
> you.  Having the

On the other hand, the task of Xdoclet is to abstract from the 
underlying technology. It does this already when implementing ejbCreate()
for you or providing CMP PK classes and so on.

This could even lead to abstract it more

@ejb.ejb-external-reference
        jndi-name=xxx
        ejb-ref=xxx
        server="jboss"
        server="bea"

Or leave the server attribute out and include the reference in all
deployment descriptors for which a subtask in the ejbdoclet task exists.

  Heiko
-- 
Bancotec GmbH      EMail: [EMAIL PROTECTED]
Calwer Str. 33     Telefon: +49 711 222 992 900
D-70173 Stuttgart  Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to