EJB as a JAX-RS web service tutorial 2 - POST method and parameters
This tutorial series shows how to use Netbeans and Glassfish to expose an EJB as a JAX-RS web service. In this part, we show how to create a web service method that accepts HTTP POST requests. The following parameter types are covered: @FormParam, @QueryParam and @PathParam. This tutorial was prepared without a script, so the presentation is not perfectly smooth. [UPDATE 2016-05-12] Sample code: https://github.com/ubilife/tutorials/tree/master/j2ee/tutorial5
This tutorial series shows how to use Netbeans and Glassfish to expose an EJB as a JAX-RS web service. In this part, we show how to create a web service method that accepts HTTP POST requests. The following parameter types are covered: @FormParam, @QueryParam and @PathParam. This tutorial was prepared without a script, so the presentation is not perfectly smooth. [UPDATE 2016-05-12] Sample code: https://github.com/ubilife/tutorials/tree/master/j2ee/tutorial5