A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
dynamic class loading
Joined: Sep 23, 2005
Apr 17, 2006 09:09:00
i have war (in this
class trying to look up
business method that is in ear deployed in node2 instance) deployed in jboss/node1 instance..
ear deployed in jboss/node2 instance..
in theWAR i have added only home and remote interfaces in WEB/classes at client side .(Do i need other custom classes which are using by EJB in WAR);
how do i enable dynamic class loading at client side;i am using jboss-4.0.2;if i enable dynamic class loading do i still need to drop home and remote interfaces and custom classes at client side.
in run.bat at client side.. what steps shouild i take to enable dynamic class loading to look up classses at server side.
set JBOSS_CLASSPATH=C:/jboss-4.0.2/client/jbossall-client.jar -Djava.security.manager=java.rmi.RMISecurityManager
Hashtable contextProperty = new
context = new
DocumentSessionHome home = (DocumentSessionHome)context.lookup("DocumentSessionBean");
DocumentSession doc =(DocumentSession)home.create();
Joined: Apr 14, 2004
Apr 18, 2006 02:52:00
. Since you've already got an answer over there I'll close this post.
rocket mass heater
subject: dynamic class loading
How to get Remote and Home classes imports in Client Code
long post IBM.158
Packaging and Class Loaders
Reference to component or home interface in session facade? Which one is better?
unable to lookup remote EJB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015