How-to Quickstart with Java EE 7 SDK with the Sample Examples on Mac OS X

January 13th, 2015 by thelinuxevangelist

Java EE 7 Quick-Start on Mac OS X



The Unix 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 Mac OS X.

The Oracle GlassFish 4 Application Server is the Reference for the Java EE 7 Web Apps Development and Deployment.

Quickstart Oracle JEE 7 SDK on Mac OS X - Featured
  1. How-to Install Required JDK 7/8 on MacOS X:

    Oracle JDK 7+ Mac Installation
  2. Open a Command Line Terminal Window
    Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Java EE 7 Quickstart Mac OS X - Open Terminal
  3. How-to Install Latest Maven on Mac OS X:

    Maven 3.X for Mac Installation
  4. Compile a JEE 7 Servlet Samples

    cd /opt/glassfish4/samples/servlet
    sudo mvn compile

    For the Other Samples Follow the Same Procedure…

  5. 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.

  6. How-to Deploy a JEE7 App on GlassFish 4:

    GlassFish4 Deployment .war Guide
  7. Here Deployed the async-request-war Sample Chat

    On:

    localhost:8080/async-request-war

    Java EE 7 Development Quickstart on Mac OS X - GlassFish 4 Admin Deplyoed App

Ubuntu 14.04 Trusty LTS JEE 7 SDK Quickstart - JEE 7 Chat

Share on Tumblr

Tags: , , , , , , , , , , , , , , , , , , , , ,


Comments are disabled