Skip to main content

JSF pros and Cons

JSF was developed using MVC design pattern and is driven by Java Community Process (JCP). The advantage of JSF is that it provides a clean separation between presentation and behaviour. UI can be created by page author using reusable UI components and business logic part can be implemented using managed beans.

It’s a fact that JSF libraries like RichFaces and ICEfaces greatly add lot of components to develop thin-client rich Internet applications (RIA) in pure Java. Component libraries like RichFaces for JSF has easy integration capabilities to AJAX and speeds business application development. They also includes strong support for the skinnability of JSF applications. But after using JSF in two projects I realized that JSF has complex life cycle and takes a lot of effort to develop custom components. Apart from JDeveloper there is no other IDE which supports a rich interface for component drag and drop. Eclipse is till trying and I have not even seen one stable version. Many JSF component frameworks lack maturity, documentation, or both. JSF is fast maturing and become stable and is a step in the right direction.

Comments

Popular posts from this blog

SAAS Simple Maturity Model

There are two architectural models – commonly referred as SAAS Maturity models- that describe the transition of a service to what is called Multi-tenant efficient, highly scalable application. The SAAS Maturity model described by Microsoft has four distinct stages and is illustrated below. Another similar well-known model for SaaS-maturity is known as Forrester-model but adds another stage known as "Dynamic Business Apps-as-a-service". The three key Attributes of a SAAS Architecture: Configurability: Metadata used to configure the way the application behaves for customers Multi-tenant Efficiency : Maximizing the sharing of resources across tenants Scalability: Maximizing concurrency, resource efficiency SAAS Simple Maturity Model (Microsoft, 2006) SaaS Maturity Model (Forres...

CXF Example –Web Service Using Spring and Maven

Apache CXF is an open source services framework. CXF helps you build Web Services using frontend programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports such as HTTP, JMS or JBI. Support for bottom up approach and top down approach. Support for Standards JAX-WS, JSR-181, SAAJ, JAX-RS SOAP 1.1, 1.2, WS-I BasicProfile, WS-Security, WS-Addressing, WS-RM, WS-Policy WSDL 1.1 MTOM Building Web Services – Example 1 Develop a simple Web Service using CXF framework. The example in this case is an InterestRate Service. Tools / technologies Version CXF 2.1 Maven 2.0 Tomcat apache-tomcat-6.0.24 JDK java version 1.6.0_20       The Application Scope The "Interest Rate Service" application demonstrates how easily you can develop a Web Service using CXF frame work. The WSDL service definition defines three operations. Below is the InterestRateService interface.   @WebS...

SAAS – Scalability Challenges

Scalability is a desirable property of any SAAS based architecture to have the ability to handle growing amounts of work in a graceful manner. Typically there can be two types of scalability issues- increase in load and administrative scalability. SAAS Architecture Different Tiers • Data Storage Tier • Data Access Tier • Application Tier o Identity Management . Separate Identity Management solution. . Authentication using LDAP. . Sun Java Identity Management Suite2 / Microsoft Active Directory. o Application server . What frame-work to use. o Integration Server . How the corporations integrate to the existing data sources. . Build a Web Service API to interact with Corporate data source. . Enterprise integration Server (EI) for corporate data access. . Host an EI Server. . Need to handle ...