| 
 
|  |  | 
	
		|  |  
		| 
            | Java Training   Overview 
 
 
				
A comprehensive look at the state of the art in developing interoperable web services on the Java EE 6 platform. Students learn the key standards for both SOAP-based and RESTful services, and the Java architectures that have evolved to build interoperable services and clients.
 We begin with an introductory module that covers both SOAP-based and RESTful services, and therefore both JAX-WS and JAX-RS. We then discuss JAXB, as this highly useful XML API is integral to both.
 
 The remainder of the course is split between two larger modules, each of which falls on one side of the fence: either SOAP services with JAX-WS, or RESTful services with JAX-RS. We cover SOAP, WSDL, and both WSDL-driven and Java-driven development paths for JAX-WS, as well as client-side development. Then students work with the Jersey implementation of JAX-RS to create RESTful services, from simple single-value interactions to more sophisticated services that manage CRUD (create/retrieve/update/delete) operations on more complex data types, using JAXB to marshal and unmarshal data over the wire.
 
 Java Training   Learning Objectives
 
						Java Training   PrerequisitesBe able to describe the interoperable web services architecture, including the roles of SOAP and WSDL in component-based services and XML and HTTP in the REST architecture.Understand the importance of the WS-I Basic Profile for interoperable web services.Build JAX-WS services and clients that take full advantage of the automated data binding of JAXB.Build WSDL-to-Java and Java-to-WSDL services, with equal facility.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 content using XML Schema and JAXB.Incorporate XML entities into service input and output.Take advantage of lifecycle and context services available to JAX-RS services as Java EE components. Server Support: GlassFish  Strong Java programming skills are essential. Course "Java Programming" is excellent preparation
·          Students must be able to read XML documents and to write well-formed XML by hand -- Knowledge of XML Schema will be helpful, too, but is not a strict prerequisite.
·          Experience with other Java EE standards, especially servlets and JSP, will be very helpful in class, but is not strictly required
 
		 
This version of the course works with the GlassFish server. Our Java EE courses are available in variants that support various server products, including Tomcat, GlassFish, JBoss, and WebLogic.
		
	Java Training   Course duration
				
				5 days
		
		Java Training   Course outline
		
 
 Chapter 1. Overview of Web Services
Why Web Services?Service-Oriented ArchitectureHTTP and XMLSOAPWSDLThe SOAP VisionThe REST VisionUDDIThe WS-I Basic ProfileSecurity Chapter 2. Web Services for Java EE
Hosting Web Services: ScenariosWeb Services for Java EEJAX-WS and JAXBWeb-Services MetadataWSDL-to-Java and Java-to-WSDL PathsProvider and Dispatch APIsSAAJ and JAXPJAX-RS for RESTful ServicesJAXR Chapter 3. The Java API for XML Binding
The Need for Data BindingXML SchemaTwo PathsJAXB CompilationMapping Schema Types to JavaJava-to-XML Mapping Using AnnotationsMarshaling and UnmarshalingWorking with JAXB Object Models Chapter 4. The Simple Object Access Protocol
Messaging ModelNamespacesSOAP over HTTPThe SOAP EnvelopeThe Message HeaderThe Message BodySOAP FaultsAttachments Chapter 5. Web Services Description Language
Web Services as Component-Based SoftwareThe Need for an IDLWeb Services Description LanguageWSDL Information ModelThe Abstract Model -- Service SemanticsMessage DescriptionMessaging StylesThe Concrete Model -- Ports, Services, LocationsExtending WSDL -- BindingsService Description Chapter 6. The Java API for XML-Based Web Services
Two PathsHow It Works: Build Time and RuntimeThe Service Endpoint InterfaceWorking from WSDLWorking from JavaRPC and Document StylesOne-Way MessagingBinary Protocols Chapter 7. WSDL-to-Java Development
The @WebService AnnotationGenerated CodeScope of Code GenerationParameter OrderMore JAXB: Mapping CollectionsMore JAXB: Mapping EnumerationsApplying JAXB Customizations Chapter 8. Client-Side Development
Stubs and ProxiesGenerated CodeLocating a ServiceInvoking a ServiceThe @WebServiceRef Annotation Chapter 9. Java-to-WSDL Development
Generating the WSDL and SchemaThe @WebMethod, @XmlParam, and Related AnnotationsMore JAXB: Mapping InheritanceControlling the XML ModelControlling the WSDL DescriptionJAXB Customizations with @XmlJavaTypeAdapter Chapter 10. The Java API for RESTful Services
ApplicationsResourcesSub-ResourcesProvidersScanning and @ApplicationPath Chapter 11. Dispatching Requests to Methods
The Application PathThe @Path AnnotationThe HTTP Method AnnotationsSub-Resource LocatorsAnnotation Inheritance and overriding Chapter 12. Parameter and Return Types
Simple Parameter Types@Consumes and @Produces Annotations@XXXParam AnnotationsThe @DefaultValue AnnotationReturn TypesBinary ContentDelivering a File Chapter 13. Entities and Complex Content
Entity ProvidersBuilt-In Entity ProvidersWorking with XMLDriving XML Representations from Schema Chapter 14. Context and Lifecycle
Reading Web ResourcesFinding Java EE ComponentsFinding DatabasesSecurity Contexts Appendix A. Course Tools and UtilitiesAppendix B. Handy Guide to Web-Services AcronymsSystem Requirements
 Hardware – minimal:                     Core 2 Duo, 1.5 GHz, 2 gig RAM, 1 gig disk space.
 
 Hardware – recommended:           Core 2 Duo, 2.5 GHz GHz, 4 gig RAM, 1 gig disk space.
 
 Operating system:  Tested on Windows 7 and Windows XP Professional. Course software should be viable on all systems which support a Java 6 Developer's Kit.
 
 Network and Security Limited privileges required
 
 Software:                                       All free downloadable tools.
 |  |  |  |