- Servlet : 3.1.0
- jsp 2.3
- EJB Lite 3.2
- JSF 2.2
- jax rs 2.0
- web socket 1.0
- EL 3.0
- JSTL 1.2
- JPA 2.1
- JSonp 1.0
- Jdbc 4.1
- Jndi 1.0
- junit Test : 4.0
- Hibernate 5
- src/main/java
(Java Files)
- src/main/webapp
(Static Assets & Jsp Pages)
- src/test/java
(Java Test Files)
- src/main/webapp/WEB-INF/web.xml
(Servlet Mapper / Deployment discriptor)
- src/main/webapp/
(jsp views)
- src/main/java/com/sigma/jee7/controller
(Java Restfull api)
- src/main/java/com/sigma/model/
(Models Classes)
- pom.xml
(Maven Project Object Model)
- mnvw
(Maven Wrapper)
- run
(To Start build war, Start server & Deploy war file to server)
Note(Configure your server in pom.xml & Run file)
Maven Cheat Sheet
(mvnw recommanded instead mvn)
commands | task |
---|---|
mvn clean | clear the compiled & build files . |
mvn clean package | build new deployable war file for web server. |
mvn clean install | install the war file to local repository. |
mvn compile | Compile java files to class files. |
mvn deploy | deploy the war to configured server |
mvn test | For Testing fire |
Visit maven central For More Dependancy mvn central
Java EE 7 API Docs from Oracle Java EE 7 Docs
Junit 4 Docs Junit 4 Docs
Docs Manual Java EE 7
Jersey jax-rs
Hibernate Hibernate 5 javadocs
java -jar /target/standalone.jar -httpPort=8080
- Open Web Browser http://localhost:8080/standalone/
- git clone https://github.com/sigmadevs/JEE7
- Build the deployable war file with
mvnw clean package
- Get war file from folder /target/{myprojectname.war}
- deploy war to server
- Open in browser http://localhost:8080
Gitpod Environment
Continuous Integration
(Travis & Jenkins )
Check out Travis CI Status
Note * Its recommendation to Use Web Server to Run & Deploy
(Standalone Server Tomcat 7 is under developement)