CA Workload Automation (DE) Application and Web Services Agents John Crespin
Agenda > Evolution of the Workload Automation > Application Services Agent > Web Services Agent 1 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Evolution of Workload Automation > Monolithic Job Schedulers Scheduling workload on a single platform > Cross-Platform Scheduling Single Point of Control Distributed Agents Initially focused on OS-related task Run scripts and binaries File monitors 2 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Evolution of Workload Automation > Introduction of file transfer FTP client FTP server > Additional monitoring capabilities Disk Space, CPU IP Addresses and Ports State of processes Windows State of Services Event Logs 3 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Evolution of Workload Automation > Emergence of SOA and Web Services Generic API for interconnection between applications > Emergence of Java as a mission-critical business platform Java EE Application Servers JMX for instrumentation of Java applications JMS as a standard for utilising message brokers such as MQ Series > CA WA Agents provide interface between these technologies and your CA WA Scheduler 4 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Agent extended > Based on the R11.3 System Agent > Extends the power of traditional Workload Automation > Installs two additional plug-ins Two for Application Services functionality Two for Web Services functionality > Provides an ability to store and reuse results in subsequent jobs 5 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Application Services Agent > The bridge between Workload Automation and the world of Web and Java > Multifaceted integration Allows invocation of Java code Allows to talk to the front-end Allows to talk to the back-end Allows to monitor the health of the backend solution 6 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Java Code > Leverages investment in existing Java applications > Provides an ability to write custom code for integration with these applications > Allows to create complex scripts with low latency > How Invocation of Java code directly Invocation of Java code through RMI 7 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Java Code Illustration > Write an application that requires multiple calls within same context: Logon Log off Retrieve data Manipulate data locally Modify data at the remote entity > The produced data can be reused in subsequent jobs 8 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Java Code Points to mention > The Java code runs with the same Class Loader as the agent > The code can not be refreshed until the agent restarts > The code runs within the same JVM as the rest of the agent: Please be very careful. System.exit(1) will terminate the agent! 9 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Agent in Java EE World 10 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Front End > Automate human interaction Forms can be filled and sent dynamically The result can be filtered for specific keywords Queries can be made and results analysed > How The agent can send HTTP GET/POST requests Agent is capable of invoking Servlets Agent is capable of submitting forms 11 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End > Provides capabilities to integrate Java EE application in workflow Allows to start Java EE application by calling an EJB Allows to trigger Java EE application or workflow by triggering an event inside Java EE application > How Stateful or Stateless Session EJB can be invoked JMS Message can be sent, thus triggering MDB Utilises industry standard specifications 12 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End > Provides an ability to trigger Workload Automation application based upon Java EE events Can listen for an event produced by the Java EE world Events can be filtered based on specified criteria > How Seamlessly utilises widely available infrastructure Subscribes for JMS Queue or Topic JMS is implemented by vendors such as IBM, Oracle 13 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End - JMS > Utilises JMS specification > Acts as JMS client > Provides capability to subscribe to Queue Topic > Is capable of treating Queue as Topic Still destructive read Can service multiple monitor requests from single message Was created to allow using MQ-series in Topic-like capacity 14 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS. Examples > An outsourced help desk vendor captures information about abended jobs in CA dseries and publishes that information on a JMS Queue that Service Desk picks up and creates a service request record > A java application publishes messages containing status of system health. CA dseries subscribes to these messages and based upon status received can raise an alert or trigger an event > Files are FTP ed to a host and CA dseries recognises their creation via a file monitor or dataset trigger. It publishes the file to an MQ queue for a downstream application to pick up and process it. 15 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS Queue Workload Automation Manager JMS Provider 16 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS Subscribe Job 17 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS Subscribe Job > Will trigger on a message: > Sent to queue/a > Containing this is my success message 18 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS Publish Job 19 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Back End JMS Publish Job 20 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Health Monitoring > The agent can monitor and control health and configuration of the Application Server The agent can listen to critical notifications The agent can query and set parameters The agent can invoke management functions of the Application Server > How Java Management Extensions JMX Remoting - JSR 160 21 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Health Monitoring. JMX > Industry standard > Allows enumeration of Management Beans > Allows to subscribe to notifications > Allows to query and set MBean attributes > Allows to invoke the MBean management functions 22 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Health Monitoring. JMX > The information provided is similar to that of JConsole 23 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
JMX Get Attribute Job 24 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
JMX Get Attribute Job 25 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
SOA > Architecture based on Interoperability between different systems different programming languages > Many application platforms moving towards SOA SAP NetWeaver Oracle Fusion Microsoft.NET 26 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Service > A collection of protocols designed to support Machine to Machine interaction over a network. Work is executed on a remote system hosting the requested service Platform-independent > A standards-based API XML based WSDL provides integration information. 27 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Services Agent > Integrates Workload Automation and the world of SOA > Extends the workflow to the Cloud Allows to link.net services into an application Provides an additional way to start a process inside the Application Server > How Web Services invocation 28 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Services Agent > CA Workload Automation Scheduler Defines the Web Services Job > Web Services plug-in Executes the request CA Scheduling UI CA Scheduling Manager Agent Web Service 29 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Services Job > Implemented using JAX-RPC RPC/Encoded style of Web Services supported > Accepts parameters required to call remote method Can use the output of the previous job > Accepts data required to parse the output > Will persist the returned data for reuse in other jobs 30 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Services Job 31 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Web Services Job Examples > Submitting jobs to any 3 rd party application with a standards compliant Web Service API. > Triggering workload in CA WA Scheduler from a packaged application, workflow engine, web application > Calling an external Web Service as part of the job flow in order to get data returned that can be used downstream in the application. > Receiving a customer request from a web application, running a job and returning the result back to the web application. 32 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Terms of This Presentation This presentation was based on current information and resource allocations as of October 2009 and is subject to change or withdrawal by CA at any time without notice. Notwithstanding anything in this presentation to the contrary, this presentation shall not serve to (i) affect the rights and/or obligations of CA or its licensees under any existing or future written license agreement or services agreement relating to any CA software product; or (ii) amend any product documentation or specifications for any CA software product. The development, release and timing of any features or functionality described in this presentation remain at CA s sole discretion. Notwithstanding anything in this presentation to the contrary, upon the general availability of any future CA product release referenced in this presentation, CA will make such release available (i) for sale to new licensees of such product; and (ii) to existing licensees of such product on a when and if-available basis as part of CA maintenance and support, and in the form of a regularly scheduled major product release. Such releases may be made available to current licensees of such product who are current subscribers to CA maintenance and support on a when and if-available basis. In the event of a conflict between the terms of this paragraph and any other information contained in this presentation, the terms of this paragraph shall govern. 33 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
For Informational Purposes Only Certain information in this presentation may outline CA s general product direction. All information in this presentation is for your informational purposes only and may not be incorporated into any contract. CA assumes no responsibility for the accuracy or completeness of the information. To the extent permitted by applicable law, CA provides this document as is without warranty of any kind, including without limitation, any implied warranties or merchantability, fitness for a particular purpose, or non-infringement. In no event will CA be liable for any loss or damage, direct or indirect, from the use of this document, including, without limitation, lost profits, lost investment, business interruption, goodwill, or lost data, even if CA is expressly advised of the possibility of such damages. 34 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA
Questions, Discussion 35 October 16, 2009 CA Workload Automation (DE) Application and Web Services Agents Copyright CA