Hey
> Ron Yust wrote:
> I'm setting up an EJB client application that would support different
> EJB servers. I've discovered that the clients could have different
> methods for obtaining a JNDI context for each server depending on the
> EJB vendor. Doesn't this decrease the portability of EJB if I have to
> modify client code for each installation? I was hoping that it would
> be as simple as coding Context.INITIAL_CONTEXT_FACTORY and
> Context.PROVIDER_URL properties for each vendor (which could be
> supplied as client startup properties) and then obtaining a
> InitialContext.
>
> Am I missing something? Has anyone gotten around this and developed a
> generic way for clients to obtain the server context? Thanks.
That should indeed work with all servers. What other ways have you
found?
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".