Book Image

Service Oriented Java Business Integration

Book Image

Service Oriented Java Business Integration

Overview of this book

Table of Contents (23 chapters)
Service Oriented Java Business Integration
Credits
About the Author
Acknowledgement
About the Reviewers
Preface

Sample Bind a Stateless EJB Service to Apache SOAP


In this section, we will walk through a sample binding scenario which will help us to understand binding of services.

Sample Scenario

The sample will make use of the following run-time setups:

  • Apache SOAP in Tomcat

  • EJB container in BEA Weblogic

A stateless session EJB (HelloServiceBean) is deployed in BEA Weblogic Server which exposes a single method, shown as follows:

public String hello(String phrase)

HelloServiceBean exposes an Endpoint. This Endpoint connects to a Weblogic specific t3 channel. t3 channel can pass through t3 protocol, for object service access. Let us assume that we have a requirement of accessing the above EJB service through a HTTP channel (for some reason like a firewall restriction between the server and the client). We can solve this problem by making use of a web server infrastructure.

Even though we can use different web server setups (even Weblogic's web container can be used for this) to achieve this, we will use Apache...