Hi!
marc fleury wrote:
> great, how about 2 small things
>
> 1- why not put all the jars in one package? I had the ejboss-client.jar
> stuff it worked pretty well for most non-power users and you remember all
> the messages we had with that.... keep classpath craziness at a low if you
> can afford it
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.
Not tested though :-)
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com