CTE Solutions chair
Quick Search:  
Course No.  
FacebookTwitterLinkedInYouTube
Savings

Got A Question?
Talk to an Educational Consultant and get the answers you need.

By Phone
Ottawa: 613-798-5353
Toronto: 416-284-2700
Toll Free: 866-635-5353

right arrow Ask your question online

JV015 - RESTful Java and Web Services

View Dates and Locations

Summary


Representational State Transfer (REST) has gained widespread acceptance across the Web as a simpler alternative to SOAP- and Web Services Description Language. The Java API for Restful web service is a new API that aims to make development web services in Java simple.
 
Prerequisite



Course Outline


Chapter 1: Introduction


What is REST?
Why is it Called Representation State Transfer?
Rest – An Architectural Style.
Example of Restful Web Service
Two Fundamental Aspects of the REST Design Pattern
Resource
HTTP
HTTP Methods
Resources With Multiple Representations
Components
Connectors
Communicate Statelessly
Summary


Chapter 2: Examples


Example 1: Parts Depot


Logical URLs Versus Physical URLs.
Java, REST And RESTEasy.


Example 2: Hello World


  • Creating Project
  • HelloWorldResource Class
  • Registering Web Services
  • Web.xml File
  • Export WAR File
  • Run Web Service

Exercise


Method With Parameter
Method With More Then One Parameter


Exercise


Chapter 3: Design Restful Service


@PathAnnotation
@Path: Template Parameters
@Produces Annotation
@Consumes Annotation
Application Class
JAX-RS And Java Interfaces


Customers Example


  • Customer Class
  • CustomersResource
  • ClassRetriving Customers
  • Updating a Customer
  • The outputCustomer() Method
  • The readCustomer() Method
  • Run Example

Summary


Chapter 4: JAX-RS Injection


@PathParam Annotation
@QueryParam Annotation
@HeaderParam
@Content Annotation


Example With a Form


  • Matrix Parameters
  • PathSegment And Matrix Parameters
  • @FormParam Annotation
  • Automatic Conversion
  • @DefaultValue Annotation

Example
Exercise
Summary



 

      3 Ways to Register
$595.00
$505.75 CAD
online only

Register Online
1 (866) 635-5353
sales@ctesolutions.com
Ask About This Course

  Latest Tweet


About This Course
Certifications
Register Online and instantly save!