Follow by Email

Monday, 15 October 2012

ADF Basics: .jspx and .jsff page in Oracle ADF

.jspx and .jsff page in Oracle ADF


.jspx page is JSP/XML representation, it is standalone page means it can run without any supporting or base page.
Jdeveloper 11g Release1 supports .jspx page but  Release2 supports both jspx and Facelets.

.jsff page-

.jsff (JSF fragments) page is fragment of JSF(Java Server Faces) page, sometimes pages become to much complex and large and it is not easy to edit those pages, in that case it should be devided in some fragments.
JSF page can be broken in some smaller page fragments to avoid difficulties in editing and maintaining
page fragments can't run independently, it requires a base of .jsf(JSF page) or .jspx (JSP/XML)


Java Server pages(JSP) technology previously used as view declaration for Java Server Faces (JSF) but it doesn't support all the feature of JSF available in JDK1.6 (Java 6), Facelets is introduced under Apche license and default view declaration technology for Java Server Faces.
Facelets supports all the new features introduced in JSF technology, Facelets requires XML document to work

  • Facelets supports HTML and XHTML for designing
  • supports Facelets tab library with JSF and JSTL tag lib
  • Fasetr execution than JSP

The main difference I know is that JSP supports HTML and JSPX is XML variant of JSP.
.jspx supports more component than jsp page and also compatible with JSF page fragments.

No comments :

Post a Comment