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.
Hello, I have a j2ee application that is first tested in test environment and then deployed in production environment. The application has jobs that are scheduled with Quartz and Spring framework. Can you please tell me what would be the best way to start scheduling jobs only in production environment?? Could I use an jndi variable set on the application server? could I use a better way? Thank you
Joined: Aug 14, 2009
I solved using a property file on the production server. I saved the file on a directory outside the application. I defined an Url Jndi resource on the application server and then I used the PropertyPlaceholderConfigurer to get properties: