"Previously, Glenn R Kronschnabl said;"
> Hi,
>
> Are there any good (detailed) examples on how to incorporate 3rd party
> native libraries into the EJB layer? What I want to do is have a EJB call
> a legacy app, and I am unclear on how this is exactly done.
>
> Do I have to write a corba layer on top of the native part, then use
> an orb like omniOrb?
>
> Then, do I write a stateless session bean and defer the methods
> to the corba object?
>
> Will this work in all EJB containers? RI, WebLogic? Do I need
> WebLogic Enterprise? Are there any deployment issues? I assume
> the corba piece runs outside of the container, correct?
>
The EJB model for what you want to do is talked about in the
EJB spec. Essentially you write an entity bean which does
not map to a database, rather it acts as a wrapper for your
legacy application. You can think of the legacy application
as acting a bit like a database in the sense that it will
presumably be maintaining it's own data store and access
functions.
Depending on your legacy calling needs you can probably
write a bean managed persistance entity bean which has empty
load and store routines.
...michael
----
Michael Richmond
Information and Communication Sciences e-mail: [EMAIL PROTECTED]
Macquarie University, Australia phone: (+61 2) 9850 6346
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".