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

From Eclipsepedia

Jump to: navigation, search
(Overview)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Overview==
+
=RESTful Service Example=
  
In this example we will create a bare bones standards based REST service using EclipseLink JPA & JAXB.
+
In this example we will create a bare bones standards based RESTful 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.
 
* '''[[EclipseLink/Examples/REST/GettingStarted/EntityModel|Entity Model]]''' - We will interact with our database using JPA entities.  
 
* '''[[EclipseLink/Examples/REST/GettingStarted/EntityModel|Entity Model]]''' - We will interact with our database using JPA entities.  
 
* '''[[EclipseLink/Examples/REST/GettingStarted/XmlBinding|XML Binding]]''' - JAXB/MOXy will be used to apply an XML representation to our JPA entities.
 
* '''[[EclipseLink/Examples/REST/GettingStarted/XmlBinding|XML Binding]]''' - JAXB/MOXy will be used to apply an XML representation to our JPA entities.
* '''[[EclipseLink/Examples/REST/GettingStarted/RestService|REST Service]]''' - An EJB session bean will be used to implment the JAX-RS service.
+
* '''[[EclipseLink/Examples/REST/GettingStarted/RestService|RESTful Service]]''' - An EJB session bean will be used to implment the JAX-RS service.
* '''[[EclipseLink/Examples/REST/GettingStarted/RestClient|REST Client]]''' - We will create a client to interact with our REST service.
+
* '''[[EclipseLink/Examples/REST/GettingStarted/RestClient|RESTful Client]]''' - We will create a client to interact with our RESTful service.

Latest revision as of 10:49, 27 January 2011

[edit] RESTful Service Example

In this example we will create a bare bones standards based RESTful 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.
  • RESTful Service - An EJB session bean will be used to implment the JAX-RS service.
  • RESTful Client - We will create a client to interact with our RESTful service.