Java EE 7 Quick Start on Ubuntu Linux
Hi! The Tutorial shows you Step-by-Step How to Getting-Started with Oracle Java EE 7 SDK Samples Deployment on Glassfish 4 Web App Server on Ubuntu.
The Oracle GlassFish 4 Application Server is the Reference for the Java EE 7 Web Apps Development and Deployment.
-
How to Install Oracle Java EE 7 SDK on Ubuntu:
-
Open a Command Line Terminal Window
Ctrl+Alt+t
(Press “Enter” to Execute Commands) -
How to Install the Latest Apache Maven on Ubuntu:
-
Compile a JEE 7 Servlet Samples.
cd /opt/glassfish4/samples/servlet
sudo mvn compile
For the Other Samples Follow the Same Procedure…
-
Packaging as War the Servlet Samples.
sudo mvn install
Then you Find for each Sample a ‘target‘ Folder containing the .war Artifact Ready to Deploy on Glassfish 4.
-
How to Deploy a JEE7 App on Glassfish 4
-
Here Deployed the async-request-war Sample Chat.
On:
localhost:8080/async-request-war