I am starting to deploy a JPA project to different servers, where the persistence destination is different, and need some advice. I currently have the persistence.xml correct and see the sun-resources.xml actually contains the pool and connection information for glassfish. If I comment out the pool and resources I can change the pool in the server and all is right with the world. My question is: Is this the best way to handle it, I remember that this is basically the way I did it on the last project I started with DB access though it was a few years ago. Anyway I am using NB and Glassfish and just wanted to make sure there wasn't a better JPA method of doing it.
---
Dru Devore
The best Christian community now online.
The Faith Haven
www.thefaithhaven.comCome join us, bookmark us, and enjoy!