Accessing EJB through a client

Hello I have created an EJB project and a client to access this EJB.

I am using Eclipse SDK 3.2.2 and Weblogic 9.2

In my client I have the code

Properties prop = new Properties();

prop.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");

prop.put(Context.PROVIDER_URL,"t3://localhost:7001" );

InitialContext ctx = new InitialContext(prop);

Object obj = ctx.lookup("VIIC");

System.out.println("After getting EJB name"+obj);

VIICHome h = (VIICHome)PortableRemoteObject.narrow(obj,VIICHome.class);

When the last line is executed I get the following error-

java.lang.NoClassDefFoundError: sessionbean.VIICHome

[710 byte] By [araoa] at [2007-11-27 7:35:47]
# 1
check out this exemple... http://forum.java.sun.com/thread.jspa?threadID=691330&messageID=4019125I hope it will help :)Regards
Douillya at 2007-7-12 19:16:24 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...