Jareto is a small, open source Java support library to speed up the development of REST services and clients, based on Java/Jakarta EE and MicroProfile REST Client.

I developed this library several months ago for my employer after I found myself re-implementing the same standard code over and over again in different REST-based applications.

The following common use cases are facilitated by Jareto:

  • mapping Java exceptions
    • server: automatic serialization from Java to HTTP wire data (JSON); these JSON exceptions
      • can also easily be parsed by non-Java clients
      • are customizable and allow transport of structured data
    • client: automatic de-serialization from HTTP wire data (JSON) into Java
  • transporting HTTP meta data
    • HTTP status codes
    • HTTP headers

References: