Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jersey with Java 5

Tags:

java

jersey

What is the latest version of Jersey that will run with Java 5? I found the Jersey 1.3 documentation saying that Java 6 is required but I'm having troubles finding previous versions of the docs.

like image 772
Haphazard Avatar asked Jun 14 '11 20:06

Haphazard


People also ask

What is Jersey in Java example?

What is Java Jersey Framework? Java Jersey project tracks the JAX-RS API, which is used to create Restful web services in Java.

What is jersey used for in Java?

The Jersey RESTful Web Services, formerly Glassfish Jersey, currently Eclipse Jersey, framework is an open source framework for developing RESTful Web Services in Java. It provides support for JAX-RS APIs and serves as a JAX-RS (JSR 311 & JSR 339 & JSR 370) Reference Implementation.

What is Jax-RS and Jersey?

The JAX-RS (JSR 311: The Java API for RESTful Web Services) specification provides a standardized Java-based approach to implementing REST-style web services. Jersey is the reference implementation of JAX-RS and I provide a brief introduction to JAX-RS via Jersey in this blog post.


2 Answers

If you are stuck with Java 5, your need to use Jersey 1.2.

If the version is not mature enough for you, try Spring 3 MVC for building REST webservices, works with Java 5:

  • Spring Documentation
  • Spring blog article
  • Build RESTful web services using Spring 3 (ibm)
like image 184
Miguel Rodrigues Avatar answered Oct 04 '22 16:10

Miguel Rodrigues


You sure? Jersey 1.7 guide claims 1.5 works, with some additional jars.

like image 37
MJB Avatar answered Oct 04 '22 17:10

MJB