Create a RESTful Web Service with Payara Server & NetBeans

Product News

Payara Server & NetBeans are perfect for creating RESTful web services and web applications!

In this short video, I show you how easy it is to create a ‘hello world’ RESTful web service using Payara Server with NetBeans.

  • Download Payara Server (Full or Micro)
  • Add Payara Server to NetBeans
  • Start it up
  • Create a new RESTful web service
  • Test
  • Debug

And that’s all – done in less than 7 minutes!

 

 

 

Comments (3)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

  1. Mark Pope

    Netbeans 8.2 does not recognize Payara-micro as a server.

  2. Joseph Bruni

    Is this content available in written form somewhere? Watching a video is not practical for some.

  3. José Gregorio Castillo

    I tried to run your example in Payara Server 172, every thing ok until I tried to test the RESTful example created. I got this error: “Cannot access WADL. Please restart your REST application, and refresh this page. This may be caused by the REST implementation not providing the WADL file automatically (such as JBoss RESTEasy). In that case you have to pregenerate it manually or switch to Jersey libraries.”, After several tries and just in order to see if it was my mistake, I tried the same example in a Glassfish 4.1 that I have installed since more that one year ago. Every thing works ok. Also I use Postman to test the service created.
    The message that I got says “try to pregenerate it manually or switch to Jersey libraries”, I don´t want to do that, the reason that I work with Glassfish is that I can delegate a lot of manual job to Netbeans-Glassfish, I expected the same using Payara, but in my first try I got this issue. Is it a Payara problem? or a Netbeans-Payara Problem?.
    My test was in a Intel Core 2 Duo, with 4Gb of RAM, running Windows 10 32 bits, and the Netbeans that I using is 8.2. If I got an answer I will appreciate a lot.
    José “Goyo” Castillo

Related Posts

payara qube logo 5 minutes
Payara

Payara Cloud Is Now part of Payara Qube family of Unified Platforms for Enterprise Java

Payara Cloud is becoming part of Payara Qube family of Java application deployment runtimes. This move reflects how the […]

payara qube logo 2 minutes
News

Enterprise Java Deployment Simplified with Payara Qube’s New, Unified Offering

Payara Services, a leading vendor of enterprise Java technologies, is aligning Payara Cloud with the Payara Qube Java application […]

What's New In The Payara Platform August 2025 Release? 3 minutes
Community

What’s New In The Payara Platform October 2025 Release?

The October 2025 release brings focused improvements across Payara Platform Community 6.2025.10 (download here), Payara Platform Enterprise 6.31.0 (download […]