Building REST and SOAP Web Services with Java Training

Course 577

  • Duration: 4 days
  • Labs: Yes
  • Language: English
  • Level: Advanced

This SOAP and REST Web Services training course provides experienced Java programmers with the skills to write new SOAP and REST web services, and access existing services. With this training, you also learn how to secure web services using both Java-specific and language-independent security technologies, and how the Java APIs — JAX-WS and JAX-RS — deliver a set of powerful tools for developing a Service-Oriented Architecture (SOA).

  • Knowledge at the level of:
  • Three months of experience writing Java programs, including an understanding of Java classes and the inheritance model
  • You should be able to:
    • Create and run a complete stand-alone Java application
    • Use the standard flow control constructs (if/then/else/while/for)
    • Instantiate Java objects and call instance methods
    • Create classes that implement interfaces

Building REST and SOAP Web Services with Java Training Delivery Methods

  • After-course instructor coaching benefit
  • Learning Tree end-of-course exam included
  • After-course computing sandbox included

Building REST and SOAP Web Services with Java Training Course Benefits

Develop, deploy, and monitor SOAP and RESTful web services and web service clients with JAX-WS and JAX-RSImplement a Service-Oriented Architecture (SOA) using web servicesCreate and deploy WSDL-first and code-first SOAP web servicesBuild secure SOAP and REST clients

SOAP and REST Web Services Course Outline

Interoperable applications with SOA

  • Designing an SOA integration architecture
  • Implementing SOAs with web services

Java standard APIs for web services

  • Building SOAP–based services with JAX–WS
  • Developing RESTful services with JAX–RS

XML essentials

  • XML namespaces
  • Describing XML with schema

Structure of SOAP messages

  • Role of SOAP in web services
  • Operations, messages and faults

Anatomy of a WSDL document

  • Defining the interfaces of a web service
  • Specifying implementation

Exposing plain old Java objects (POJOs) as web services

  • Applying JAX–WS annotations to POJOs
  • Configuring and deploying a web service implementation

Implementing SOAP clients in Java

  • Generating client–side artifacts from WSDL
  • Modifying client code to permit message monitoring
  • Authenticating and authorising clients

Augmenting SOAP–based services

  • Incorporating best practises for web services
  • Implementing policies for security, reliability and message optimisation

Contract–first service development

  • Comparing contract–first and code–first services
  • Creating portable Java artifacts

Importing a WSDL document

  • Building interoperable applications by conforming to Web Services Interoperability (WS–I) standards
  • Implementing a web service endpoint using JAX–WS

Introduction to REST (Representational State Transfer)

  • Describing the REST architectural style
  • Comparing SOAP and RESTful web services

Developing RESTful web services using JAX–RS

  • Adding JAX–RS annotations to a POJO
  • Configuring result types using HTTP request headers
  • Deploying a JAX–WS service

Customising a RESTful Service Implementation

  • Interacting with request URLs
  • Mapping URLs to Java classes and methods
  • Binding URL components to method arguments

Handling JavaScript Object Notation (JSON)

  • Applying cases for JSON with RESTful services
  • Interpreting a message formatted as JSON

Mapping Java to JSON

  • Controlling JSON generation with JAXB annotations
  • Defining a JSON return type from a Java method

Dispatching REST messages using JAX–RS

  • Building the client’s request
  • Handling the service’s response code and exceptions

Marshalling JavaBeans with JAXB

  • Mapping XML with Java API for XML Binding (JAXB)
  • Converting Java arguments with JAXB and JAX–RS

Processing asynchronous messages

  • Implementing server–push with JAX–RS
  • Delivering asynchronous client requests

Configuring a secure web service

  • Configuring HTTP Basic Authentication
  • Establishing secure message transmission with SSL/TLS

Authenticating and authorising clients

  • Controlling access to web services and methods
  • Providing authentication information to web services

Need Help Finding The Right Training Solution?

Our training advisors are here for you.

Course FAQs

Yes! We know your busy work schedule may prevent you from getting to one of our classrooms which is why we offer convenient online training to meet your needs wherever you want, including online training.