Hi! I would view this question in this way: Do you need the class when you compile? If the answer is positive, it would be quite sure that you would need it when you use it (during runtime) Just my 2cents Arion "Adrian Vicentiu Omusoru" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent by: cc: [EMAIL PROTECTED] Subject: [JBoss-user] Does it really needed the interfaces of the eforge.net EJBHome and EJBObject subclasses to exist on the client side? 2001/05/15 02:48 AM Please respond to jboss-user Hi! In order to work with an ejb component, does it really needed the interfaces of the EJBHome and EJBObject subclasses to exist on the client side? Or these interfaces can be dinamically loaded from the server side! How? Because I get the following exception when I try to get the home interface from the context: The code is: ctx.lookup("MachInetAddr"); The exception is: javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: edu.ac.licenta.grigoras.MachInetAddrHome at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:195) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:183) at java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:982) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.rmi.MarshalledObject.get(MarshalledObject.java:138) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279) at javax.naming.InitialContext.lookup(InitialContext.java:350) at FirstBeanClient.main(MachInetAddrClient.java:57) I just wait for your response. Adisor. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user