Skip to Content
JBoss at Work: A Practical Guide
book

JBoss at Work: A Practical Guide

by Tom Marrs, Scott Davis
October 2005
Intermediate to advanced
306 pages
7h 42m
English
O'Reilly Media, Inc.
Content preview from JBoss at Work: A Practical Guide

Chapter 10. Web Services

JAW Motors has a fully functional, secure J2EE-based web site and the business is doing well. Harry Schmidlap, the company President, now wants to expand JAW Motors’ business beyond the web site and boost sales by displaying its inventory on other related web sites. Another company, Virtual Big Auto Dealership (VBAD), has a high-traffic web site that consolidates the inventory of many auto dealerships. Thousands of customers use VBAD’s service to find and purchase cars. Mr. Schmidlap views VBAD as an ideal trading partner due to the sheer volume of potential new customers they could bring to JAW Motors.

One problem currently prevents JAW Motors from sharing its inventory—VBAD doesn’t use J2EE. So none of the technologies we’ve shown so far will enable JAW Motors and VBAD to communicate. But VBAD has an experienced IS staff and knows how to use Web Services. Mr. Schmidlap has instructed Gunther Toady (with apologies to the restaurant chain and the cast of “Car 54, Where are You?”), the JAW Motors CTO, to look into Web Services and report back to the Board of Directors within two weeks with his results and findings.

This chapter shows how to deploy a portion of the JAW Motors application as a Web Service so it can work with non-Java clients. We’ll show how to expose an EJB as a Web Service by using XDoclet and Java Web Services Developer Pack (JWSDP) to deploy it on JBoss. We’ll finish by writing an Axis client that uses/consumes our Web Service.

Although we’re ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

JBoss: Developer's Guide

JBoss: Developer's Guide

Elvadas Nono Woguia

Publisher Resources

ISBN: 0596007345Errata Page