Wednesday, November 16, 2005

Fundamentals

Apache, Jakarta, Tomcat, Catalina, Coyote, Jasper

Apache is "The Apache Software Foundation" - an umberella organization that looks after a number of Open Source projects.

Jakarta is the group name for the Java based projects of the Apache Software Foundation.

Tomcat is a Web Server that handles server side Java(in the form of Servlets and JSP's), and it's a part of the Apache Jakarta project group. Tomcat is the "reference" implementation of the Servlet specification and jasper part of Tomcat is the "reference" implementation of the JSP specification.

Catalina is the Java Engine(JRE/JVM) that's built into Tomcat and provides environment in which Servlets can be run.

Coyote is the HTTP connector that's built into Tomcat and provides Tomcat with an interface that browsers can connect to.

Jasper is the Java Server Pages handler in Tomcat; internally, it deals with any compiling that's necessary, and converts JSP's into Servlets for Catalina to handle.

In computing, a reference implementation(or, infrequently, sample implementation) is a software example of a standard for use in helping others to implement their own versions of the standard. A standard is much easier to understand with a working example in hand.

"A reference implementation is, in general, an implementation of a specification to be used as a definitive interpretation for that specification. During the development of the conformance test suite, at least one relatively trusted implementation of each interface is necessary to (1) discover errors or ambiguities in the specification, and (2) validate the correct functioning of the test suite."

"Reference Implementation"

Developed concurrently with spec and test suite.
Verifies that specification is implementable.
Enables the test suite to be tested.
Serves as Gold Standard against which other implementations can be measured
Helps to clarify intent of specification where conformance tests are inadequate.

What is Apache ant?

An Ant is a Java-based built tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.

Apache and Tomcat are different.

Apache is HTTP Web Server
Tomcat is a Web Container.

Web Applications usually use Apache and Tomcat configured together- with Apache as the HTTP Web Server and Tomcat as the Web Container.

The CLASSPATH is an environment variable that tells the command processor where to look for executable files e.g *.exe, *.com, *.bat files, including of course javac.exe and java.exe. The Classpath is one of the most confusing things in Java. Unfortunately, you must master it to even compile HelloWorld.

0 Comments:

Post a Comment

<< Home