Hi!

[EMAIL PROTECTED] wrote:
> 
> I looked for this post but could not find it...can you provide?

Here's a copy/paste:
------------
Well, the only thing you need to include in classpath, really, is
jboss-client.jar. HOWEVER, you need to *place* jnp-client.jar next to it
(i.e. in same directory), because it points to it through the Class-Path
manifest. 

Again:
* Put jboss-client.jar and jnp-client.jar in same dir
* Add jboss-client.jar to classpath
* Run :-)

> 2- please send me a page with the "power user" dynamic loading feature
> setting explained (3 lines is good!!! simple is good) I think this is a
> great feature and we need to advertise it.. what? no classes needed at ALL?
> I'll put on website

Well, here ya go:
Reference ref = new Reference("mybean.MyHome", new
StringRefAddr("URL","jnp://somehost/myapp/MyHome"),
"org.jnp.interfaces.jnp.jnpURLContextFactory","http://somehost:8081/");
MyHome home = (MyHome)NamingManager.getObjectInstance(ref, null, null,
null);

Something like that. This should make JNDI get the JNDI-implementation
from the jBoss server at somehost, and the rest should follow from that.
------------------

That's all. If you use the Reference trick then all of classes will be
loaded through RMI's dynamic classloading (if you have installed a
security manager).

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to