Ajax and Java Web Services
Short Description
10.1 Quick Overview of Ajax. Ajax is a well-documented technology, and my purpose here is not to write a. detailed tutorial on Ajax programming. …
Website: www.theserverside.com | Filesize: 475kb
Content
463
C H A P T E R 1 0
Ajax and Java Web Services
In this chapter, I examine how Java Web Services can be used to support
Ajax clients. Ajax, or Asynchronous JavaScript and XML, is a programming
technique that enables you to create user interfaces for a Web
browser that behave more like a local, stand-alone application than a collection
of HTML pages.
Ajax is a good fit with Java Web Services. Using these two technologies
together enables you to publish software components as services (via JAXWS)
and create great browser-based user interfaces on top of them (via
Ajax). The entire application can then be packaged as an EAR or WAR and
deployed on a Java EE application server.
To demonstrate this capability, I pick up here where I left off at the
end of Chapter 9. In that chapter, I showed you how to build an online
shopping application, SOAShopper, which can search across multiple
Web-service-enabled sites (i.e., eBay, Yahoo! Shopping, and Amazon). In
this chapter, I show how you can develop an Ajax front-end to SOAShopper.
In particular, the code examined in this chapter demonstrates how…
Get the file Download here
Related Books:Related Searches: java web services, asynchronous javascript and xml, based user interfaces, programming technique, programming website
Comments
Leave a Reply