This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a .ear file along with a ds.xml file. This application is running fine at the moment in JBoss version 4. I'm trying to migrate it to version 7. I have had a few issues like it being unable to find some jar files. Now, it gives me a few errors. Before mentioning the errors, I would like to ask? Should I expect the application to run correctly without any changes on the code? I mean, after configuring everything correctly, the application should run no matter its source code? Or maybe I'll have to change something on source code too?
That depends on the application, the assumptions made in the application, the configuration files that accompany the application, etc. Note that configuring AS 7 is very different from configuring AS 4. Also, exactly which version of AS 4? The 4.0.x version are very different from the 4.2.x versions. Also note that 4.2.x contains a preview version of EJB3 and it has changed since then, so if you have EJB3 then you might need to change a few things (if I recall correctly, the annotations all moved to a different package).
Shoule I expect it to work in JBoss 7.1? If so, where do I put the configuration related to the unit called "Institucional"?
Joined: Jul 03, 2009
Also,I have added a module for the sql server driver and configured it in the standalone.xml file as a datasource. My application can't seem to see it. Do you guys have some suggestions or material I can look at?