[jboss-user] [Beginner's Corner] - Re: ClassNotFoundException using EJB in RESTfull Application

jaikiran pai do-not-reply at jboss.com
Tue Jan 17 08:03:04 EST 2012

jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: ClassNotFoundException using EJB in RESTfull Application"

To view the discussion, visit: https://community.jboss.org/message/647155#647155

> jaikiran pai wrote:
> I re-read your thread again and no where did you mention that the .war and the ejb jar are separate deployments. Or did I miss it? 
I guess that's what you meant by:
> I have a EJB project, which contains my entities and connecting to the database via hibernate.
> My second project is the dynamic web project containing the classes.
I didn't understand it to be 2 different deployments. 

So in this case, you'll have to package the business +interfaces+ (no need of the bean impl) of the beans in a jar in your .war/WEB-INF/lib folder.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120117/0c5475ef/attachment.html 

More information about the jboss-user mailing list