I don't see how this can work since the handle isn't
used until after you obtain the initial context and
the initial context has the host & port of the jndi service.

So If I point the initial context at one machine then
how does the handle redirect me to another?

d.

-----Original Message-----
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 09, 2001 7:51 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] 420628 Handles "remember" their container.


yes

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Ferguson,
|Doug
|Sent: Wednesday, August 08, 2001 11:27 PM
|To: JBoss User (E-mail)
|Subject: [JBoss-user] 420628 Handles "remember" their container.
|
|
|I just saw the following comment in the 2.4 release notes.
|
|If I have 5 application servers and I obtain a handle from
|a bean in one of these does this mean that Handle is smart
|enough to get me to the right application server?
|
|***************************
|420628 Handles "remember" their container.
|The JRMP proxy and handle implementation has been updated to "remember"
|which container they came from. This allows clients to pass handles to VMs
|that do not have an explicit configuration for the initial context factory
|and provider url (as well as other environment properties) from which the
|bean originated. This should provide a better migration path from other EJB
|containers which provide this behavior. The issuing container reads the
|environment properties which are required to construct a new InitialContext
|object from a properties files specified by the system property:
|org.jboss.ejb.plugins.jrmp.interfaces.InitialContextHandle.environment The
|value of this property is currently assumed to be a URL or omitted to
|disable the feature. The default value for this property is currently being
|set to: file:../conf/default/handle-jndi.properties Which contains
|properties suitable for connecting to the default JNDI server configured to
|start with JBoss. If the port number which the Naming service is changed
|from the default, then this file should be updated to reflect the
|new value.
|If this property is omitted, then the old behavior will be used, which
|simply constructed a new InitialContext with no environment
|properties. This
|will assume that they are suitable system properties set to setup the
|context.
|
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to