WURFL and Java: the obvious match
by Luca Passani
passani at eunet dot no
XML, WAP and Multi-Serving. Which platform can make these technologies
play together harmoniously better than Java?
In this page you will find a generic Java API for tapping WURFL and
a ground-breaking JSP tag-library to abstract away mark-up
differences in all known wireless devices.
The XOM-based Java API implements two basic functions:
- Given a User-Agent string return a WURFL device ID
- Given a WURFL Device ID and a capability name return a capability value
The WALL tag library builds on top
of the Java API and the 'preferred_markup'
WURFL capability to let you deliver your applications to all devices
(old WAP 1.X junk included, in addition to XHTML and I-Mode).
Of course, never forget where the beauty and power
of the WURFL lies: as new devices ship,
one is only required to update the WURFL now and again in order
to keep their application in top shape.
In case you think the WALL API looks cool, but you can't
use it because you are not a Java programmer, do not despair:
you can still use the tag-library. Tags are easier than you think...
Enjoy!
|
|