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.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  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

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 8 minutes
Jakarta EE

Cut Jakarta EE Startup Times from Seconds to Milliseconds with CRaC 

Jakarta EE applications can take anywhere from several seconds to over a minute to start, depending on their size […]

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 4 minutes
Community

The Payara Monthly Catch – December 2025

As we kick off the new year, this January edition of The Monthly Catch looks back at everything that […]

Illustration showing the Payara logo and the words “New Release” in large orange and white text, next to a stylized laptop screen displaying the Payara Server admin console with dark blue and orange interface elements. 3 minutes
Community

What’s New in the December 2025 Payara Platform Release?

The December 2025 releases bring targeted improvements and security updates across Payara Platform Enterprise versions 5.82.0 and 6.33.0 as […]