Request: IDEA EJB 3.0 Configuration Flash Demo Follow
I have read the "The Java EE 5 Tutorial" (http://java.sun.com/javaee/5/docs/tutorial/doc/index.html) and tried out the examples but without any success.
It seems that IDEA itself is aware of EJB 3.0, annotations, etc.
When I create a new IDEA project, attach JBoss 4.0.5 GA and copy some of the above examples, they do not appear to work in IDEA. To me it looks like a configuration issue (what am I doing wrong?) rather than any IDEA- or Sun- related problems.
As I would like to recommend a IDEA EJB 3.0 Configuration Flash Demo I would very much appreciate to get educated.
Attachment(s):
project.gif
Please sign in to leave a comment.
Could you please give some more details about what exactly doesn't work?
For the project-structure please refer to my first post (cf. Attachment)
My EAR file looks like this:
CONFIG:
IDEA does handle the files application.xml and persistence.xml.
At the moment, I do not yet handle web.xml.
I just deal with JSP and jbosscmp-jdbc.xml
SERVER:
When I start JBoss, the following appears on the console
There is no LOG-statement about any EjbModule or any SessionContainer in the console.
When I try to lookup an EJB in the JMX-console I cannot find it.
CLIENT:
When I start my client the following exception is raised:
WEB:
I have added a dependency in the WEB module settings to import the session-bean interface.
When I try to lookup this session-bean, it already fails during the make process (cf. attachment).
Attachment(s):
make.gif
Just to exclude the most obvious: did you install the (non-certified) EJB3 preview version of JBoss 4.0.5?
I checked the availability and the version of JBoss several times.
But I read over this phrase:
I have downloaded the ZIP package :D
Back to the drawing board!
Ok... I have installed JBoss and have configured it to EJB3.
Ejb3Deployment startes, but Hibernate blocks:
Why looks Hibernate to D:/Data/bin/jboss-4.0.5.GA/bin/MyEjb.jar?
Works now! I had to modify the <jar-file> tag to a relative URL.
persistence.xml
LOG-File