How to Utilize JDeveloper to Develope JSF

Developing Faces
By Chris Schalk

Use Oracle JDeveloper 10g to develop JavaServer Faces applications.

Building enterprise J2EE Web applications has always been a bit of an art. Although J2EE provides more-than-adequate foundational technologies for building scalable enterprise Web applications, it previously lacked a high-level API to glue these technologies together and provide a single, consistent way to build J2EE Web applications. The recent introduction of JavaServer Faces (JSF) 1.0, however, brings standardization and consistency to J2EE Web application development.

Oracle JDeveloper 10g is Oracle's integrated development environment for Java, Web services, XML, PL/SQL, and more. This article describes how to work with JSF in Oracle JDeveloper 10g.


[Attention]As you run the JSF page(ex.jsp1.jsp), the file name suffix shuold be changed from .jsp to .faces, or it will throw an exception just like this "javax.servlet.jsp.JspException: Cannot find FacesContext"


IDE Tool to Deal With JSF Config File

JBuilder 11 will support JSF, but before it release, we can use one tool which called Faces Console.

Faces Console is a free and easy way to deal with the complexities of JSF configuration files.

The Faces Console fully supports the creation and modification of JSF configuration files and plugs into many widely used Java IDEs. Those of you familiar with the popular Struts Console tool will feel right at home with this one.