Pieter,

I use Xdoclet and OSUser (www.opensymphony.com/osuser) and can get
'relatively' close to application server portability ;)

There's still:

- a lot of coding conventions you need to be aware of with the different CMP
engines (ie JBoss apparently can only persist primary keys, whereas Weblogic
and Orion CMP engines are smart enough to pull primary keys out of EJB
references for persistence)

- you almost always need to use EJB 1.1 (most servers support this, 2.0
support is still very patchy I've found).

- I'm not sure Xdoclet generates 'perfect' deployment descriptors for all
aspects of all servers yet. This will happen in time.

- OSUser doesn't have adapters and providers for all servers yet (at the
moment just Orion, JBoss and Resin - but again this will happen in time!)

<non-gratuitous-plug>
Anyone that uses Weblogic, Websphere or JRun and knows the security API well
- PLEASE contact me about writing a provider, it's very simple and might
enable you to get off those servers one day ;)
</plug>

Hope this helps - the problem we've found is that server vendors are very
careful about migration documentation as they don't 'really' want people to
write apps that they can pickup and deploy elsewhere ;)

This is a useful discussion though - I'd love to see other people's thoughts
and experiences on it.

-mike


On 18/1/02 11:44 AM, "Konstantin Priblouda" ([EMAIL PROTECTED]) penned
the words:

> 
>> 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?
> 
> There is subtask for weblogic, which would generate
> weblogic-specific descriptors for you.
> 
> ( it's even called <weblogic> AFAIK, though I'm using
> jboss only )
> 
> look at the docs.
> 
> regards,
> 
> =====
> Konstantin Priblouda ( ko5tik )    Freelance Software developer
> < http://www.pribluda.de > < play java games -> http://www.yook.de >
> < render charts online -> http://www.pribluda.de/povray/ >
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


Sent using the Entourage X Test Drive.


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to