Rapid advancements in mobile browsers, such as iPhone Safari and
BlackBerry Bold, present new challenges for mobile developers. It is
desirable to leverage the Ajax capabilities in smart-phone browsers
while maintaining compatibility with less capable mobile browsers.
Mobile devices' vastly different processing power and network speeds
introduce major variations in mobile Web performance. Each mobile
device is optimized to support a particular UI navigation pattern --
iPhone is optimized for finger navigation, whereas BlackBerry devices
are optimized for track-wheel use. To deliver an easy-to-use and
performant user interface, Web apps cannot simply render the same UI
across all mobile browsers. JavaServer Faces technology enables any UI
component to be rendered differently on various mobile device
browsers, thus offering a framework that can meet the foregoing
challenges.
This session discusses mobile browser rendering support in the MyFaces
Trinidad JavaServer Faces components, where the same component can
leverage Ajax and advanced processing/network capabilities in the
smart-phone browsers while remaining compatible and performant on less
capable, plain-HTML browsers. It also covers techniques for using
MyFaces Trinidad components and style sheets to achieve a
mobile-device-friendly UI for a variety of mobile devices, all within
the same app. Last, it offers lessons learned during the development
of a mobile device render kit in the MyFaces Trinidad project.
At the end we will have an outlook to the Trinidad 2.0 version, which supports JSF 2.0