JVA-563. Developing RESTful Services in Java

Similar documents
JVA-117E. Developing RESTful Services with Spring

JVA-163. Enterprise JavaBeans

JVA-117A. Spring-MVC Web Applications

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Java EE 7: Back-End Server Application Development

Developing Applications with Java EE 6 on WebLogic Server 12c

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

CO Java EE 7: Back-End Server Application Development

Java J Course Outline

CO Java EE 6: Develop Web Services with JAX-WS & JAX-RS

Introduction to Web Application Development Using JEE, Frameworks, Web Services and AJAX

RESTful Java with JAX-RS

Developing RESTful Services in Java

open source community experience distilled

Java EE 6: Develop Business Components with JMS & EJBs

Web Application Development Using JEE, Enterprise JavaBeans and JPA

/ / JAVA TRAINING

com Spring + Spring-MVC + Spring-Boot + Design Pattern + XML + JMS Hibernate + Struts + Web Services = 8000/-

Java SE 8 Fundamentals

Fast Track to EJB 3.0 and the JPA Using JBoss

Web Application Development Using JEE, Enterprise JavaBeans and JPA

1 Markus Eisele, Insurance - Strategic IT-Architecture

Hands-on Development of Web Applications with Java EE 6

Call: JSP Spring Hibernate Webservice Course Content:35-40hours Course Outline

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

JavaEE.Next(): Java EE 7, 8, and Beyond

Specialized - Mastering JEE 7 Web Application Development

"Charting the Course... Mastering EJB 3.0 Applications. Course Summary

Java EE 5 Development for WebSphere Application Server V7

Courses For Event Java Advanced Summer Training 2018

Java EE 7 is ready What to do next? Peter Doschkinow Senior Java Architect

Spring & Hibernate. Knowledge of database. And basic Knowledge of web application development. Module 1: Spring Basics

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

CO Java EE 6: Develop Database Applications with JPA

The Evolution of Java Persistence

SERVICE TECHNOLOGIES

Migrating traditional Java EE applications to mobile

ive JAVA EE C u r r i c u l u m

Developing Applications for the Java EE 7 Platform 9-2

Web Application Development Using Spring, Hibernate and JPA

Web Application Development Using Spring, Hibernate and JPA

Struts: Struts 1.x. Introduction. Enterprise Application

Enterprise JavaBeans, Version 3 (EJB3) Programming

Java Training Center, Noida - Java Expert Program

Fast Track to Java EE 5 with Servlets, JSP & JDBC

foreword to the first edition preface xxi acknowledgments xxiii about this book xxv about the cover illustration

Java EE 6: Develop Web Applications with JSF

112-WL. Introduction to JSP with WebLogic

Developing RESTful Services in Java

Java SE7 Fundamentals

Programming Web Services in Java

Introduction to Spring Framework: Hibernate, Spring MVC & REST

Contents at a Glance

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

Deployment. See Packaging and deployment processes

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

Web Application Development Using Spring, Hibernate and JPA

COURSE DETAILS: CORE AND ADVANCE JAVA Core Java

Rest Client for MicroProfile. John D. Ament

JAX-RS. Sam Guinea

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

JAVA. 1. Introduction to JAVA

Java Web Service Essentials (TT7300) Day(s): 3. Course Code: GK4232. Overview

Rest Client for MicroProfile. John D. Ament, Andy McCright

CMP 436/774. Introduction to Java Enterprise Edition. Java Enterprise Edition

Chapter 1 Introducing EJB 1. What is Java EE Introduction to EJB...5 Need of EJB...6 Types of Enterprise Beans...7

ORACLE APPLICATION EXPRESS, ORACLE REST DATA SERVICES, & WEBLOGIC 12C AUTHOR: BRAD GIBSON SENIOR SOLUTIONS ARCHITECT ADVIZEX

112. Introduction to JSP

Network Function Store

Oracle Fusion Middleware 11g: Build Applications with ADF I

DOC // JAVA TOMCAT WEB SERVICES TUTORIAL EBOOK

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

Aim behind client server architecture Characteristics of client and server Types of architectures

JBoss SOAP Web Services User Guide. Version: M5

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

2 Apache Wink Building Blocks

Developing Data Access Solutions with Microsoft Visual Studio 2010

Call: Core&Advanced Java Springframeworks Course Content:35-40hours Course Outline

JAVA SYLLABUS FOR 6 MONTHS

Modern web applications and web sites are not "islands". They need to communicate with each other and share information.

Create and Secure Your REST APIs with Apache CXF

Writing Servlets and JSPs p. 1 Writing a Servlet p. 1 Writing a JSP p. 7 Compiling a Servlet p. 10 Packaging Servlets and JSPs p.

A Generic Adaptive Method for Corruption Mitigation in Trial Monitoring System with Restful Authorization. India)

PS/2 Web Services

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

RESTEasy. Distributed peace of mind

"Charting the Course... MOC A Developing Data Access Solutions with Microsoft Visual Studio Course Summary

Page 1

Enterprise JavaBeans 3.1

5.1 Registration and Configuration

Introduction to Spring 5, Spring MVC and Spring REST

Oracle Corporation

ADVANCED JAVA COURSE CURRICULUM

Oracle Fusion Middleware 11g: Build Applications with ADF I

FILE - JAVA WEB SERVICE TUTORIAL

EclipseLink. Solutions Guide for EclipseLink Release 2.6. June Beta Draft

LTBP INDUSTRIAL TRAINING INSTITUTE

RESTful Services. Distributed Enabling Platform

Transcription:

JVA-563. Developing RESTful Services in Java Version 2.0.1 This course shows experienced Java programmers how to build RESTful web services using the Java API for RESTful Web Services, or JAX-RS. We develop a clear sense of the key concepts of REST ultimately the thorough and thoughtful use of URLs, HTTP methods, and media types to design and implement scalable and maintainable enterprise services. Then we dive into the elegant JAX-RS standard for building RESTful services, learning how to manage URLs and URL patterns and methods, how to bind input and control response production, and how to manage HTTP entities in popular content types such as XML and JSON. From here students investigate intermediate features including dependency injection, error handling, and JSR-303 validation, and use Java generics to implement patterns for common operations over an application's domain classes. We explore the JAX-RS client API, and filters and interceptors, before closing with a summary chapter on REST security that includes implementations of HTTP BASIC security and HMAC signatures. Prerequisites Strong Java programming skills are essential Course 103 is excellent preparation. Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required. Learning Objectives Understand the advantages of the REST architecture for web services. Use JAX-RS to develop simple RESTful services. Control dispatching to service methods based on URL patterns and HTTP methods. Bind request values to method parameters when expressed as HTTP query parameters, form values, headers, cookies, and more. Manage XML and JSON content using XML Schema and JAXB or without JAXB using leading JAX-RS providers and Reflection-driven entity providers such as MOXy and Jackson. Handle error conditions by producing appropriate HTTP responses. Use JSR-303 validation for request parameters, headers, and entities. Use Java generics to implement REST API patterns for various domain classes. Take advantage of lifecycle and context services available to JAX-RS services. Implement REST clients using the JAX-RS standard API. Build filters and interceptors to adapt service endpoint behavior. Be aware of security concerns for RESTful services and secure services appropriately. Course Length: 5 days Server Support: Tomcat This version of the course works with the Tomcat server. Our Java EE courses are available in variants that support various server products, including Tomcat, GlassFish, JBoss, and WebLogic. IDE Support: Eclipse Luna or higher In addition to the primary lab files, an optional overlay is available that adds support for Eclipse 1

Luna or higher. Students can code, build, deploy, test, and debug all exercises from within the IDE. Course Outline 1. Overview of REST and JAX-RS The REST Vision Use of HTTP Use of URIs Use of Content Types CRUD Operations and Business Operations HATEOAS and the Richardson Maturity Model JAX-RS Applications, Resources, and Providers 2. Configuration and Lifecycle The JAX-RS Application XML Configuration Annotation-Driven Configuration Applications Root Resource Classes Per-Request vs. Singleton Lifecycle Providers 3. Dispatching Requests The Application Path The @Path Annotation The HTTP Method Annotations Sub-Resource Locators Annotation Inheritance and overriding @XXXParam Annotations The @DefaultValue Annotation Parameter Types Parameter Converters 4. Producing Requests Supported Return Types The Response Class Response Entities 2

Binary Content Delivering a File 5. Entity Translation Entity Parameter and Return Type Entity Providers @Consumes and @Produces Annotations Built-In Entity Providers Custom Entity Providers 6. Working with XML and JSON The JAXB Entity Provider Driving XML Representations from Schema Driving JSON Representations with JAXB JSON Without JAXB: Jackson, MOXy, etc. CRUD Patterns Error Handling Sub-Resources 7. Dependency Injection The @Context Annotation Injectable Types The Application Subclass Servlet Configuration and Context Impact of Lifecycle Policies Context Providers Using CDI 8. Validation and Error Handling Using Response Throwing WebApplicationException Exception Mapping Providers Selection of Exception Mappers Support for JSR-303 Annotating Method Parameters Annotating Entity Classes Error Reporting 9. Generic Services 3

Generic Entities Generic Entity Providers ParameterizedType Reflection-Driven Entity Providers Annotation Inheritance CRUD Patterns, II Serialization, Recursion, and Scope Dynamic Sub-Resources 10. Working with Databases Persistence Services The Java Persistence API JPA Support for JSR-303 Handling IDs and Keys Cascading Caching Error Handling Hypermedia Challenges 11. Sub-Resources Significance of Sub-Resources Exposing Sub-Objects Exposing Collections Multiple Paths to Resources Exposing Actions Using Sub-Resource Locators Collection vs. Instance Services 12. The Client API The Builder Pattern Client WebTarget Invocation Basic Usage Managing Content Types and Entities Error Handling 4

Registering Providers The Service Locator Pattern Generic Clients 13. Filters and Interceptors The Filter Interfaces Processing Pattern The Request and Response Context Interfaces Aborting a Request The Interceptor Interfaces Adaptive Streams Filters on the Client Side Interceptor Strategy for Hypermedia 14. Testing Testing JAX-RS Services Unit Testing and Integration Testing Mocking the Container The Jersey Test Framework Test Configuration Mocking Dependencies Testing JAX-RS Clients Mocking Services 15. Security Concerns for RESTful Services Authentication and Authorization HTTP BASIC and DIGEST HTTPS Programmatic Security SQL Injection Cross-Site Request Forgery Message-Level Security HMACs 5

6