First Java EE project using REST

I left http://www.oracle.com/technetwork/articles/javase/index-137171.html and uploaded the files, but I lost a bit, since I had never done this before.

I installed the Tomcat IDE and Eclipse Java EE, but I don’t know which project to use to create the web service and how to download and compile the code for the service.

Am I using eclipse correctly?

+3
source share
4 answers

Here is an example of REST (JAX-RS) that I have compiled. You will probably find Part 4 most useful:

+2

. Java API JAX-RS (REST- JAX-WS). JAX-WS, - REST.

Jersey, JAX-RS 0.8, 1.0 1.1.

, Apache CXF JAX-RS 0.8, 1.0/1.1.

JBoss RESTEasy. , JAX-RS RESTEasy.

JAX-RS Restlet. , , , JAX-RS .

+3

If all you create is an easy RESTful service, you can also look at GlassFish , which provides a simple HTTP server for REST.

+1
source

You will create a web project to deploy any web service. It will be packaged in a WAR and deployed to Tomcat.

0
source

Source: https://habr.com/ru/post/1778800/


All Articles