JavaServer Faces the Cloud

This article explains how JavaServer Faces 2.0 features are suited for the Cloud. It presents the @ManagedBean annotation, implicit navigation and resource handling. Cloud services might not have been a factor when JavaServer Faces 2.0 (JSF 2.0) was developed, but JSF 2.0 provides features ideally suited for the cloud as path-based resource handling, REST-style GET requests and bookmarkable URLs, Ajax support. Cloud vendors provide different support for JSF 2.0. Oracle Public Cloud provides built-in support for JSF 2.0 and deployment to the cloud from Oracle JDeveloper, Eclipse, and NetBeans, and Oracle WebLogic Server on Oracle Public Cloud can be used for deployment. The cloud-based Google Application Engine (GAE) requires JSF 2.0 to be configured. Java EE 7 will update the JSF specification for cloud-related practical considerations, such as multitenancy and elasticity or horizontal scaling.