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
[
https://community.jboss.org/message/647155#647155]
Start a new discussion in Beginner's Corner at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]