Installing the the Java API and WALL
by Luca Passani
passani at eunet dot no
"write once, run anywhere"? maybe, but certainly not: "write once, deploy everywhere",
since we had to come up with two different configurations for installing
the WURFL API on a JSP 1.2 platform (Tomcat4) and a JSP 2 platform (Tomcat5).
This guide is made simple thanks to the assumption that you
already have (and are familiar with) Java application servers
and servlet containers. If you aren't, you should first figure
out a few things about them by installing and running Tomcat (4 or 5),
freely available at
http://jakarta.apache.org/tomcat/.
The library has been tested with Tomcat 4 and 5. In addition
it has been reported to work on the following platforms:
- Macromedia Jrun 4 (requires extra xercesImpl.jar
and xmlParserAPIs.jar
libs for XML parsing. Add them to the
WEB-INF/lib/ directory)
- BEA Weblogic 8.1
- Oracle Applocation Server - 0C4j
Note: Guys, can someone please test on other appservers and report?
I am particularly interested in Jetty, Resin and all of the major Java webservers out there.
Thanks.
Downloading and installing the library is as simple as
downloading the right 'wurfl_<version>.zip' file and
extracting it in the webapps directory on your
application server (you may need to restart the server).
For the curious, the reason why we need two version is because
a lot of things have changed between tomcat 4 and 5, which
have an impact on the code, TLDs, and web.xml file.
|
|