Goals:
Key feature for application performance
Running deepthought.soap.client.SyncServiceClient
public static void main(String args[]) DeepThought d = getService(); //The service call and response handling // are done by the following line String response = d.computeAnswer(); System.out.println("The answer is: " + response); System.out.println("Shutting down...");
@WebService public class DeepThoughtImpl implements DeepThought { @Override public String computeAnswer() { //Handle the query try { Thread.sleep(10000); //Wait for 10 seconds } catch (InterruptedException e) { } return "42"; //Return the result }
Do the same analysis for the other clients.
Compare what the benefits/inconvenients of each approaches are.
Implement a service router capable of redirecting a message to different versions of a service by inspecting a SOAP message header.
In the Apache CXF Framework, each message is handled by an interceptor chain before it is delivered to a service.
Each interceptor in the chain can do whatever it wants with the message. This includes parsing the message, logging it, validating WS-Security headers, etc.
Interceptors are divided up into phases.
Refer to the documentation for more details.
A partial Interceptor that routes messages is provided.
You need to register it, and to complete its implementation.
See the assignment for details.
WS-BEPL is language for specifying executable web-services-based workflows.
Apache ODE can execute WS-BPEL processes.
It can be installed as a war file on top of Apache Tomcat.
The assignment contains instructions on how to setup these tools.
Note that the BPEL designer of Eclipse is already installed.
Table of Contents | t |
---|---|
Exposé | ESC |
Full screen slides | e |
Presenter View | p |
Source Files | s |
Slide Numbers | n |
Toggle screen blanking | b |
Show/hide slide context | c |
Notes | 2 |
Help | h |