Monetize with AdMob
Home / Java


Luca Passani

WURFL Java API
Java API
-  Javadocs
Download & Installation
(includes WALL)

Examples
How to Submit bug reports

License

WALL
the Wireless Abstraction Library

WALL
Tutorial (PDF)
Reference (PDF)
NEW: Cool Menus

Demos:
-  Body
-  Menu
-  Coolmenu
-  Simple Forms
-  Forms in WML Compatibility Mode
JSTL integration
-  Portal

Useful Trick

Credits

Source Code
CVS at SourceForge

Other Java/WURFL efforts
Murray Brandon:
Modified WALL

Nicholas Albion:
More Modified WALL


Bill Ray:
MyWURFL


SourceForge.net Logo
 

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).

Servlet/JSP Spec Tomcat version Download
2.4/2.0 5.0.24 wurfl_tc5_b2.zip (687 kb)
2.3/1.2 4.1.30 wurfl_tc4_b2.zip (875 kb)


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.



Copyright © 2008, Luca Passani