Part 4: Building Java Business Applications
Introduction: This article is the 4th part of a total of six sections in this series that will show you how to deploy Java™ business applications and databases as Java Web services in the pseries® system running the IBM aix®5.3 operating system.
Before you start
This tutorial is intended for aix®5.3 developers who want to quickly integrate PHP and java™ in their own web application development. Readers should have basic Java programming capabilities and an understanding of the basic web development environment.
About this series
PHP is a very good web development language, and Java technology is very popular in business application development. As a result, PHP Java Bridge is specifically developed to leverage their advantages on the AIX Version 5.3 operating system. This series of articles provides AIX 5.3 developers with an overview of how to integrate PHP and Java technologies into their Web application development.
To illustrate this, you will build a simple survey application based on the typical development process, including:
Developing a major Java application
Exposing Java applications as Java-based Web applications through the servlet
Adding support for storing information in a database
Exposing the original application as a Web service and providing the PHP interface for the application
Re-developing the PHP interface with a dedicated PHP Java bridge
This series of articles consists of six parts:
Part 1th describes an application and sets the environment for building Java applications and for performing Java-based Web applications using Tomcat.
The 2nd part introduces the main application code and the development of a simple Java Servlet to provide a web interface for information.
Part 3rd connects the core application to the db2® database to store the questions and answers to the questionnaire survey.
Part 4th transforms the original application so that it can be accessed as a Web service, and it provides the basis for the PHP interface.
The 5th part uses PHP Java Bridge to build the PHP interface for Java applications.
The 6th part is to recreate the application to use PHP Java Bridge instead of the Web service interface.