Tutorial

Servlets, JSF, and JAX-RS Tutorial

Servlets, JSF, and JAX-RS Tutorial

Applications do not only present a UI for the user or supply the data through rest endpoints, many of them also offer data as a file download.

Generated documents, data exports, and so many other types of downloads are very common. Jakarta EE, supported by the Payara Platform products, have various ways of generating these.

This tutorial describes how you can implement them and what security considerations you must take.

In this tutorial:

  • Servlet
  • JSF
  • PrimeFaces
  • JAX-RS

Category:
Subjects: ,

Related Resources

Explore expert tips, webinars, and product updates to help you build, deploy, and scale modern enterprise Java applications faster.

Cover of the eBook titled “Scalable Enterprise Java for the Cloud” by Luqman Saeed, Otavio Santana, Michael Brey, and Dario Vega. The design features a dark blue background with teal and gold geometric accents, coral-like shapes, and cloud imagery, reflecting cloud-native enterprise Java and the Payara Community branding.

Scalable Enterprise Java for the Cloud

Download
Payara cover graphic titled ‘Value-Adding, Cost-Saving Measures for Java Teams in 2026’ featuring icons representing cost reduction, cloud deployment and optimization, with a Payara Server interface in the background.

Value-Adding, Cost-Saving Measures for Java Teams in 2026

Download
The Strategic Middleware Choice for Mission Critical Enterprise Java in Finance

The Strategic Middleware Choice for Mission Critical Enterprise Java in Finance

Download