DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > Introducing Payara Micro - A New Way of Running Java EE Applications

Introducing Payara Micro - A New Way of Running Java EE Applications

A new tool called Payara Micro can run Java EE applications in a modern containerized/virtualized infrastructure using automated provisioning tools.

Steve Millidge user avatar by
Steve Millidge
·
Aug. 26, 15 · Java Zone · News
Like (3)
Save
Tweet
9.95K Views

Join the DZone community and get the full member experience.

Join For Free

What is Payara Micro?  

Payara Micro is our first release of a new way of running Java EE applications. Building on the Java EE 7 support of its GlassFish 4.1 core Payara Micro enables you to run WAR files from the command line without any application server installation.

java -jar payara-micro.jar --deploy test.war

That’s not all! Using the Hazelcast integration each Payara Micro process will automagically cluster with other Payara Micro processes on the network, giving web session resilience and a fully distributed data cache using Payara’s JCache support.

Why Payara Micro?

Payara Micro is small, only 57MB in size and incredibly simple to use. With its automatic and elastic clustering it is designed for running Java EE applications in a modern containerized/virtualized infrastructure using automated provisioning tools like Chef, Ansible or Puppet. As each Payara Micro server will automatically cluster with other servers on the network your Java EE application can be elastically scaled horizontally by adding and removing containers based on demand.

Embedding Payara Micro

 Payara Micro also comes with a Java api so it can be embedded and launched from your own Java applications. Embedding Payara Micro in your own code is as simple as;

import fish.payara.micro.BootstrapException;
import fish.payara.micro.PayaraMicro;

public class EmbeddedPayara {

    public static void main(String[] args) throws     
    BootstrapException  {

        PayaraMicro.getInstance()                           
        .addDeployment("test.war")                            
        .bootStrap();    }    
    }

}

What APIs does Payara Micro Support?

Payara Micro is based on the Java EE 7 web profile version of GlassFish embedded. We’ve built on that and added a number of useful additional apis.

Key APIs Payara Micro supports:

•    Servlets, JSTL, EL and JSPs
•    WebSockets
•    JSF
•    JAX-RS
•    EJB lite
•    JTA
•    JPA
•    Bean Validation
•    CDI
•    Interceptors
•    JBatch
•    Concurrency
•    JCache

How Do I Try Payara Micro?

Payara Micro is available from the Payara Server downloads page. 

Give us Feedback!

We’d love you to try your Java EE 7 applications on Payara Micro. Let us know what you like or even what you hate. What features would you like to see? As always we are here to help!

Java EE application Java (programming language)

Published at DZone with permission of Steve Millidge, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Flask vs. Django: Which Python Framework to Choose?
  • My Sentiments, Erm… Not Exactly
  • 10 Programming Habits a Web Developer Should Embrace
  • How to Translate Value to Executives Using an Outcome-Driven Mindset

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo