What do people do when they want to use their business objects in both EJB
environments *and* standalone environments?

You only want to write your business objects once. Then reuse them everywhere.
In the networked environment, we say write your business objects in the EJB
framework and be done with it. Use Home interfaces, ejbStore(), and the whole
nine yards.

What about when a standalone application needs to use these business objects?
What do people do?

What I've come up with so far is to use an "embedded" EJB server for the
standalone situation. The only EJB server I know of that fits this bill is
Ejipt. So, in the standalone case, the application and the EJB server are
started in the same JVM. The standalone app communicates with the EJB server
just as it would in the remote case.

This would enable business objects to be used in both environments.

Is anyone one approaching this using a different technique?

thanks,
david

--
David Sims               [EMAIL PROTECTED]
Sims Computing, Inc.     www.simscomputing.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".

Reply via email to