SlideShare a Scribd company logo
Topic 5

           REST and JAX-RS



Assoc.Prof. Dr. Thanachart Numnonda
       www.imcinstitute.com
            August 2010
Agenda
 What   is REST?
 REST/HTTP Methods

 JAX-RS




                             2
What is REST?




                3
REST : Definition [Wikipedia]
 Representational State Transfer
 a style of software architecture for distributed
  hypermedia systems such as the World Wide
  Web.
 was introduced and defined in 2000 by Roy
  Fielding in his doctoral dissertation.
 Conforming to the REST constraints is referred
  to as being ‘RESTful’.


                                                     4
REST is ...
 An architectural style, not technology
      – Client/server + Request/response approach.
 Everything is a RESOURCE.
 CRUD (Create / Read / Update / Delete)
 Stateless by nature (excellent for distributed
  systems)
 Cacheable (naturally supported !)
 A great way to web-service !


                                                     5
Architectural overview




                         6
Architectural overview




                         7
HTTP request overview




                        8
HTTP request overview




                        9
Everything is a resource …
 A resource   is …
    –   A network-accessible data object or service
        identified by an URI:
    –   Images,
    –   Documents (HTML, PDF, …),
    –   Geo-location,
    –   Weather



                                                      10
Resource

 Collections
    – http://portal/books/
 Members/Items:
    – http://portal/documents/mybook.doc




                                           11
Characteristics of REST
   RESTful services are stateless
      – Each request from client to server must contain all
           the information necessary to understand the
           request
   RESTful services have a uniform interface
       –   GET, POST, PUT, and DELETE.
   REST-based architectures are built from resources
    (pieces of information) that are uniquely identified by
    URIs
       –   In a RESTful purchasing system, each purchase
           order has a unique URI                        12
Characteristics of REST
   REST components manipulate resources by
    exchanging representations of the resources
       –   For example, a purchase order resource can be
           represented by an XML document.
       –   Within a RESTful purchasing system, a purchase
           order might be updated by posting an XML
           document containing the changed purchase order to
           its URI
   REST-based architectures communicate primarily
    through the transfer of representations of resources
       –   State is maintained within a resource representation
                                                                  13
REST/HTTP Methods




                    14
CRUD to HTTP method mapping




                              15
CRUD Operations are Performed
        through “HTTP
     method”+“Resource”

CRUD Operations   HTTP method      Resource
Create (Single)       POST         Collection URI
Read (Multiple)       GET          Collection URI
Read (Single)     GET       Entry URI
Update (Single)       PUT          Entry URI
Delete (Single)       DELETE       Entry URI


                                                    16
HTTP Methods
 /books/
      –   POST - submit a new book
      –   GET - list all books
    /books/{isbn}/
      – GET - get a book
      – PUT - update a book
      – DELETE - remove a book


                                     17
HTTP Methods: GET
 GET to retrieve information
 Retrieves a given URI
 Idempotent, should not initiate a state change
 Cacheable




                                                   18
HTTP Methods: POST
 POST to add new information
 add the entity as a subordinate/append to the
  POSTed resource
 Example
     – POST /music/beatles

             Adds the music specified in the
                 POSTDATA to the
                    list of music

                                                  19
HTTP Methods: DELETE
 Remove (logical) an entity
 Example
     – DELETE /songs/heyjude



            Delete the song 'heyjude”
              from the system



                                        20
HTTP Methods: POST
 POST to add new information
 add the entity as a subordinate/append to the
  POSTed resource
 Example
     – POST /music/beatles

             Adds the music specified in the
                 POSTDATA to the
                    list of music

                                                  21
Why REST ?
• Uniformity:
      –   URI is a uniform way to identify resources
      –   HTTP uniform interface to manipulate resources
• REST base services are easy to work with
      –   Do not need specialized API, just need to
          understand HTTP and browser for
          experimentation
• Scripting language friendly
      –   Easy to consume and develop
                                                           22
Advantages of REST
• Its architectural constraints when applied as a
  whole, generate:
     –   Scalable component interactions
     –   General interfaces
     –   Independently deployed connectors
     –   Reduced interaction latency
     –   Strengthened security
     –   Safe encapsulation of legacy systems

                                                    23
REST vs “Big” Web Services
• “Big” web service
     –   Few URIs (nouns), many custom methods
         (verbs)
           • musicPort.getRecordings(“beatles”)
     –   Uses HTTP as transport for SOAP messages
• RESTful web service
     –   Many resources (nouns), few fixed
         methods(verbs)
           • GET /music/artists/beatles/recordings
     –   HTTP is the protocol
                                                     24
JAX-RS




         25
JAX-RS (JSR-311) : Goals

• POJO-based,
• HTTP-centric,
• Format independent,
• Container independent,
• Availability as standalone and enterprise platforms.



                                                         26
JAX-RS: Address-ability through URI

• A Web service exposes data as resources
• A resource is exposed through a URI
• Resources are “plain old” Java classes and methods
• The annotation @Path exposes a resource
• Think resources and URIs using Java classes and
  @Path


                                                       27
POJO + Annotation = JAX-RS resource




                                      28
Reading the catalog




                      29
Reading the catalog item




                           30
Address-ability through HTTP Methods

• Methods: what are the HTTP methods?
• HTTP methods implemented as Java methods
  annotated with
    –   @POST
    –   @GET
    –   @PUT
    –   @DELETE


                                             31
Uniform interface: methods on root
             resources
@Path(“/books/”)
class books {
  @POST <type> create(<type>) { ... }
  @GET <type> get() { ... }
}
@Path(“/books/{isbn}/”)
class book {
  @GET <type> get(...) { ... }
  @PUT void update(...) { ... }
  @DELETE void delete(...) { ... }
}
        Java method name is not significant
         The HTTP method is the method        32
Leading JAX-RS implementations

• Glassfish Jersey project
• RESTEasy(JBoss)
• Apache CXF (Apache Software Foundation)
• Wink (ASF incubation project)
• Restlet(NoeliosTechnologies)


                                            33
Resources
 Some contents are borrowed from the presentation
  slides of Sang Shin, Java™ Technology Evangelist,
  Sun Microsystems, Inc.
 JAX-RS… and the REST will follow, Guy Nir, Java
  Edge 09




                                                      34
Thank you

   thananum@gmail.com
www.facebook.com/imcinstitute
   www.imcinstitute.com



                                35

More Related Content

PDF
JavaCro'15 - Elasticsearch as a search alternative to a relational database -...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PDF
Data Orchestration at Scale (GlobusWorld Tour West)
Globus
 
PDF
JSOP in 60 seconds
David Nuescheler
 
PDF
Instrument Data Orchestration with Globus Search and Flows
Globus
 
PDF
Globus Portal Framework (APS Workshop)
Globus
 
PDF
GlobusWorld 2021 Tutorial: Introduction to Globus
Globus
 
PDF
Java Web Services [2/5]: Introduction to SOAP
IMC Institute
 
PDF
Java Web Services [3/5]: WSDL, WADL and UDDI
IMC Institute
 
JavaCro'15 - Elasticsearch as a search alternative to a relational database -...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Data Orchestration at Scale (GlobusWorld Tour West)
Globus
 
JSOP in 60 seconds
David Nuescheler
 
Instrument Data Orchestration with Globus Search and Flows
Globus
 
Globus Portal Framework (APS Workshop)
Globus
 
GlobusWorld 2021 Tutorial: Introduction to Globus
Globus
 
Java Web Services [2/5]: Introduction to SOAP
IMC Institute
 
Java Web Services [3/5]: WSDL, WADL and UDDI
IMC Institute
 

Viewers also liked (20)

PDF
Java Web Services [1/5]: Introduction to Web Services
IMC Institute
 
PDF
JAX-RS 2.0: RESTful Web Services
Arun Gupta
 
PPT
Java Web Service - Summer 2004
Danny Teng
 
PDF
Jaxp Xmltutorial 11 200108
nit Allahabad
 
PPT
Simple API for XML
guest2556de
 
PPTX
REST API Design for JAX-RS And Jersey
Stormpath
 
PPT
Xml Java
cbee48
 
PPTX
java API for XML DOM
Surinder Kaur
 
PDF
Web Technologies in Java EE 7
Lukáš Fryč
 
PDF
Java Web Services
Jussi Pohjolainen
 
PDF
Java Web Services [4/5]: Java API for XML Web Services
IMC Institute
 
PPT
6 xml parsing
gauravashq
 
PPT
Java XML Parsing
srinivasanjayakumar
 
PDF
Community and Java EE @ DevConf.CZ
Markus Eisele
 
PDF
Web Services Tutorial
Lorna Mitchell
 
PPTX
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
PDF
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
PDF
Spring Framework - Core
Dzmitry Naskou
 
PPT
Web Service Presentation
guest0df6b0
 
Java Web Services [1/5]: Introduction to Web Services
IMC Institute
 
JAX-RS 2.0: RESTful Web Services
Arun Gupta
 
Java Web Service - Summer 2004
Danny Teng
 
Jaxp Xmltutorial 11 200108
nit Allahabad
 
Simple API for XML
guest2556de
 
REST API Design for JAX-RS And Jersey
Stormpath
 
Xml Java
cbee48
 
java API for XML DOM
Surinder Kaur
 
Web Technologies in Java EE 7
Lukáš Fryč
 
Java Web Services
Jussi Pohjolainen
 
Java Web Services [4/5]: Java API for XML Web Services
IMC Institute
 
6 xml parsing
gauravashq
 
Java XML Parsing
srinivasanjayakumar
 
Community and Java EE @ DevConf.CZ
Markus Eisele
 
Web Services Tutorial
Lorna Mitchell
 
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
Web Services (SOAP, WSDL, UDDI)
Peter R. Egli
 
Spring Framework - Core
Dzmitry Naskou
 
Web Service Presentation
guest0df6b0
 
Ad

Similar to Java Web Services [5/5]: REST and JAX-RS (20)

PDF
JAX-RS JavaOne Hyderabad, India 2011
Shreedhar Ganapathy
 
PPTX
Rest with Java EE 6 , Security , Backbone.js
Carol McDonald
 
PPTX
Rest
Carol McDonald
 
PDF
Spark IT 2011 - Developing RESTful Web services with JAX-RS
Arun Gupta
 
PDF
RESTful Web services using JAX-RS
Arun Gupta
 
PDF
RESTful web
Alvin Qi
 
PPTX
RESTful APIs
Adi Challa
 
PDF
Rest API Interview Questions PDF By ScholarHat
Scholarhat
 
PPTX
JAX-RS. Developing RESTful APIs with Java
Jerry Kurian
 
PDF
REST Basics
Ivano Malavolta
 
PDF
JAX-RS Creating RESTFul services
Ludovic Champenois
 
PDF
What is REST?
Saeid Zebardast
 
PPTX
REST Architecture with use case and example
Shailesh singh
 
PPTX
REST Architecture with use case and example
Shailesh singh
 
PPSX
Restful web services rule financial
Rule_Financial
 
PDF
Introduction to REST and Jersey
Chris Winters
 
PPTX
RESTful Web Services
Gordon Dickens
 
PPTX
Rest Webservice
Viyaan Jhiingade
 
PPTX
L18 REST API Design
Ólafur Andri Ragnarsson
 
PDF
Restful Services
SHAKIL AKHTAR
 
JAX-RS JavaOne Hyderabad, India 2011
Shreedhar Ganapathy
 
Rest with Java EE 6 , Security , Backbone.js
Carol McDonald
 
Spark IT 2011 - Developing RESTful Web services with JAX-RS
Arun Gupta
 
RESTful Web services using JAX-RS
Arun Gupta
 
RESTful web
Alvin Qi
 
RESTful APIs
Adi Challa
 
Rest API Interview Questions PDF By ScholarHat
Scholarhat
 
JAX-RS. Developing RESTful APIs with Java
Jerry Kurian
 
REST Basics
Ivano Malavolta
 
JAX-RS Creating RESTFul services
Ludovic Champenois
 
What is REST?
Saeid Zebardast
 
REST Architecture with use case and example
Shailesh singh
 
REST Architecture with use case and example
Shailesh singh
 
Restful web services rule financial
Rule_Financial
 
Introduction to REST and Jersey
Chris Winters
 
RESTful Web Services
Gordon Dickens
 
Rest Webservice
Viyaan Jhiingade
 
L18 REST API Design
Ólafur Andri Ragnarsson
 
Restful Services
SHAKIL AKHTAR
 
Ad

More from IMC Institute (20)

PDF
นิตยสาร Digital Trends ฉบับที่ 14
IMC Institute
 
PDF
Digital trends Vol 4 No. 13 Sep-Dec 2019
IMC Institute
 
PDF
บทความ The evolution of AI
IMC Institute
 
PDF
IT Trends eMagazine Vol 4. No.12
IMC Institute
 
PDF
เพราะเหตุใด Digitization ไม่ตอบโจทย์ Digital Transformation
IMC Institute
 
PDF
IT Trends 2019: Putting Digital Transformation to Work
IMC Institute
 
PDF
มูลค่าตลาดดิจิทัลไทย 3 อุตสาหกรรม
IMC Institute
 
PDF
IT Trends eMagazine Vol 4. No.11
IMC Institute
 
PDF
แนวทางการทำ Digital transformation
IMC Institute
 
PDF
บทความ The New Silicon Valley
IMC Institute
 
PDF
นิตยสาร IT Trends ของ IMC Institute ฉบับที่ 10
IMC Institute
 
PDF
แนวทางการทำ Digital transformation
IMC Institute
 
PDF
The Power of Big Data for a new economy (Sample)
IMC Institute
 
PDF
บทความ Robotics แนวโน้มใหม่สู่บริการเฉพาะทาง
IMC Institute
 
PDF
IT Trends eMagazine Vol 3. No.9
IMC Institute
 
PDF
Thailand software & software market survey 2016
IMC Institute
 
PPTX
Developing Business Blockchain Applications on Hyperledger
IMC Institute
 
PDF
Digital transformation @thanachart.org
IMC Institute
 
PDF
บทความ Big Data จากบล็อก thanachart.org
IMC Institute
 
PDF
กลยุทธ์ 5 ด้านกับการทำ Digital Transformation
IMC Institute
 
นิตยสาร Digital Trends ฉบับที่ 14
IMC Institute
 
Digital trends Vol 4 No. 13 Sep-Dec 2019
IMC Institute
 
บทความ The evolution of AI
IMC Institute
 
IT Trends eMagazine Vol 4. No.12
IMC Institute
 
เพราะเหตุใด Digitization ไม่ตอบโจทย์ Digital Transformation
IMC Institute
 
IT Trends 2019: Putting Digital Transformation to Work
IMC Institute
 
มูลค่าตลาดดิจิทัลไทย 3 อุตสาหกรรม
IMC Institute
 
IT Trends eMagazine Vol 4. No.11
IMC Institute
 
แนวทางการทำ Digital transformation
IMC Institute
 
บทความ The New Silicon Valley
IMC Institute
 
นิตยสาร IT Trends ของ IMC Institute ฉบับที่ 10
IMC Institute
 
แนวทางการทำ Digital transformation
IMC Institute
 
The Power of Big Data for a new economy (Sample)
IMC Institute
 
บทความ Robotics แนวโน้มใหม่สู่บริการเฉพาะทาง
IMC Institute
 
IT Trends eMagazine Vol 3. No.9
IMC Institute
 
Thailand software & software market survey 2016
IMC Institute
 
Developing Business Blockchain Applications on Hyperledger
IMC Institute
 
Digital transformation @thanachart.org
IMC Institute
 
บทความ Big Data จากบล็อก thanachart.org
IMC Institute
 
กลยุทธ์ 5 ด้านกับการทำ Digital Transformation
IMC Institute
 

Recently uploaded (20)

PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
PDF
Test Bank, Solutions for Java How to Program, An Objects-Natural Approach, 12...
famaw19526
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
DOCX
Top AI API Alternatives to OpenAI: A Side-by-Side Breakdown
vilush
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Make GenAI investments go further with the Dell AI Factory - Infographic
Principled Technologies
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Shreyas_Phanse_Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
SHREYAS PHANSE
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
 
Test Bank, Solutions for Java How to Program, An Objects-Natural Approach, 12...
famaw19526
 
Software Development Methodologies in 2025
KodekX
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Top AI API Alternatives to OpenAI: A Side-by-Side Breakdown
vilush
 
Doc9.....................................
SofiaCollazos
 
Make GenAI investments go further with the Dell AI Factory - Infographic
Principled Technologies
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Shreyas_Phanse_Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
SHREYAS PHANSE
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
This slide provides an overview Technology
mineshkharadi333
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 

Java Web Services [5/5]: REST and JAX-RS

  • 1. Topic 5 REST and JAX-RS Assoc.Prof. Dr. Thanachart Numnonda www.imcinstitute.com August 2010
  • 2. Agenda  What is REST?  REST/HTTP Methods  JAX-RS 2
  • 4. REST : Definition [Wikipedia]  Representational State Transfer  a style of software architecture for distributed hypermedia systems such as the World Wide Web.  was introduced and defined in 2000 by Roy Fielding in his doctoral dissertation.  Conforming to the REST constraints is referred to as being ‘RESTful’. 4
  • 5. REST is ...  An architectural style, not technology – Client/server + Request/response approach.  Everything is a RESOURCE.  CRUD (Create / Read / Update / Delete)  Stateless by nature (excellent for distributed systems)  Cacheable (naturally supported !)  A great way to web-service ! 5
  • 10. Everything is a resource …  A resource is … – A network-accessible data object or service identified by an URI: – Images, – Documents (HTML, PDF, …), – Geo-location, – Weather 10
  • 11. Resource  Collections – http://portal/books/  Members/Items: – http://portal/documents/mybook.doc 11
  • 12. Characteristics of REST  RESTful services are stateless – Each request from client to server must contain all the information necessary to understand the request  RESTful services have a uniform interface – GET, POST, PUT, and DELETE.  REST-based architectures are built from resources (pieces of information) that are uniquely identified by URIs – In a RESTful purchasing system, each purchase order has a unique URI 12
  • 13. Characteristics of REST  REST components manipulate resources by exchanging representations of the resources – For example, a purchase order resource can be represented by an XML document. – Within a RESTful purchasing system, a purchase order might be updated by posting an XML document containing the changed purchase order to its URI  REST-based architectures communicate primarily through the transfer of representations of resources – State is maintained within a resource representation 13
  • 15. CRUD to HTTP method mapping 15
  • 16. CRUD Operations are Performed through “HTTP method”+“Resource” CRUD Operations HTTP method Resource Create (Single) POST Collection URI Read (Multiple) GET Collection URI Read (Single) GET Entry URI Update (Single) PUT Entry URI Delete (Single) DELETE Entry URI 16
  • 17. HTTP Methods  /books/ – POST - submit a new book – GET - list all books   /books/{isbn}/ – GET - get a book – PUT - update a book – DELETE - remove a book 17
  • 18. HTTP Methods: GET  GET to retrieve information  Retrieves a given URI  Idempotent, should not initiate a state change  Cacheable 18
  • 19. HTTP Methods: POST  POST to add new information  add the entity as a subordinate/append to the POSTed resource  Example – POST /music/beatles Adds the music specified in the POSTDATA to the list of music 19
  • 20. HTTP Methods: DELETE  Remove (logical) an entity  Example – DELETE /songs/heyjude Delete the song 'heyjude” from the system 20
  • 21. HTTP Methods: POST  POST to add new information  add the entity as a subordinate/append to the POSTed resource  Example – POST /music/beatles Adds the music specified in the POSTDATA to the list of music 21
  • 22. Why REST ? • Uniformity: – URI is a uniform way to identify resources – HTTP uniform interface to manipulate resources • REST base services are easy to work with – Do not need specialized API, just need to understand HTTP and browser for experimentation • Scripting language friendly – Easy to consume and develop 22
  • 23. Advantages of REST • Its architectural constraints when applied as a whole, generate: – Scalable component interactions – General interfaces – Independently deployed connectors – Reduced interaction latency – Strengthened security – Safe encapsulation of legacy systems 23
  • 24. REST vs “Big” Web Services • “Big” web service – Few URIs (nouns), many custom methods (verbs) • musicPort.getRecordings(“beatles”) – Uses HTTP as transport for SOAP messages • RESTful web service – Many resources (nouns), few fixed methods(verbs) • GET /music/artists/beatles/recordings – HTTP is the protocol 24
  • 25. JAX-RS 25
  • 26. JAX-RS (JSR-311) : Goals • POJO-based, • HTTP-centric, • Format independent, • Container independent, • Availability as standalone and enterprise platforms. 26
  • 27. JAX-RS: Address-ability through URI • A Web service exposes data as resources • A resource is exposed through a URI • Resources are “plain old” Java classes and methods • The annotation @Path exposes a resource • Think resources and URIs using Java classes and @Path 27
  • 28. POJO + Annotation = JAX-RS resource 28
  • 31. Address-ability through HTTP Methods • Methods: what are the HTTP methods? • HTTP methods implemented as Java methods annotated with – @POST – @GET – @PUT – @DELETE 31
  • 32. Uniform interface: methods on root resources @Path(“/books/”) class books { @POST <type> create(<type>) { ... } @GET <type> get() { ... } } @Path(“/books/{isbn}/”) class book { @GET <type> get(...) { ... } @PUT void update(...) { ... } @DELETE void delete(...) { ... } } Java method name is not significant The HTTP method is the method 32
  • 33. Leading JAX-RS implementations • Glassfish Jersey project • RESTEasy(JBoss) • Apache CXF (Apache Software Foundation) • Wink (ASF incubation project) • Restlet(NoeliosTechnologies) 33
  • 34. Resources  Some contents are borrowed from the presentation slides of Sang Shin, Java™ Technology Evangelist, Sun Microsystems, Inc.  JAX-RS… and the REST will follow, Guy Nir, Java Edge 09 34
  • 35. Thank you [email protected] www.facebook.com/imcinstitute www.imcinstitute.com 35