Home
Services
Products
Articles
Contact
About Us

JSF / Oracle Articles by Andrei Cioroianu

Upload Files with JSF and MyFaces
The first half of the article explains how file uploading works, walking you through the source code of MyFaces and Commons File Upload (the former uses the latter internally). It is helpful to know what happens inside of these open source frameworks in order to use them efficiently, and to be able to modify them if you have to. In the second half of the article, you'll find a sample application that lets users upload files using their web browsers.

Building Database-driven Applications with JSF
This article explains how to build JSF forms, validate the form data with JSF, implement JSF actions that access the database, and present the SQL result sets with JSF. A relational database can be updated and queried using a low-level API (JDBC), an object-relational (O-R) mapping framework such as Oracle TopLink, or a JSP tag library (e.g. JSTL). These options are discussed throughout this article along with the main JSF features.

Using ADF Faces in Existing JSF Applications
The article shows how to modify JSF pages in an existing application to use Oracle ADF Faces, and explains the benefits of this UI framework. You'll find out how to add ADF Faces to existing JSF projects, and how to enhance your Web applications by using the rich UI components provided by ADF Faces. You'll also see how Oracle JDeveloper can make your work much easier.

Reusability in Web Applications
This article offers some best practices for reusing UI parts in Web applications that are based on JSF and ADF Faces. You will learn how to create templates that define the layout of the Web pages and how to reuse forms, menus, and button bars. You'll also find out how to transform existing JSP pages in order to make them easier to maintain and how to use the components provided by JSF and Oracle ADF Faces together with JSTL and modern JSP features such as tag files.

Frameworks To The Rescue
Deciding which frameworks to use isn't easy because there are so many Java frameworks covering all aspects of the application development process. Developers choose frameworks depending on their current skills, experience, the reviews and articles they read, the opinions of their friends and colleagues, but it's a good idea to evaluate the frameworks yourself taking into account factors such as the support for standards, license, functionality, maturity, and extensibility. The article discusses a set of questions you should ask when choosing a new framework or when switching to another framework.

Using JSF
This article contains a web application made of four main components. A JavaBean class acts as a data model, holding some text and its attributes: font, size, color, alignment, etc. A JSF-based form allows users to provide values for the properties of the JavaBean. Another Java class generates an HTML paragraph with the given text and attributes. Finally, a JSP page shows the generated paragraph.


Copyright © 2000-2007 Devsphere

Home
Services
Products
Articles
Contact
About Us