If I have a spec for a project that will use Spring/Hibernate with no actual web-based user interface, is it still advisable to set it up as a web application?
What if I also needed to use JMS in this application?
And then later Web Services?
Also, some co-workers are pushing for it to be deployed as an EAR file simply because the name suggests enterprise application. We dont have any plans to add additional modules at this point though – no EJBs or separate Web modules.
But then the question is how do I deploy this app to the web application server (WebLogic 10). If I setup my project as a web application, it could be one war file – pretty simple right?
Or if I go with an EAR archive it would be an ear with I suppose my project setup as a regular “Java Project” and deployed as a jar inside my ear file.
So what would you suggest? I really want to make it right so I dont face much arguments and I do want to remain flexible for future.