This course teaches developers how to build services in Java, in particular through using for software developers who need to build, test and deploy the …
Building Services in Java
Aims:
Java is a language known for its power and flexibility, if not always its clarity Many options have been proposed for developing Services in Java, but few follow a standard API, and there is little guidance about which approach is right for which scenario As standards advance, new tools and frameworks become available, and developer tools struggle to keep up, it can be difficult to determine the best way to use Java to create Services This course teaches developers how to build services in Java, in particular through using the Apache Axis2 Framework The course covers all of the basics of Web services and how to create them, how to consume them, how to debug them, and how to monitor them Some of the more important WS- specifications are covered and how they are applied It also examines the various options presented to Java developers, and how to pick the best fit for your project Design and Implementation issues are addressed, and important policy considerations are discussed
Objectives:
Understand the basic concepts of services Understand the basic web services technology stack Understand the various Java Web Services tools and
frameworks Understand how to create basic service providers Understand how to create basic service consumers Understand the different data binding techniques use when implementing services Understand the different message exchange patterns Understand the basic principles of publishing services Understand the various WS- specifications and how they are utilized Understand how to monitor and debug services Understand how to test services Understand the best practices in Java service oriented development
Audience:
This course is designed for software developers who need to build, test and deploy the actual services
Building Services in Java Copyright and Trademark TM 2001 - 2007 MomentumSI TM All rights reserved
1
Building Services in Java
Prerequisites:
Service Oriented Design Course Familiarity with Java and XML Familiarity with Eclipse IDE
Duration:
1-4 days depending on development environment
Outline:
1 Web Services Overview
Review of WS-I Basic Profile Review of important WS-
5 Building and Deploying a Simple Service Provider
standards
2 Why create services in Java
A history of Java Web Services and Java Core Overview of Available Java Web Reason for
using Axis2
Utilizing Generated Build Scripts Overview of Default Data Binding Basic Axis2 Administration Deploying a Service Provider Archive to Axis2 Inspecting Deployed Service Provider via Axis2 Admin 6 Invoking a Simple Service
Services tools and frameworks
3 Overview of Axis2 Web Service Development
Services Oriented Design review Services Oriented Design artifacts Overview of Axis2 toolset
Generating an Axis2 Client Stub Inspection of Generated Code Utilizing Generated Build Scripts Utilizing Generated Test Case Consuming the Simple Service Provider
4 Generating a Simple Service Provider
Review of Contract First Working with WSDL documents Generating Axis2 Service Skeletons Understanding WSDL to Java Examining Generated code Overview of where Service
7 Axis2 Data Bindings
Development
Overview of AxiOM Overview of Axis Data Binding Overview of XMLBeans Binding Overview of JiBX Binding Pros and Cons
Conversion Parameters
8 Messaging Exchange Patterns Invocations Callback JMS
Utilizing Asynchronous Service Consumer-based Threading Service Provider to Consumer Asynchronous messaging using
Implementation needs to take place
Building
Services in Java Copyright and Trademark TM 2001 - 2007 MomentumSI TM All rights reserved 2
Building Services in Java
9 Error Handling
Understanding Web Service Faults Creating a useful Fault in the Gracefully handle Faults in a
13 Transactions
Service Provider
Review of WS-AtomicTransaction Review of WS-BusinessActivity Local Transactions versus
Service Consumer
Distributed Transactions 14 Testing
10 Alternative Means of Service Provide Creation
Exposing existing interfaces Axis2-wrapped POJOs Pros and Cons
Generating Test Cases based Executing Test Cases Discussion of positive and negative Testing Best Practices
upon Service Contract testing
11 Services Publishing
Overview of UDDI Pros and Cons of Service Publishing Subscriptions
15 Summary
Publishing
Review of Key Issues Commonly referenced Best Industry Consortium Overview Industry Standard XML Useful Tools
Practices
12 Security and Policy Security
Protecting Services with WS Using WS-SecurityPolicy Integration with existing security
Vocabularies
Building Services in Java Copyright and Trademark TM 2001 - 2007 MomentumSI TM All rights reserved
3
Source:vasrue.com


































