[jboss-user] [EJB/JBoss] - Re: Sending an Object from client (Swing) to Sever Remote (E

jaikiran do-not-reply at jboss.com
Wed Oct 22 11:45:30 EDT 2008


anonymous wrote : ClassLoader cl = Thread.currentThread().getContextClassLoader();			
  | 			Class k = cl.loadClass("client.H");
  | 		
  | 			H  h = (H) k.newInstance();		

Instead of this, how about just instantiating a new object:

H h = new client.H(); 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183892#4183892

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183892



More information about the jboss-user mailing list