In a project I have put together, I need set up some JMS queues in order to run my integration tests.
Where is best to store my scripts to set the environment up?
I have a parent project, and typical modules like EAR and WAR modules.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
More than likely your JMS queues are defined in the application’s EAR file. If so, the EAR module would be the best place to store the creation scripts for testing. Now exactly where to store them in the module (or project if you so choose) is really up to you. But the folks over at Apache Maven do give some guidelines for standard directory layout here.
According to that page and the fact that this is for testing, the best place should be src/test/resources.