$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Quick-Start With GlassFish 4 Servlet Deployment on Ubuntu Linux Easy Guide

November 1, 2014 | By the+gnu+linux+evangelist.

How to Getting-Started with Deployment on Glassfish 4

Hi! The Tutorial shows you Step-by-Step How to Getting-Started with Glassfish 4 Java EE Web Servlet Deployment on Ubuntu Desktop/Server i386/amd64 Linux.

GlassFish App Server Benefits:

  • Java EE reference implementation: Glassfish is the Java EE reference/nimplementation.
  • Supports the latest versions of the Java EE specification: Glassfish is the only Java EE application server in the market that supports the complete Java EE 7 specification.
  • Getting-Started with Glassfish 4 Deployment on Ubuntu - Featured
    1. Open a Command Line Terminal Window
      Ctrl+Alt+t
      (Press “Enter” to Execute Commands)

      GlassFish 4 Deployment Quick Start Ubuntu - Featured
    2. Possibly Download the Servlet Sample.

      cd $HOME/Downloads/

      To List the directory contents and Verify the file is there:

      ls .

      If Not then Try to look into the /tmp folder…

      wget https://jitpack.io/com/github/WASdev/sample.servlet/2.1.0/sample.servlet-2.1.0.war
    3. Give Execution Permission.

      chmod +x $HOME/Downloads/sample.servlet.war
    4. How to Install Glassfish 4 App Server for Ubuntu

      Ubuntu Glassfish 4 Setup
    5. Open with Browser the Admin Backend

      http://localhost:4848
    6. Select Deploy an Application.

      GlassFish 4 Deployment on Ubuntu - Deploy an Application
    7. Browse for the sample.war file

      GlassFish 4 Deployment on Ubuntu - Browing

      The Confirm with “OK”

      GlassFish 4 Deployment on Ubuntu - Deployed Apps

      Then you Should have a Confirmation about the Deployed App…

    8. View the Deployed Servlet

      http://localhost:8080/sample.servlet-2.1.0/
      GlassFish 4 Deployment on Ubuntu - Deploy an Application