Building Webservers

5-1-2003
This guide shows how to build web servers. One example shows a complicated, scaleable, JBoss Enterprise server. A second shows a simple lightweight Tomcat server. Another shows an Apache server with MySQL and Perl. The last shows a fairly lightweight SOAP/Tomcat server. This drawing shows how some of the tools fit together for the Tomcat and JBoss servers. The simple Apache web server example does not use the following tools.



Index


The JBoss Setup guide has the most information on tools and setup. So use that for reference. These examples use MySQL for the database.

Tomcat Related Tools

Packages Description
Axis Provides a SOAP implementation for Tomcat.
JBoss with Tomcat Additionally supports EJB's with CMP and CMR.
Struts Provides an MVC (model/view/controller) framework and can work with Velocity.
Tomcat Supports JSP and Java Servlets.
Turbine Provides an MVC and application framework that can work with Velocity.
Velocity Is a template language
WSIF Provides a universal client interface for services.

Client/Server Communication

When Tomcat is used without an EJB server, then a client applet can talk to the server using HTML, RMI, TCP/IP, Corba, etc. See this link for more info. http://archive.devx.com/upload/free/features/javapro/1999/05may99/lo0599/lo0599.asp

When an EJB container such as JBoss is used, a client applet can simply use the home and remote interfaces defined by the server EJB. It is also possible to use the other methods above.
1
Hosted by www.Geocities.ws