Creating Web Services with Apache Axis
|
|
- Sylvia Hart
- 6 years ago
- Views:
Transcription
1 1 of 7 11/24/2006 5:52 PM Published on ONJava.com ( See this if you're having trouble printing code examples Creating Web Services with Apache Axis by Dion Almaer 05/22/2002 Web services have been a buzzword for a while. A friend used to say "Web services are like high school sex. Everyone is talking about doing it, but hardly anyone is, and those that are probably aren't doing it well." These days, though, Web services are moving to college, so to speak, and lots of people are starting to "do it" more often and better than before. Tools are maturing, and creating and working with Web services isn't all that hard anymore. IBM has given a lot of code to the Apache group, including SOAP4J, their group of SOAP tools. The Apache SOAP and SOAP4J guys got together and are working on the latest and greatest tool set called Apache AXIS, which features not only better performance, but also some new features that make it trivial to play in this new world. I see the most common actions being "I want to expose this functionality as a Web service," and "I want to access that Web service." Surely it should be very straight-forward to strap on this interface, and you shouldn't have to learn everything there is to know about the underlying platform. This is the same idea as not having to know about the IP and TCP layer when accessing a URL over HTTP. Let's keep it simple, folks. Notes on running sample application You can download the code and scripts to run the Fibonacci Web service. Your first step is to get Apache Axis running; then you can unzip the code and follow our steps. Read the README.txt in the distribution, as it covers how to set up your CLASSPATH and other deployment issues. In this article, I will show two parts of this new system: First, I will show the "easy to deploy" feature that lets you drop a source file into the AXIS Web application and have it become a Web service -- just like that! Then we will use the new WSDL2Java and Java2WSDL tools to see how we can quickly get a WSDL descriptor and access the associated Web service, and then how to easily expose some Java code. All of the code that is listed (and downloadable) was written for Apache Axis beta1. There are more instructions on running the code at the end of the article. NOTE: I assume that you have basic knowledge of Web services. If you need to look up what a WSDL file is, checkout the Web services section of ONJava.com. Deploying Your Code as a Web Service in One Easy Step The Apache guys realized that it would be really nice to be able to drop some code somewhere and have it become a Web service "just like that." This simplicity is a current trend; Microsoft has it in.net, and BEA in
2 2 of 7 11/24/2006 5:52 PM the WebLogic 7 platform. But just how easy is it to: Deploy a piece of code? Write a client that accesses the Web service? Obtain the WSDL for the deployed Web service? Deploy a Java Class as a Web service Let's take the simple Calculator.java class from the samples.userguide.example2 package and expose its two methods (add() and subtract()) through Web services. We simply copy the Java file into the Axis Web application, using the extension.jws instead of.java: % cp samples\usersguide\example2\calculator.java %TOMCAT_HOME%\webapps\axis\Calculator.jws Just by having the code (with the.jws extension) in the Web application deploys it and allows us to access it. If we open a browser and access the file (e.g. we will be told that we are talking to a Web service. How easy was that?! A simple copy command and we are done. Related Reading Java Web Services By David A. Chappell, Tyler Jewell Table of Contents Index Sample Chapter Read Online--Safari Search this book on Safari: Only This Book Code Fragments only Write a Client That Accesses the Web Service Now we have a deployed Web service; we need to access it. Let's look at a client that allows us to pass in a math operation (add or subtract) and the two amounts to work with. package samples.userguide.example2; import org.apache.axis.client.call; import org.apache.axis.client.service; import org.apache.axis.encoding.xmltype; import org.apache.axis.utils.options; import javax.xml.rpc.parametermode; public class CalcClient { public static void main(string [] args) throws Exception { Options options = new Options(args); String endpoint = " + options.getport() + "/axis/calculator.jws";
3 3 of 7 11/24/2006 5:52 PM // Do argument checking args = options.getremainingargs(); if (args == null args.length!= 3) { System.err.println("Usage: CalcClient <add subtract arg1 arg2"); return; String method = args[0]; if (!(method.equals("add") method.equals("subtract"))) { System.err.println("Usage: CalcClient <add subtract arg1 arg2"); return; // Make the call Integer i1 = new Integer(args[1]); Integer i2 = new Integer(args[2]); Service service = new Service(); Call call = (Call) service.createcall(); call.settargetendpointaddress(new java.net.url(endpoint)); call.setoperationname( method ); call.addparameter("op1", XMLType.XSD_INT, ParameterMode.PARAM_MODE_IN); call.addparameter("op2", XMLType.XSD_INT, ParameterMode.PARAM_MODE_IN); call.setreturntype(xmltype.xsd_int); Integer ret = (Integer) call.invoke( new Object [] { i1, i2 ); System.out.println("Got result : " + ret); The code first imports all of the required classes. Then we set the URL of the Web service that we want to invoke. Skip past the argument checking, and we get to the meat: we configure the method that we want to call, the parameters to pass, and then invoke the service itself. So, we have deployed and accessed the Web service by writing a minimal amount of code. Obtain the WSDL For the Deployed Web Service What if we wanted to retrieve a WSDL file to give to a programmer who needs to talk to our particular service (and who may be using.net or Python or something else to access it)? Once again, the Apache folk thought of this. We can grab the definition file simply by accessing the Web service and appending?wsdl to the end of the URL. If I simply point my browser to I get the XML descriptor sent back to me. Working With a Production Web Service Although it is really easy and convenient to shove our Java code under the Axis directory as a.jws file, that will not be the way you deploy all of your Web services. A lot of the time we want more fine-grained control over the Web service, to tweak it, and to use other more advanced features. Luckily, with other tools, it is still easy for us to work with our code in a more formal manner. Let's walk through the following process: 1. We have a piece of code that calculates the Fibonacci sequence for a given iteration. 2. We want to take the existing code, wrap it up as a Web service, and then deploy it to the Apache Axis system. 3. Once we have a running service on the server side, we will create Java stubs that allow us to communicate with the service, only requiring the WSDL. After going through this full process, you will be able to create clients to any Web services (when given the WSDL), and wrap up any code, exposing it as a Web service.
4 4 of 7 11/24/2006 5:52 PM Here are the steps we will walk through: View: Take a peek at the existing Fibonacci code. Java2WSDL: Generate the WSDL file for the given Fibonacci interface. WSDL2Java: Generate the server side wrapper code, and stubs for easy client access. FibonacciSoapBindingImpl: Fill in wrapper to call the existing Fibonacci code. Deploy: Deploy the service to Apache Axis. Client: Write a client that uses the generated stubs, to easily access the Web service. 1. View: Take a Peek at the Existing Fibonacci Code There are two files of our existing code: an interface and an implementation class. First, we have defined the Fibonacci interface that has methods for calculating one, or a range of Fibonacci sequences. Example 1. Fibonacci.java package fibonacci; public interface Fibonacci { // Method to calculate the fibonacci sequence public int calculatefibonacci( int num ); // Method to return an array of results public int[] calculatefibonaccirange(int start, int stop); Then we have the real implementation of that code. Don't spend time studying how the Fibonacci sequence is calculated, though; that isn't the point. Example 2. FibonacciImpl.java package fibonacci; public class FibonacciImpl { public int calculatefibonacci( int num ) { if (num <= 0) return 0; if (num == 1) return 1; int previous1 = 1, previous2 = 0, fib = 0; for (int i=2; i <= num; i++) { // the fib is the answer of the previous two answers fib = previous1 + previous2; // reset the previous values previous2 = previous1; previous1 = fib; return fib; public int[] calculatefibonaccirange(int start, int stop) { int[] results = new int[stop + 1]; for (int x=start; x <= stop; x++) { results[x] = this.calculatefibonacci( x ); return results; 2. Java2WSDL: Generate the WSDL File For the Given Fibonacci Interface
5 5 of 7 11/24/2006 5:52 PM Now we have the Fibonacci code, and we compile it (javac). Here comes the first tool that helps us out as we endeavor to make that code a Web service. The Java2WSDL command line will generate a standard WSDL file that conforms to a given interface. We tell the program the information it needs to know as it builds the file, such as: Name of output WSDL (fib.wsdl) URL of the Web service ( Target namespace for the WSDL (urn:fibonacci) Map Java package = namespace (fibonacci = urn:fibonacci) Fully qualified class itself (fibonacci.fibonacci) The full command for our example becomes something like: % java org.apache.axis.wsdl.java2wsdl -o fib.wsdl -l" -n urn:fibonacci -p"fibonacci" urn:fibonacci fibonacci.fibonacci After the program runs, we see that a new file, fib.wsdl, was created for us. If we look inside the file, we see 114 lines of information that needed to be created for this Web service. Aren't you glad that you didn't need to write the whole thing? How do people write them by hand? Now we have defined our Web service. 3. WSDL2Java: Generate the Server-side Wrapper Code and Stubs For Easy Client Access Our next step is to take this WSDL and generate all of the glue code for deploying the service, as well as stubs for accessing it. The WSDL2Java tool comes to our aid here to take that chore out of our hands. Let's generate this code into the fibonacci.ws package, to keep it separate from the original code. Once again, we need to tell this command line some information so it can go ahead and do its work: Base output directory (.) Scope of deployment (Application, Request, or Session) Turn on server-side generation (we wouldn't do this if we were accessing an external Web service, as we would then just need the client stub) Package to place code (fibonacci.ws) Name of WSDL file (fib.wsdl) The full command for our example becomes something like: % java org.apache.axis.wsdl.wsdl2java -o. -d Session -s -p fibonacci.ws fib.wsdl After running this program, a slew of code has been generated for us in the fibonacci\ws directory: FibonacciSoapBindingImpl.java: This is the implementation code for our Web service. This is the one file we will need to edit, tying it to our existing FibonacciImpl. Fibonacci.java: This is a remote interface to the Fibonacci system (extends Remote, and methods from the original Fibonacci.java throw RemoteExceptions). FibonacciService.java: Service interface of the Web services. The ServiceLocator implements this interface. FibonacciServiceLocator.java: Helper factory for retrieving a handle to the service. FibonacciSoapBindingSkeleton.java: Server-side skeleton code. FibonacciSoapBindingStub.java: Client-side stub code that encapsulates client access. deploy.wsdd: Deployment descriptor that we pass to the Axis system to deploy these Web services. undeploy.wsdd: Deployment descriptor that will undeploy the Web services from the Axis system. 4. FibonacciSoapBindingImpl: Fill-in Wrapper to Call the Existing Fibonacci Code We need to tweak one of the output source files to tie the Web service to FibonacciImpl.java.
6 6 of 7 11/24/2006 5:52 PM FibonacciSoapBindingImpl.java is waiting for us to add the stuff into the methods that it created. The lines that we added are in bold: package fibonacci.ws; import fibonacci.fibonacciimpl; public class FibonacciSoapBindingImpl implements fibonacci.ws.fibonacci { FibonacciImpl fib = new FibonacciImpl(); public int calculatefibonacci(int in0) throws java.rmi.remoteexception { return fib.calculatefibonacci(in0); public int[] calculatefibonaccirange(int in0, int in1) throws java.rmi.remoteexception { return fib.calculatefibonaccirange(in0, in1); We are simply tying in to the existing class. We could have hard-coded the methods in this class, but in the real world, we probably want to wrap logic as Web services, and not just enable access via that interface. 5. Deploy: Deploy the Service to Apache Axis Now we are ready to deploy this service. We have to do the following: Compile the Service Code: We first have to javac fibonacci\ws\*.java Package the code for Axis to find: Next, we package all of the code that we have and copy it into Axis' classpath: % jar cvf fib.jar fibonacci/*.class fibonacci/ws/*.class % mv fib.jar %TOMCAT_HOME%/webapps/axis/WEB-INF/lib Deploy the Web Service using the WSDD Deployment Descriptor: Apache Axis has an Admin client command line tool that we can use to do tasks such as (un)deployment, and listing the current deployments. We pass the deployment descriptor to this program so it can do its work: % java org.apache.axis.client.adminclient deploy.wsdd <admin>done processing</admin> Now our Fibonacci Web service is alive and running in the server! 6. Client: Write a Client That Uses the Generated Stubs to Easily Access the Web Service We should check to see if it is working, right? Let's write a simple client that uses the generated client code from the WSDL2Java step, to calculate the Fibonacci number at the 10th step. All we need to do in the code is to get access to the service via the ServiceLocator, and then call methods on the remote handle that we have to the service. It looks just like normal Java; none of that silly SOAP or RPC code is in sight. Isn't that nicer? (Take another look at the CalcClient that we used at the beginning, and compare it to this code.) package fibonacci; public class FibonacciTester {
7 7 of 7 11/24/2006 5:52 PM public static void main(string [] args) throws Exception { // Make a service fibonacci.ws.fibonacciservice service = new fibonacci.ws.fibonacciservicelocator(); // Now use the service to get a stub to the service fibonacci.ws.fibonacci fib = service.getfibonacci(); // Make the actual call System.out.println("Fibonacci(10) = " + fib.calculatefibonacci(10)); Ahh, much nicer. Conclusion We have seen that it is much simpler to work with Web services when using nice tools such as the open source Apache Axis toolkit. Web services should be easy, and they are finally becoming that way. Take another look at the steps that we went through, and notice how little code we wrote to expose our original code as a Web service. These tools are only going to get better; at some point we will just think, "I want this as a Web service," and it will happen. Dion Almaer is a Principal Technologist for The Middleware Company, and Chief Architect of TheServerSide.Com J2EE Community. Return to ONJava.com. Copyright 2006 O'Reilly Media, Inc.
4.1.1 JWS (Java Web Service) Files Instant Deployment
ก ก 1 4 ก ก ก ก ก ก ก ก (SOAP) 4.1 ก ก ก (Create and deploy web service) ก ก ก 2 ก (JWS) ก ก 4.1.1 JWS (Java Web Service) Files Instant Deployment ก Calculator.java ก ก ก ก Calculator.java 4.1 public class
More informationWeb Services. GC: Web Services Part 3: Rajeev Wankar
Web Services 1 Let us write our Web Services Part III 2 SOAP Engine Major goal of the web services is to provide languageneutral platform for the distributed applications. What is the SOAP engine? A (Java)
More informationInvoking Web Services. with Axis. Web Languages Course 2009 University of Trento
Invoking Web Services with Axis Web Languages Course 2009 University of Trento Lab Objective Refresh the Axis Functionalities Invoke Web Services (client-side) 3/16/2009 Gaia Trecarichi - Web Languages
More informationDeveloping Web Services. with Axis. Web Languages Course 2009 University of Trento
Developing Web Services with Axis Web Languages Course 2009 University of Trento Lab Objective Develop and Deploy Web Services (serverside) Lab Outline WS Sum Up: WS-protocols Axis Functionalities WSDL2Java
More information3. ก ก (deploy web service)
ก ก 1/12 5 ก ก ก ก (complex type) ก ก ก (document style) 5.1 ก ก ก ก ก (java object)ก ก ก (xml document ) ก ก (java bean) ก (serialize) (deserialize) Serialize Java Bean XML Document Deserialize 5.1 ก
More informationApache Axis. Dr. Kanda Runapongsa Department of Computer Engineering Khon Kaen University. Overview
Apache Axis Dr. Kanda Runapongsa Department of Computer Engineering Khon Kaen University 1 What is Apache Axis Overview What Apache Axis Provides Axis Installation.jws Extension Web Service Deployment
More informationIntroduction of PDE.Mart
Grid-Based PDE.Mart A PDE-Oriented PSE for Grid Computing GY MAO, M. MU, Wu ZHANG, XB ZHANG School of Computer Science and Engineering, Shanghai University, CHINA Department of Mathematics, Hong Kong University
More informationGrid-Based PDE.Mart: A PDE-Oriented PSE for Grid Computing
Grid-Based PDE.Mart: A PDE-Oriented PSE for Grid Computing Guoyong Mao School of Computer Science and Engineering Shanghai University, Shanghai 200072, China gymao@mail.shu.edu.cn Wu Zhang School of Computer
More informationExercise SBPM Session-4 : Web Services
Arbeitsgruppe Exercise SBPM Session-4 : Web Services Kia Teymourian Corporate Semantic Web (AG-CSW) Institute for Computer Science, Freie Universität Berlin kia@inf.fu-berlin.de Agenda Presentation of
More informationWDSL and PowerBuilder 9. A Sybase White Paper by Berndt Hamboeck
WDSL and PowerBuilder 9 A Sybase White Paper by Berndt Hamboeck Table of Contents Overview... 3 What is WSDL?... 3 Axis with PowerBuilder 9... 4 Custom Deployment with Axis - Introducing WSDD... 4 Using
More informationIntroduction to Web Services
Introduction to Web Services Motivation The Automated Web XML RPC SOAP Messaging WSDL Description Service Implementation & Deployment Further Issues Web Services a software application identified by a
More informationClassroom Exercises for Grid Services
Classroom Exercises for Grid Services Amy Apon, Jens Mache L&C Yuriko Yara, Kurt Landrus Grid Computing Grid computing is way of organizing computing resources so that they can be flexibly and dynamically
More informationXGEN Plus SOAP Api Documentation
XGEN Plus SOAP Api Documentation What is XgenPlus? XgenPlus is the most advanced mail server and web mail client which provides fast, secure and reliable emailing along with unified mailing service. It's
More informationPieces of the puzzle. Wednesday, March 09, :29 PM
SOAP_and_Axis Page 1 Pieces of the puzzle Wednesday, March 09, 2011 12:29 PM Pieces of the puzzle so far Google AppEngine/GWTJ: a platform for cloud computing. Map/Reduce: a core technology of cloud computing.
More informationBEAAquaLogic. Service Bus. Interoperability With EJB Transport
BEAAquaLogic Service Bus Interoperability With EJB Transport Version 3.0 Revised: February 2008 Contents EJB Transport Introduction...........................................................1-1 Invoking
More informationPART VII Building Web Services With JAX-RPC. 7.5 JAX Web Service Architecture. Development of a Web Service with JAX. Runtime View of a Web Service
PART VII Building Web Services With JAX-RPC 7.5 JAX Web Service Architecture 5. Overview of the JAX-RPC Web Service Architecture 6. Building and Deploying a JAX-RPC Web Service 7. Building and Running
More informationThis example uses a Web Service that is available at xmethods.net, namely RestFulServices's Currency Convertor.
Problem: one of the most requested features for a Cisco Unified Contact Center Express (UCCX) script is to have an easy Web Services (WS) client (also known as SOAP client) implementation. Some use various
More informationGetting Started with the Bullhorn SOAP API and Java
Getting Started with the Bullhorn SOAP API and Java Introduction This article is targeted at developers who want to do custom development using the Bullhorn SOAP API and Java. You will create a sample
More informationOGSI.NET UVa Grid Computing Group. OGSI.NET Developer Tutorial
OGSI.NET UVa Grid Computing Group OGSI.NET Developer Tutorial Table of Contents Table of Contents...2 Introduction...3 Writing a Simple Service...4 Simple Math Port Type...4 Simple Math Service and Bindings...7
More informationChrome if I want to. What that should do, is have my specifications run against four different instances of Chrome, in parallel.
Hi. I'm Prateek Baheti. I'm a developer at ThoughtWorks. I'm currently the tech lead on Mingle, which is a project management tool that ThoughtWorks builds. I work in Balor, which is where India's best
More informationWeb Services in Java. The shortest path to exposing and consuming web services in Java
Web Services in Java The shortest path to exposing and consuming web services in Java Motivation Get web services up and running: As quickly as possible With as little overhead as possible Consume web
More informationThe User Experience Java Programming 3 Lesson 2
The User Experience Java Programming 3 Lesson 2 User Friendly Coding In this lesson, we'll continue to work on our SalesReport application. We'll add features that make users happy by allowing them greater
More informationWSDL2Java ###### ###: java org.apache.axis.wsdl.wsdl2java [#####] WSDL-URI #####:
1. Axis ######### ##### 1.2 #######: axis-dev@ws.apache.org 1.1. ## ######### WSDL2Java ###### Java2WSDL ###### ####(WSDD)###### ##### Axis ## ######### Axis ###### ####### ########## Axis #############
More informationWriting an Axis2 Service from Scratch By Deepal Jayasinghe Axis2 has designed and implemented in a way that makes the end user's job easier. Once he has learnt and understood the Axis2 basics, working
More informationGet JAVA. I will just tell you what I did (on January 10, 2017). I went to:
Get JAVA To compile programs you need the JDK (Java Development Kit). To RUN programs you need the JRE (Java Runtime Environment). This download will get BOTH of them, so that you will be able to both
More informationWeb Service Interest Management (WSIM) Prototype. Mark Pullen, GMU
Web Service Interest Management (WSIM) Prototype Mark Pullen, GMU 1 Presentation Overview Case study: how to build a Web service WSIM architecture overview and issues Basic Web service implementation Extending
More informationPace University. Web Service Workshop Lab Manual
Pace University Web Service Workshop Lab Manual Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University July 12, 2005 Table of Contents 1 1 Lab objectives... 1 2 Lab design...
More informationApache Axis2. Tooling with Axis2
Apache Axis2 Tooling with Axis2 Agenda Introduction Code Generator Tool Command Line Code Generator Tool Ant Task Eclipse Plugins IntelliJ IDEA Plugin Maven2 plugins Axis2 Admin Tool Resources Summary
More informationLecture 15: Frameworks for Application-layer Communications
Lecture 15: Frameworks for Application-layer Communications Prof. Shervin Shirmohammadi SITE, University of Ottawa Fall 2005 CEG 4183 15-1 Background We have seen previously that: Applications need to
More informationLecture 15: Frameworks for Application-layer Communications
Lecture 15: Frameworks for Application-layer Communications Prof. Shervin Shirmohammadi SITE, University of Ottawa Fall 2005 CEG 4183 15-1 Background We have seen previously that: Applications need to
More informationBEAWebLogic Server. WebLogic Web Services: Advanced Programming
BEAWebLogic Server WebLogic Web Services: Advanced Programming Version 10.0 Revised: April 28, 2008 Contents 1. Introduction and Roadmap Document Scope and Audience.............................................
More informationWSMetacatService a GT4 Web Service Wrapper for Metacat
WSMetacatService a GT4 Web Service Wrapper for Metacat Author: Terry Fleury (tfleury@ncsa.uiuc.edu) Date: October 3, 2005 Summary In addition to the GSI-enabling of the https connection to Metacat, work
More informationWIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1 2010 december, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
More informationA short introduction to Web Services
1 di 5 17/05/2006 15.40 A short introduction to Web Services Prev Chapter Key Concepts Next A short introduction to Web Services Since Web Services are the basis for Grid Services, understanding the Web
More information4. Java Project Design, Input Methods
4-1 4. Java Project Design, Input Methods Review and Preview You should now be fairly comfortable with creating, compiling and running simple Java projects. In this class, we continue learning new Java
More informationOracle Service Bus. Interoperability with EJB Transport 10g Release 3 (10.3) October 2008
Oracle Service Bus Interoperability with EJB Transport 10g Release 3 (10.3) October 2008 Oracle Service Bus Interoperability with EJB Transport, 10g Release 3 (10.3) Copyright 2007, 2008, Oracle and/or
More informationUsing JMeter. Installing and Running JMeter. by Budi Kurniawan 01/15/2003
1 of 8 7/26/2007 3:35 PM Published on ONJava.com (http://www.onjava.com/) http://www.onjava.com/pub/a/onjava/2003/01/15/jmeter.html See this if you're having trouble printing code examples Using JMeter
More informationAxis2 Quick Start Guide
1 of 22 12/6/2008 9:43 PM Axis2 Quick Start Guide Axis2 Quick Start Guide The purpose of this guide is to get you started on creating services and clients using Axis2 as quickly as possible. We'll take
More informationJava Development and Grid Computing with the Globus Toolkit Version 3
Java Development and Grid Computing with the Globus Toolkit Version 3 Michael Brown IBM Linux Integration Center Austin, Texas Page 1 Session Introduction Who am I? mwbrown@us.ibm.com Team Leader for Americas
More informationThe Stack, Free Store, and Global Namespace
Pointers This tutorial is my attempt at clarifying pointers for anyone still confused about them. Pointers are notoriously hard to grasp, so I thought I'd take a shot at explaining them. The more information
More informationCSE : Python Programming. Decorators. Announcements. The decorator pattern. The decorator pattern. The decorator pattern
CSE 399-004: Python Programming Lecture 12: Decorators April 9, 200 http://www.seas.upenn.edu/~cse39904/ Announcements Projects (code and documentation) are due: April 20, 200 at pm There will be informal
More informationIBM Home Products Consulting Industries News About IBM Search
IBM Home Products Consulting Industries News About IBM Search IBM : developerworks : Web services library The Web services (r)evolution Hello world, Web service-style Graham Glass CEO/Chief Architect,
More informationGetting started with OWASP WebGoat 4.0 and SOAPUI.
Getting started with OWASP WebGoat 4.0 and SOAPUI. Hacking web services, an introduction. Version 1.0 by Philippe Bogaerts mailto:philippe.bogaerts@radarhack.com http://www.radarhack.com 1. Introduction
More informationTutorial 7 Unit Test and Web service deployment
Tutorial 7 Unit Test and Web service deployment junit, Axis Last lecture On Software Reuse The concepts of software reuse: to use the more than once Classical software reuse techniques Component-based
More informationCS506 Web Design & Development Final Term Solved MCQs with Reference
with Reference I am student in MCS (Virtual University of Pakistan). All the MCQs are solved by me. I followed the Moaaz pattern in Writing and Layout this document. Because many students are familiar
More informationNetBeans IDE Java Quick Start Tutorial
NetBeans IDE Java Quick Start Tutorial Welcome to NetBeans IDE! This tutorial provides a very simple and quick introduction to the NetBeans IDE workflow by walking you through the creation of a simple
More informationModular Java Applications with Spring, dm Server and OSGi
Modular Java Applications with Spring, dm Server and OSGi Copyright 2005-2008 SpringSource. Copying, publishing or distributing without express written permission is prohibit Topics in this session Introduction
More informationHomework 5: Aspect-Oriented Programming and AspectJ
Com S 541 Programming Languages 1 November 30, 2005 Homework 5: Aspect-Oriented Programming and AspectJ Due: Tuesday, December 6, 2005. This homework should all be done individually. Its purpose is to
More informationCreating Applications Using Java and Micro Focus COBOL
Creating Applications Using Java and Micro Focus COBOL Part 3 - The Micro Focus Enterprise Server A demonstration application has been created to accompany this paper. This demonstration shows how Net
More informationWeb. Web. Java. Java. web. WebService. Apache Axis. Java web service. Applet Servlet JSP SOAP WebService XML J2EE. Web (browser)
Java Web Java web Applet Servlet JSP SOAP WebService XML J2EE WebService Web (browser) WSDL (Web Service Description Language) RPC) SOAP 80 () Apache Axis Apache AxisJavaSOAP (SOAPWeb XML.NET Java) tomcat
More informationBEGINNER PHP Table of Contents
Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing
More informationComputational Steering
Computational Steering Nate Woody 10/13/2009 www.cac.cornell.edu 1 Lab Materials I ve placed some sample code in ~train100 that performs the operations that I ll demonstrate during this talk. We ll walk
More informationRMI. (Remote Method Invocation)
RMI (Remote Method Invocation) Topics What is RMI? Why RMI? Architectural components Serialization & Marshaled Objects Dynamic class loading Code movement Codebase ClassLoader delegation RMI Security Writing
More informationInterfaces to tools: applications, libraries, Web applications, and Web services
Interfaces to tools: applications, libraries, Web applications, and Web services Matúš Kalaš The Bioinformatics Lab SS 2013 14 th May 2013 Plurality of interfaces for accessible bioinformatics: Applications
More informationXML Web Services Basics
MSDN Home XML Web Services Basics Page Options Roger Wolter Microsoft Corporation December 2001 Summary: An overview of the value of XML Web services for developers, with introductions to SOAP, WSDL, and
More informationChapter 4 Defining Classes I
Chapter 4 Defining Classes I This chapter introduces the idea that students can create their own classes and therefore their own objects. Introduced is the idea of methods and instance variables as the
More informationFormal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5
Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 [talking head] Formal Methods of Software Engineering means the use of mathematics as an aid to writing programs. Before we can
More informationThe name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.
Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that
More informationSetting Up the Development Environment
CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment
More informationCSC 148 Lecture 3. Dynamic Typing, Scoping, and Namespaces. Recursion
CSC 148 Lecture 3 Dynamic Typing, Scoping, and Namespaces Recursion Announcements Python Ramp Up Session Monday June 1st, 1 5pm. BA3195 This will be a more detailed introduction to the Python language
More information/* Copyright 2012 Robert C. Ilardi
/ Copyright 2012 Robert C. Ilardi Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
More informationRadBlue s S2S Quick Start Package (RQS) Developer s Guide. Version 0.1
RadBlue s S2S Quick Start Package (RQS) Developer s Guide Version 0.1 www.radblue.com April 17, 2007 Trademarks and Copyright Copyright 2007 Radical Blue Gaming, Inc. (RadBlue). All rights reserved. All
More informationINTEGRATION OF BUSINESS EVENTS AND RULES MANAGEMENT WITH THE WEB SERVICES MODEL KARTHIK NAGARAJAN
INTEGRATION OF BUSINESS EVENTS AND RULES MANAGEMENT WITH THE WEB SERVICES MODEL By KARTHIK NAGARAJAN A THESIS PRESENTED TO THE GRADUATE SCHOOL OF THE UNIVERSITY OF FLORIDA IN PARTIAL FULFILLMENT OF THE
More informationAxis C++ Windows User Guide
1. Axis C++ Windows User Guide 1.1. Creating And Deploying your own Web Service Creating the web service How to use the WSDL2WS tool on the command line Deploying your web service Deploying
More informationChapter 1 Getting Started
Chapter 1 Getting Started The C# class Just like all object oriented programming languages, C# supports the concept of a class. A class is a little like a data structure in that it aggregates different
More informationArtix for J2EE. Version 4.2, March 2007
Artix for J2EE Version 4.2, March 2007 IONA Technologies PLC and/or its subsidiaries may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject
More informationCS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG
CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG 1 Notice Class Website http://www.cs.umb.edu/~jane/cs114/ Reading Assignment Chapter 1: Introduction to Java Programming
More informationThis guide records some of the rationale of the architecture and design of Axis.
1. Axis Architecture Guide 1.2 Version Feedback: axis-dev@ws.apache.org 1.1. Table of Contents Introduction Architectural Overview Handlers and the Message Path in Axis Message Path on the Server Message
More informationEMBEDDED MESSAGING USING ACTIVEMQ
Mark Richards EMBEDDED MESSAGING USING ACTIVEMQ Embedded messaging is useful when you need localized messaging within your application and don t need (or want) an external message broker. It s a good technique
More informationWho am I? I m a python developer who has been working on OpenStack since I currently work for Aptira, who do OpenStack, SDN, and orchestration
Who am I? I m a python developer who has been working on OpenStack since 2011. I currently work for Aptira, who do OpenStack, SDN, and orchestration consulting. I m here today to help you learn from my
More informationBy Lucas Marshall. All materials Copyright Developer Shed, Inc. except where otherwise noted.
By Lucas Marshall All materials Copyright 1997 2002 Developer Shed, Inc. except where otherwise noted. Using XML RPC with PHP Table of Contents Introduction...1 Compiling PHP with XML RPC Support...2 Dissection
More informationWeb Services Invocation Framework (WSIF)
Web Services Invocation Framework (WSIF) Matthew J. Duftler, Nirmal K. Mukhi, Aleksander Slominski and Sanjiva Weerawarana IBM T.J. Watson Research Center {e-mail: duftler, nmukhi, aslom, sanjiva @us.ibm.com
More informationWelcome to another episode of Getting the Most. Out of IBM U2. I'm Kenny Brunel, and I'm your host for
Welcome to another episode of Getting the Most Out of IBM U2. I'm Kenny Brunel, and I'm your host for today's episode, and today we're going to talk about IBM U2's latest technology, U2.NET. First of all,
More informationOpenScape Voice V8 Application Developers Manual. Programming Guide A31003-H8080-R
OpenScape Voice V8 Application Developers Manual Programming Guide A31003-H8080-R100-4-7620 Our Quality and Environmental Management Systems are implemented according to the requirements of the ISO9001
More informationCSE 70 Final Exam Fall 2009
Signature cs70f Name Student ID CSE 70 Final Exam Fall 2009 Page 1 (10 points) Page 2 (16 points) Page 3 (22 points) Page 4 (13 points) Page 5 (15 points) Page 6 (20 points) Page 7 (9 points) Page 8 (15
More informationTutorial: Developing a Simple Hello World Portlet
Venkata Sri Vatsav Reddy Konreddy Tutorial: Developing a Simple Hello World Portlet CIS 764 This Tutorial helps to create and deploy a simple Portlet. This tutorial uses Apache Pluto Server, a freeware
More informationDistributed Systems. 02r. Java RMI Programming Tutorial. Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017
Distributed Systems 02r. Java RMI Programming Tutorial Paul Krzyzanowski TA: Long Zhao Rutgers University Fall 2017 1 Java RMI RMI = Remote Method Invocation Allows a method to be invoked that resides
More informationExam Questions 1Z0-895
Exam Questions 1Z0-895 Java Platform, Enterprise Edition 6 Enterprise JavaBeans Developer Certified Expert Exam https://www.2passeasy.com/dumps/1z0-895/ QUESTION NO: 1 A developer needs to deliver a large-scale
More informationProject 1 Computer Science 2334 Spring 2016 This project is individual work. Each student must complete this assignment independently.
Project 1 Computer Science 2334 Spring 2016 This project is individual work. Each student must complete this assignment independently. User Request: Create a simple movie data system. Milestones: 1. Use
More informationMITOCW watch?v=flgjisf3l78
MITOCW watch?v=flgjisf3l78 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To
More informationClassloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere)
Tartu Ülikool Matemaatika-informaatika Teaduskond Referaat Classloader J2EE rakendusserveris (Bea Weblogic Server, IBM WebSphere) Autor: Madis Lunkov Inf II Juhendaja: Ivo Mägi Tartu 2005 Contents Contents...
More informationContents. Java RMI. Java RMI. Java RMI system elements. Example application processes/machines Client machine Process/Application A
Contents Java RMI G53ACC Chris Greenhalgh Java RMI overview A Java RMI example Overview Walk-through Implementation notes Argument passing File requirements RPC issues and RMI Other problems with RMI 1
More informationProject Sens-ation. Research, Technology: AXIS, Web Service, J2ME
Bauhaus University Weimar Research, Technology: AXIS, Web Service, J2ME Project Sens-ation October 2004 CML Cooperative Media Lab CSCW, Bauhaus University Weimar Outline 1. Introduction, Ideas 2. Technology:
More informationCreating Web Services with Java
Creating Web Services with Java Chapters 1 and 2 explained the historical and technical background of web services. We discussed the evolution of distributed and interoperable protocols along with technologies
More informationLearning Objective. Project Objective
Table of Contents 15-440: Project 1 Remote File Storage and Access Kit (File Stack) Using Sockets and RMI Design Report Due Date: 14 Sep 2011 Final Due Date: 3 Oct 2011 Learning Objective...1 Project Objective...1
More informationOracle Business Process Management. Oracle BPM Process API 10g Release 3 (10.3.0)
Oracle Business Process Management Oracle BPM Process API 10g Release 3 (10.3.0) September 2008 Oracle Business Process Management Oracle BPM Process API 10g Release 3 (10.3.0) Copyright 2006, 2008, Oracle.
More informationCONTENTS: What Is Programming? How a Computer Works Programming Languages Java Basics. COMP-202 Unit 1: Introduction
CONTENTS: What Is Programming? How a Computer Works Programming Languages Java Basics COMP-202 Unit 1: Introduction Announcements Did you miss the first lecture? Come talk to me after class. If you want
More informationAdvanced Computer Programming
Programming in the Large I: Methods (Subroutines) 188230 Advanced Computer Programming Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Department of Computer Engineering Khon Kaen University
More informationCS125 : Introduction to Computer Science. Lecture Notes #11 Procedural Composition and Abstraction. c 2005, 2004 Jason Zych
CS125 : Introduction to Computer Science Lecture Notes #11 Procedural Composition and Abstraction c 2005, 2004 Jason Zych 1 Lecture 11 : Procedural Composition and Abstraction Solving a problem...with
More informationAxis C++ Linux User Guide
1. Axis C++ Linux User Guide Contents THIS IS A REALLY GREAT LINUX USER GUIDE!Introduction What's in this release Axis C++ now delivers the following key features Installing Axis and
More informationWeek - 01 Lecture - 04 Downloading and installing Python
Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and
More informationOutline. EEC-681/781 Distributed Computing Systems. The OSI Network Architecture. Inter-Process Communications (IPC) Lecture 4
EEC-681/781 Distributed Computing Systems Lecture 4 Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org Outline Inter-process communications Computer networks
More informationMath Modeling in Java: An S-I Compartment Model
1 Math Modeling in Java: An S-I Compartment Model Basic Concepts What is a compartment model? A compartment model is one in which a population is modeled by treating its members as if they are separated
More informationNotes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.)
Notes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.) David Haraburda January 30, 2013 1 Introduction Scala is a multi-paradigm language that runs on the JVM (is totally
More informationIntroduce Grid Service Authoring Toolkit
Introduce Grid Service Authoring Toolkit Shannon Hastings hastings@bmi.osu.edu Multiscale Computing Laboratory Department of Biomedical Informatics The Ohio State University Outline Introduce Generated
More informationJava Programming Constructs Java Programming 2 Lesson 1
Java Programming Constructs Java Programming 2 Lesson 1 Course Objectives Welcome to OST's Java 2 course! In this course, you'll learn more in-depth concepts and syntax of the Java Programming language.
More informationCS 2505 Computer Organization I Test 1. Do not start the test until instructed to do so!
Instructions: Print your name in the space provided below. This examination is closed book and closed notes, aside from the permitted one-page formula sheet. No calculators or other electronic devices
More informationIn today s video I'm going show you how you can set up your own online business using marketing and affiliate marketing.
Hey guys, Diggy here with a summary of part two of the four part free video series. If you haven't watched the first video yet, please do so (https://sixfigureinc.com/intro), before continuing with this
More informationFernando Dobladez
PAPI-WEBSERVICE Fernando Dobladez ferd@fuego.com August 24, 2004 CONTENTS Abstract This document describes PAPI-WS: a simplified version of PAPI (Fuego s Process-API) exposed as a web service. PAPI-WS
More informationjar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.
jar & jar files jar command Java Archive inherits from tar : Tape Archive commands: jar cvf filename jar tvf filename jar xvf filename java jar filename.jar jar file A JAR file can contain Java class files,
More information