Home arrow Java & J2EE arrow Using RPC-Style Web Services with J2EE

Using RPC-Style Web Services with J2EE

Web Services provide functionality to the Internet, and are seen as the wave of the future. In this article, Martin Bond explains how to use Web Services protocols to join J2EE application components with any other software that supports those protocols. This excerpt is from Chapter (Day) 20, from Teach Yourself J2EE in 21 Days, second edition, by Martin Bond, et. al. (Sams, 2003, ISBN: 0672325586)

TABLE OF CONTENTS:
  1. Using RPC-Style Web Services with J2EE
  2. Web Service Overview
  3. Web Service Technologies and Protocols
  4. Web Services for J2EE
  5. RPC-Oriented Web Services
  6. Creating a Simple Service
  7. The WSDL File
  8. Creating the Web Service WAR
  9. The Web Services Deployment Descriptor
  10. Building More Robust Web Services
  11. Exposing EJBs Through Web Service Protocols
  12. Web Service Compiler Configuration File
  13. Configuring the EJB Component
  14. Other Considerations for Web Services
  15. Summary
By: Sams Publishing
Rating: starstarstarstarstar / 13
December 08, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

bondAs you saw yesterday, there are many ways of integrating existing and third-party applications and components with J2EE applications. However, the plethora of integration mechanisms has long been an issue. It would be better if there were a more consistent way of integrating applications. Additionally, expectations have increased around the capability to integrate applications that span organizations—particularly across the common communication medium of the Internet. Web Services provide a flexible and powerful integration mechanism that can be used to expose existing functionality and components to other organizations or new applications. Today and tomorrow, you will see how you can use Web Service protocols to build bridges between J2EE application components and any other platforms, applications, or components that support those Web Service protocols.

Web Services are seen by many as the next wave of the Internet revolution. The vision is of a Web as rich with functionality as the current Web is with information. The challenge is to expose this functionality in a consistent and usable way.

Today, you learn about

  • The concepts underlying Web Services and how Web Services fit with J2EE

  • Implementing RPC-style Web Service clients and servers

  • Exposing session EJBs as Web Services

First, you need to understand why you would use Web Services.

The aim of the last two days was to describe how to use J2EE technologies to implement and access a Web Service. This chapter will give an overview of how Web Service interactions work and will show how you can use JAX-RPC to generate and consume SOAP messages based on a WSDL interface.


Note - Before proceeding further, please be aware that the subject of Web Services is in itself very large, and there are many books dedicated to this popular topic. Today and tomorrow are intended to give you a start into using Web Services in Java and with J2EE technologies. However, it is not possible to answer every question or pursue every topic. If you would like to find out more about Java and Web Services after you have read through the material in this book, try the following URLs:


This chapteris fromTeach Yourself J2EE in 21 Days, second edition, byMartin Bond et. al.(Sams, 2004, ISBN: 0-672-32558-6). Check it out at your favorite bookstore today. Buy this book now.



 
 
>>> More Java & J2EE Articles          >>> More By Sams Publishing
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

JAVA & J2EE ARTICLES

- More Java Bugs Lead to More Attacks
- Oracle's Java One Brings News, Surprises
- Oracle Patches Java Runtime Environment
- Apple Syncs Java Update with Oracle
- Spring 3.1 Java Development Framework Compat...
- Jelastic Java PaaS Availability and Pricing ...
- NetBeans 7.1 Released, Supports JavaFX 2
- SolarWinds Releases Newest Version of Java M...
- Free Monitoring Tool for Java Apps on Heroku
- Heroku Adds JCloud Platform Support, Java 7 ...
- Java SE 8 Speculation in Full Swing
- Java SE 7 Now Available
- New JVM Language and Java Reporting Tool
- Java 7 Release Update and New Eclipse Toolkit
- The Best Java Netbeans IDE Plugins

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: