I am very new to EJB. Started with Session bean demo which was working fine. (created a jar file which had EJB and a WAR file which had servlet)
But face some issues when created MDB . (For that also created a JAR file which had EJB and a WAR file which had servlet)
I have used
in servlet and
in MDB. I hope that's fine.
I am using WildFly 8 application server in "standalone-full" mode.
But while deploying it I got some errors of missing dependencies. Trace of my application server log is as follows:
This example is taken from the EJB 3.1 Cookbook's 1st Chapter. I have searched on https://community.jboss.org/message/756775
but didnt get it. Have only used CDI annotations and no xml.
Removed few lines of code from the top which i guess was not necessary, to make it short.
Hope this question is in right thread.