Presented by developerWorks, your source for great tutorials
ibm.com/developerWorks
This tutorial assumes you have a working knowledge of Java technology and EJB
technology. In depth knowledge of EJB components, Web services, and Ant are helpful
but not required to understand the key concepts. Ant is used to build and deploy the
example applications. Reference to introductory material on Ant, Java technology,
J2EE, Web services, XML, and EJB components are provided in throughout the tutorial
and at the references section at the end of this tutorial.
The source code in the tutorial has been tested with
Resin EE
application server.
The applications should be easy to port to other J2EE compliant application servers
like
IBM WebSphere
or
JBoss
. Please check back at my site for ports to other
application servers (see
Resources
on page 31 ).
I typically get examples from people working with other application servers, and then I
put them up on my site (see
Resources
on page 31 ).
I used the Eclipse framework to create the examples in this tutorial. The examples are
easiest to run by downloading Eclipse 2.1 or higher and a J2EE application server
plug in for Eclipse. Eclipse has excellent support for Ant, which facilitates running the
Axis and XDoclet Ant tasks right from the IDE environment.
If you are new to Ant, please read this sample chapter from
Mastering Tomcat on
Developing Web Components with Ant
(written by yours truly). Just read the sections
on Ant development for now.
Also note that the Ant scripts can use XDoclet. You will not need to use this
functionality, but, in case you decide to, please refer to the developerWorks tutorial,
"Enhance J2EE component reuse with XDoclets" (see
Resources
on page 31 ).
What this tutorial covers
This tutorial covers turning EJB components into Web services and has two
step by step examples. The first example uses all primitive types with one simple EJB
component. The second example uses a SessionBean that talks to several EJB
components. All examples ship with a set of Ant build scripts so you can easily create
your own custom solutions by reusing the sample build files.
About the author
Rick Hightower
is a developer who enjoys working with Java technology, Ant, ETTK,
and XDoclet. Rick is currently the CTO of
Trivera Technologies
, a global training,
Service enable EJB SessionBeans with the IBM ETTK
Page 3 of 33






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

servlet web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved