Skip to content
/ JEE7 Public template

Java Enterprise Edition 7 Application

Notifications You must be signed in to change notification settings

sigmadevs/JEE7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Enterprice

build passing

JEE7 - A Java Enterprice Edition 7 With Maven Support & junit Testing starter


JEE 7 Enterprice components specification

  • 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

Universal Maven Based Directory Structure

  • 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


To Run Standalone

  1. java -jar /target/standalone.jar -httpPort=8080
  2. Open Web Browser http://localhost:8080/standalone/

Getting Started

  1. git clone https://github.com/sigmadevs/JEE7
  2. Build the deployable war file with mvnw clean package
  3. Get war file from folder /target/{myprojectname.war}
  4. deploy war to server
  5. Open in browser http://localhost:8080

Gitpod Environment

START DEVELOPEMENT


Continuous Integration (Travis & Jenkins )

Check out Travis CI Status

build passing

Note * Its recommendation to Use Web Server to Run & Deploy (Standalone Server Tomcat 7 is under developement)