Jump to: navigation, search

Difference between revisions of "EclipseLink/Examples/REST/GettingStarted"

(New page: ==Overview== In this example we will create a standards based REST service using EclipseLink JPA & JAXB. * '''Database Model'''...)
 
(Overview)
Line 1: Line 1:
 
==Overview==
 
==Overview==
  
In this example we will create a standards based REST service using EclipseLink JPA & JAXB.
+
In this example we will create a bare bones standards based REST service using EclipseLink JPA & JAXB.
  
 
* '''[[EclipseLink/Examples/REST/GettingStarted/DatabaseModel|Database Model]]''' - This is the database model that we will expose as a REST service.
 
* '''[[EclipseLink/Examples/REST/GettingStarted/DatabaseModel|Database Model]]''' - This is the database model that we will expose as a REST service.

Revision as of 14:11, 24 August 2010

Overview

In this example we will create a bare bones standards based REST service using EclipseLink JPA & JAXB.

  • Database Model - This is the database model that we will expose as a REST service.
  • Entity Model - We will interact with our database using JPA entities.
  • XML Binding - JAXB/MOXy will be used to apply an XML representation to our JPA entities.
  • REST Service - An EJB session bean will be used to implment the JAX-RS service.
  • REST Client - We will create a client to interact with our REST service.