[jboss-user] [EJB 3.0] - Re: (debian, eclipse) javax.naming.NameNotFoundException: Cus

Wolfgang Knauf do-not-reply at jboss.com
Tue Mar 3 07:49:16 EST 2009


Hi Olivier,

"Customer" is an entity bean?

Locate the "source.customer.Customer" class in the EAR file which is deployed to the server. It should contain either the class file, or a JAR containing the entity class should be located in "META-INF/lib" of your application client JAR (and the "Classpath" entry in "Manifest.mf" should reference it).

But as you use eclipse: why don't you add  the Entities to your EJB project? This is the easiest way to handle entity beans. Your application client project could reference the "EJB client JAR" instead of the full EJB jar.

Wolfgang

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

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



More information about the jboss-user mailing list