I am trying to create a Java Web Application using Eclipse, and my Web Server is Weblogic-12c.
Since I'm new to Java EE technologies, I wanted to find out what kind of folder structure I need to create that follows industry practice and is easy to deploy.
I did a little research on this subject, and most of the oracle examples state to:
- Create a Web App Project (WAR)
- Cretae an EJB project (EJB jar) - for the business logic
- Create an Enterprice Project (EAR) - which ties the above two projects into one
However, I would like to avoid the EJB layer but still like to keep my business logic in a separate project. So what kind of project should I create in Eclipse that will hold my business logic classes?
Following are a few more questions:
I intend to use Spring 3.1 MVC. Should I include the Spring framework JARs under the WEB-INF folder, or should I add a reference in the project library?
If I want to add some library(JARs), which will be common to both projects, (Web-App & Business-Logic) where should I put these JARs?