Getting Started with Payara Server
Getting Started Guide
Would you prefer to have this guide in a downloadable PDF format? Download here:
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.
- How to Choose an IDE
- Download IDE
- Download Java Development Kit (JDK) if you don’t already have it
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:
- Watch Getting Started with Payara Server video demo to learn how to download, install, and start Payara Server
- Download and Install Payara Server:
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:
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:
Do More With Payara Server
Add Functionality
Here are a list of how-to articles and tutorials to help you learn the basic functionalities for various use cases you’ll need when using Payara Server:
- Watch Video to learn how to create a RESTful Web Service with Payara Server & NetBeans
- Consuming a RESTful Web Service
- Create a User Interface with JSF
- Securing a REST Service (how to log in and check required privileges)
- How to Test Applications with Payara Server with Arquillian
- The Basics of Logging in Payara Server
Security Auditing in Payara Server
- Security Auditing in Payara Server Part 1
- Security Auditing in Payara Server Part 2
- Debugging (searching for and fixing defects)
Making Use of Payara Server’s Monitoring Service
- Part 1: Setting up the Service
- Part 2: Integrating with Logstash and Elasticsearch
- Part 3: Using Kibana to Visualise the Data