The ExternalContext mbean service supports this. All it is doing it binding
a Reference to a Context from the external server. You could use it statically,
programmatically or just mimic its behavior. The class is 
org.jboss.naming.ExternalContext.

----- Original Message ----- 
From: "Alexander Kogan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 12:50 PM
Subject: Re: [JBoss-user] Using JMS resources (or other resources)


> [EMAIL PROTECTED] wrote:
> > 
> > 
> > Is it possible to contsruct some sort of factory that rules a complete
> > subcontext. An example: Suppose I want to send JMS messages from server
> > A to B. At A I would like to define a namspace like this:
> > java/serverB-jms I would then like to be able to lookup for example
> > java:/serverB-jms/topic/testTopic or
> > java:/serverB-jms/TopicConnectionFactory. But I do not want to have to
> > bind al those name into the A JNDI, only the java/serverB-jms. This name
> > should then somehow be bound to a factory that would lookup and returns
> > the objects from the remote machine.
> > 
> > Any thoughts any one?
> 
> Would "federation" help there?
> 
> -- 
> __________________________________________________
> Alexander Kogan  PTC   www.ptc.com
> [EMAIL PROTECTED]    140 Kendrick St. Needham MA 02494
> 
> _______________________________________________
> 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