Home » Enterprise Java » rest » resteasy

resteasy

Creating JAX-RS web service using RESTEasy Example

Introduction RESTEasy is a JBoss Project and an implementation of JAX-RS specification.  It’s simplified nature made a huge noise on the backend developers community and to this day, one of the widely used JAX-Rs implementation. How easy is it? Let’s find out. What are we doing? We are doing a step by step guide on how to create a RESTEasy ...

Read More »

JSON Example With RESTEasy + JAXB + Jettison

In this tutorial we are going to see how you can integrate RESTEasy with Jettison to develop JAX-RS RESTful services that produce and consume JSON streams. As you probably know, Jettison is a collection of APIs that are used to read and write JSON formatted streams. It can be coupled with XML serialization frameworks, like XStream, or JAXB used to marshal ...

Read More »

JSON Example With RESTEasy + Jackson

In this tutorial we are going to see how you can integrate RESTEasy with Jackson to develop JAX-RS RESTful services that produce and consume JSON streams. As you probably know, Jackson is used to marshal a Java Object to JSON, and ummarshal a JSON file (or stream in general) to a Java Object In this example we are not going ...

Read More »

XML Example With RESTEasy+ JAXB

In this example we are going to see how you can integrate RESTEasy with JAXB (Java Architecture for XML Binding) to create RESTful services that consume and produce XML streams. As you probably know JAXB is used to marshal a Java Object to XML, and ummarshal an XML file (or stream in general) to Java Object. In this example we are not going ...

Read More »

RESTEasy File Upload Example

In this tutorial we are going to see how In this example we are going to see how you can upload a File to a server using a JAX-RS REST Service using RESTEasy. In this example we are going to use an HTML Form that has one input field of type file. When the HTTP POST request is constructed, it ...

Read More »

RESTEasy Hello World Example

In this example we are going to get started with Java API for RESTful Web Services (JAX-RS), a set of APIs to developer REST services. JAX-RS is a new JCP specification that provides a Java API for RESTful Web Services over the HTTP protocol and  is part of the Java EE.  REST (REpresentational State Transfer) is a simple stateless architecture that generally runs ...

Read More »