![]() |
What exactly is Java Runtime Environment (JRE)? JRE is an underlying environment for Java applications to run. JRE provides a layer that makes Java platform neutral language. Java Development Kit (JDK) is the development environment used by developers to create Java applications. JRE comes as a part of JDK, and also as standalone component. Where development environment is not required, administrators can consider installing on JRE. Installing JDK is preferable. Ad Server Solution has been developed using version 1.5 of JDK/JRE. To be able to run this application successfully, 1.5 or higher version must be installed. To install JDK/JRE, visit http://java.sun.com. Detailed installation instructions are also available with software.
JSE or web container is a set of APIs that are needed to run Java servlets and Java Server Pages. These are building blocks for developing web applications. There are several free and commercially available JSE. This FAQ provides details about three freely available JSE that can be implemented by system administrators.
Choice of JSE can depend on factors like prior experience of administrators, ease of implementation and of course platform. All JSEs, however, have versions suitable for most platforms. A list of all major JSE, both free and commercial, used in the industry can be found at http://java.sun.com/products/servlet/industry.html. Ad Server Solution recommends Tomcat from Apache Foundation. Tomcat has been endorsed by Sun and is most widely used JSE for all types of platforms. Download Tomcat from the following links: http://java.sun.com/products/servlet/download.html
Your system administration task begins here. Following paragraph provides information on overall concepts of installation. This will enable you you to jump straight into installation instructions provided with your product download. Types of Web Containers
Any web container you choose will be accompanied by
detailed installation instructions. However, some things to take note of before you begin
installation are: For detailed instructions on Tomcat installation, please visit http://jakarta.apache.org/tomcat/tomcat-5.5.9-doc/uguide/tomcat_ug.html. Also, internet has many useful sites that will provide a wealth of information on intricacies of tomcat-apache installation. Given below are some links you may visit: Click here for examples of various files that will change in tomcat-apache environment. For other web containers, you may follow similar strategy and may contact ad server solutions for help.
Every installation instruction provides examples. If you are able to run these examples, it will indicate that installation has gone well. From administrator perspective, you might consider modifying your start up scripts so that JSE comes up every time you reboot your systems. You will need to ensure that what ever request your customer has made is met. E.g. a directory called /advert must be available which is accessible from the web and JSP pages should be served. Take setup.jsp from adserver solution software package or any other JSP file. Access http://www.yourdomain.com/advert/setup.jsp and make sure you see an HTML page. If your web container is not set correctly, you might see the exact .JSP file appearing as text on your browser.
No, there is no need to set any environment variable in the version 4.0. This requirement is removed from the system. Now the version 4.0 is independent of any environment variable.
Tomcat is both a JSE and a webserver. However, its
webserver capabilities are not as good as its JSE capability. This factor usually
drives administrators towards continued use of existing web servers like Apache and IIS
and use Tomcat as web container running outside the address space of webserver. Connecters
are available so that webserver can forward all JSP/Servlet requests to Tomcat, whenever
they encounter such requests. Ad Server Solutions 1996-2007. Any reproduction or editing by any means mechanical or electronic without the express written permission of the copyright holder is strictly prohibited. |