# Java EE 7 - Angular - Sample Application #

## How to run ? ##

* You need JDK 7 or higher, Maven 3 and Wildfly 8 to run the application.

* Build the code using Maven with the command: `mvn clean install`.

* Copy the file javaee7-angular-3.1.war from target directory to your Wildfly installation folder /standalone/deployments

* Start Wildfly and go to http://localhost:8080/javaee7-angular-3.1/

## Javascript Package Management (optional) ##

* The required JS libraries are included in the project, but it also possible to manage them with the next steps.

* You need NPM. Please go to http://nodejs.org/download/ to get a copy.

* Once NPM is installed run the command `npm install`.

* Install Grunt `npm install -g grunt-cli`  for more information please go to http://gruntjs.com/getting-started.

* Run the command 'grunt' to download all the web dependencies and build an optimized version of the project.

# Java EE 7 - Angular - Sample Application #

## How to run ? ##

* You need JDK 7 or higher, Maven 3 and Wildfly 8 or Glassfish 4.1 to run the application.

* Build the code using Maven with the command: `mvn clean install`.

* ## Deploy in the Wildfly 8 ##

  * Copy the file javaee7-angular-3.2.war from target directory to your Wildfly installation folder /standalone/deployments

  * Start Wildfly 8 and go to http://localhost:8080/javaee7-angular-3.2/

* ## Deploy in the Glassfish 4.1 ##

  * Open Admin Console (http://localhost:8484/)
  
  * Go to menu "Application" 
  
  * In the button "Deploy..." select the file javaee7-angular-3.2.war
   
  * Go to http://localhost:8080/javaee7-angular-3.2/

## Javascript Package Management (optional) ##

* The required JS libraries are included in the project, but it also possible to manage them with the next steps.

* You need NPM. Please go to http://nodejs.org/download/ to get a copy.

* Once NPM is installed run the command `npm install`.

* Install Grunt `npm install -g grunt-cli`  for more information please go to http://gruntjs.com/getting-started.

* Run the command 'grunt' to download all the web dependencies and build an optimized version of the project.

Add documentation to deploy in the Glassfish 4.1
Add documentation to deploy in the Glassfish 4.1