Summary

 < Free Open Study > 



This chapter has focused on the delivery of web-services by using Java servlet based technologies and consumption of web services through servlet agents. In this chapter, we created a demonstration web-service that returns exchange rates between currencies using SOAP. The web service was deployed using Apache SOAP and Apache Axis servers running on Tomcat.

We went on to create servlet agents that could access this web service and manipulate its results. Our agents demonstrated how they could collect, cache, and aggregate information from web services.

Finally, we examined the emerging web services infrastructure, providing discovery through UDDI, publication through WSDL, and transaction management services appropriate for web service transactions.

A

ACID

  • all or nothing transactions, 26

activation.jar

  • Apache SOAP JAR access requirement, 8

  • web site, 8

aggregation

  • definition, 20

  • design considerations, 24

  • example, 20

  • sequential or parallel processing, design considerations, 24

Apache Axis

  • SOAP server, 11

  • web site download, 11

Apache SOAP

  • download web site, 8

  • web application JAR access requirements, 8

  • web services deployment, 9

application value, scope attribute

  • lifetime supported, 9

Axis see Apache Axis.

B

buildTable/~Row/~Cell() methods

  • aggregation example, 20

C

caching data

  • example caching agent, 17

  • servlet agents caching information, 16

callExchangeRateService() method

  • aggregation example, 22

  • example caching agent, 18

Client fault code

  • SOAP Error response, 7

conglomeration

  • !see also aggregation.

  • definition, 20

consistency

  • transactions in web services, 27

D

detail> element

  • SOAP error information, 8

doPost() method

  • aggregation example, 20

  • example caching agent, 17

  • using SOAP service, 12

E

elements

  • provider> element, 9

  • service> element, 9

  • SOAP-ENV:Fault> element, 6

encoding rules

  • SOAP, part of, 3

envelope

  • SOAP, part of, 3

Error response, SOAP, 6

  • standard fault codes, 7

G

getExchangeRate() method

  • aggregation example, 22

  • Apache SOAP web services example, 9

  • exposing as web service, 5

  • using SOAP service, 12

I

invoke() method

  • using SOAP service, 13

M

mail.jar

  • Apache SOAP JAR access requirement, 8

  • web site, 8

MustUnderstand fault code

  • SOAP Error response, 7

P

parallel or sequential processing

  • aggregation design considerations, 24

provider> element

  • Apache SOAP web services deployment, 9

R

references to web sites

  • activation.jar, 8

  • Apache Axis download, 11

  • Apache SOAP download, 8

  • mail.jar, 8

  • xerces.jar, 8

request value, scope attribute

  • lifetime supported, 9

RPC (Remote Procedure Calls)

  • convention for implementing as part of SOAP, 3

  • web services, 2

S

scope attribute

  • lifetimes supported, 9

sequential or parallel processing

  • aggregation design considerations, 24

Server fault code

  • SOAP Error response, 7

service> element

  • Apache SOAP web services deployment, 9

servlet agents

  • caching information, 16

  • collecting information, 12

  • example caching agent, 17

  • SOAP service, using, 12

  • web services, using, 12

session value, scope attribute

  • lifetime supported, 9

setParams() method

  • using SOAP service, 13

SOAP (Simple Object Access Protocol)

  • Apache Axis, 8

  • Apache SOAP, 8

  • constituent parts, 3

  • definition, 4

  • Error response, 6

  • SOAP request, 5

  • SOAP response, 6

  • web services, 3

SOAP-ENV:Fault> element

  • SOAP Error response, 6

T

transactions

  • ACID, 26

  • and web services, 26

  • consistency and web services, 27

  • definition, 26

U

UDDI (Universal Discovery Description Integration), 25

V

VersionMismatch fault code

  • SOAP Error response, 7

W

web services

  • Apache SOAP deployment, 9

  • definition, 2

  • example organizations requiring, 2

  • how they work, 3

  • servlet delivery of, 2

  • SOAP, 3

  • transactions and, 26

  • using, 4

web services stack, 25

WSDL (Web Services Description Language), 25

X

XAML

  • transactions and web services, 27

  • web site, 27

xerces.jar

  • Apache SOAP JAR access requirement, 8

  • web site, 8

XLANG

  • transactions and web services, 27

  • web site, 27



 < Free Open Study > 



Professional Java Servlets 2.3
Professional Java Servlets 2.3
ISBN: 186100561X
EAN: 2147483647
Year: 2006
Pages: 130

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net