Lou,
I'm not a CORBA expert either, but my understanding is that the biggest
hurdle to CORBA-EJB direct integration (i.e. CORBA directly invoking EJBs)
is the requirement for CORBA to have pass-by-value. This comes with CORBA
3.0, but I'm not sure which vendors are supporting this yet - we are
planning to support it in our 5.0 release this year. I have customers that
have written CORBA services that call their EJBs. I have other customers
that have a common domain model that is interfaced by both CORBA and EJBs
concurrently and transactionally. The former is vender neutral, the later
more performant and easier to write.
IMHO -
When to use CORBA:
- long term, 'persistent' connections between two servers
- whenever threads must be spawned to handle requests asynchronously
- highly coupled, custom integrations
- whenever non-Java clients are involved
When to use EJB:
- client based, 'transient' connecitons between client and server
- when service is expected to be re-used by multiple applications
- when you have less or no control over the client code
Hope this helps.
Dave
David Brown
Technical Director, Western Operations
GemStone Systems, Inc.
(760)510-2754
[EMAIL PROTECTED]
www.gemstone.com
-----Original Message-----
From: Lou Bona [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 29, 2000 10:26 PM
To: [EMAIL PROTECTED]
Subject: need advice on CORBA/EJB interaction
hi,
I'm currently re-architecting our system to reflect a change in our
business plan. The new plan calls for several new services to be
offered, and some seem as though they might be better implemented using
CORBA rather than EJBs. There's also the potential that we might want to
integrate with 3rd party CORBA services, so I can't just dismiss the
notion out of hand. The current system is pure EJB, recently ported form
1.0 to 1.1. I intend that for the most part the system stay EJB, but I
want to keep an open mind. I could use some advice in 2 areas:
1) Are there any good "rules of thumb" as to when CORBA might be more
appropriate than EJBs? Is it ever?
2) Are there any good references (books, sites, magazines, etc.) that
discuss how to integrate the 2? Hopefully in a vendor neutral way.
It's been about two years since I've worked with CORBA, and I'm a little
rusty, so any pointers in the right direction would be appreciated.
thanks,
Lou Bona
Chief Software Architect
AgentGo.com
===========================================================================
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".
===========================================================================
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".