We’re hiring!

Getting Started with Payara Server

Getting Started Guide

Would you prefer to have this guide in a downloadable PDF format? Download here:

Getting Started Guide

1. Get Ready

Using Payara Server for the first time? There are three things you need to get ready – just click the links and follow our step-by-step guide to get started using Payara Server.

Watch Video: How to Install the JDK

2. Download Payara Server

Now that you’ve got all of the necessary preparations out of the way – download and install Payara Server:

 Payara Server  Download

3. Install NetBeans

It’s possible to use another IDE, but our getting started guide is based on using NetBeans. Here’s how to install NetBeans and add Payara Server:

4. Write and Deploy Your First App

Now for the fun part! Here’s how to write and deploy your first simple app:

5. Use Maven to Deploy & Build Apps

Maven is included with NetBeans. When creating a Java EE application it is important to deploy and test it on a server that is as close to the target production environment as possible. If you use Maven in your project, it is possible to do so using the Cargo plugin:

6. Configure and Use a Datasource

Configure Payara Server to connect to a database and then use the datasource from an application. First, let’s learn a little about datasources and connection pools:

Next, you can choose your data source to connect to from the list below:

If you’ve followed the above steps then you’ve successfully installed Payara Server, wrote and deployed an app, and configured a datasource! Wondering how to store and retrieve data from the database? Read this blog: How to Store and Retrieve Data from a Database

Get Help With Your Migration or Using the Payara Platform in Production

Payara Services LTD fully supports Payara Server open source software. You can learn more about our support services in our brochure:

Download Support Brochure

If you need guidance with your Payara Server development project before going to production or during your application server migration project, take a look at our Migration and Project Support option:

Learn More About Migration & Project Support

Back to top