The project has an EJB module & a web module. Changing the server is easy, but I\'d like to switch to EJB 3.1 also but I believe I need to change all kind of configurati
Apparently it's not that complicated. It worked for me by modifying the following files:
/nbproject/project.properties
change the following lines:
j2ee.platform=1.5
javac.source=1.5
javac.target=1.5
to
j2ee.platform=1.6
javac.source=1.6
javac.target=1.6
Repeat the same for:
/-ejb/nbproject/project.properties
/-war/nbproject/project.properties
In ejb-jar.xml change the line:
to
Next, find persistence.xml and change this line:
to