Book Image

SOA and WS-BPEL

By : Yuli Vasiliev
Book Image

SOA and WS-BPEL

By: Yuli Vasiliev

Overview of this book

<p>When utilized within a Service-oriented Architecture (SOA), Web Services are part of a business process determining the logical order of service activities &acirc;&euro;&ldquo; logical units of work performed by one or more services. Today, the most popular tool for organizing service activities into business processes is Web Services Business Process Execution Language (WS-BPEL), a language defining an execution format for business processes operating on Web Services. While it is not a trivial task to define a business process definition with WS-BPEL from scratch, using a graphical WS-BPEL tool can significantly simplify this process.<br /><br />Examples and practice are much more valuable than theory when it comes to building applications using specific development tools. Unlike many other books on SOA in the market, this book is not focused on architecture. Instead, through numerous examples, it discusses practical aspects of SOA and WS-BPEL development, showing you how to apply architecture in practice with the help of PHP, ActiveBPEL open-source engine, and ActiveBPEL Designer &acirc;&euro;&ldquo; powerful development tools available for free.</p>
Table of Contents (13 chapters)
SOA and WS-BPEL
Credits
About the Author
About the Reviewer
Preface
Free Chapter
1
Web Services, SOA, and WS‑BPEL Technologies

Installing Apache Tomcat 5.5


Before you can install ActiveBPEL engine, you need to install a servlet container. According to the documentation, ActiveBPEL engine has been tested with Apache Tomcat 5.x. The following sections discuss how to install Apache Tomcat 5.5 on Windows and on Linux.

Note

For details concerning installing Apache Tomcat 5.5 for running on different platforms, you can refer to http://tomcat.apache.org/tomcat-5.5-doc/setup.html.

Installing Apache Tomcat 5.5 on Windows

Here are the steps for installing Tomcat 5.5 on Windows:

  • Download Apache Tomcat 5.5 from http://tomcat.apache.org/download-55.cgi, picking up the apache‑tomcat-5.5.xx.exe file from the Binary Distribution/Core section.

  • Run the downloaded apache-tomcat-5.5.xx.exe to launch the Installation Wizard.

  • In the Choose Components dialog, make sure that the Normal installation option is selected, and click Next.

  • In the Configuration dialog, you may need to change the value of the HTTP 1.1/Connector Port, set by default to 8080. For example, if you have an Oracle database installed on your machine, Oracle XML DB HTTP server may already use port 8080. So, you may choose 8081 for the Tomcat server port. In this page, also make sure to specify the password for the Administrator user.

  • In the next dialog, you have to specify the path to the J2SE 5 JRE installed on your computer, and click Install.

After the above steps are completed, you will have the Tomcat server installed in your system as a Windows service.

Installing Apache Tomcat 5.5 on Linux

Here are the steps for installing Tomcat 5.5 on Linux:

# tar -xzf apache-tomcat-5.5.xx.tar.gz
  • Create a simlink to the Tomcat directory:

# ln -s apache-tomcat-5.5.xx tomcat

Note

Before you can run Tomcat, you should have the CATALINA_HOME environment variable set to the directory in which you installed Tomcat, say, /opt/tomcat, and JAVA_HOME set to the base path of the JDK installed in your system.

  • If you need to change the Tomcat port set by default to 8080, open the CATALINA_HOME/conf/server.xml configuration file and set the port attribute of the Connector element to an appropriate value, say 8081.

  • To start Tomcat, you should run the following script:

# $CATALINA_HOME/bin/startup.sh

After performing these steps, you should have the Tomcat 5.5 servlet container installed and configured on your machine.