Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Interviewquestions Jsf JSF Interview Questions

Related Tutorials


 
 

Share on Google+Share on Google+

JSF Interview Questions

Advertisement
This page discusses - JSF Interview Questions

JSF Interview Questions

        

  1. Who are the users of JSF technology?
    JSF is that it has not only been designed for coding experts but for others also Page authors, Component writers etc. Because of integrating MVC model and flexible in its architecture JSF allows a wide range of users :
    1. Page authors :
      Web designers have experience with graphic design. They can design look and feel of web application in html/jsp using custom tag libraries of JSF. 
    2. Application developers :
      Application developers can integrate this design with UI components. They program objects, event handling, converters, validators. 

    3. Component writers :
      Component developer can build custom UI components because of JSF?s extensible and customizable nature. They can create their own components directly from UI component classes or extending the standard components of JSF. 
    4. Application architects : 
      Application architects are responsible for designing web applications. Defining page navigation, ensuring Scalability of application, configuring beans object registration are the key points that an application architect handles. 
    5. Tool vendors :
      JSF is well suited for tool vendors, for example Sun Java Studio Creator application development tool, who provide tools that take advantages of JSF to create UI easier.
  2. What are JSF releases?
    JSF started its journey from version 1.0 and now it has come to its latest version JSF1.2. The listing of versions released so far is :
    1. JSF 1.2 (11 may 2006) -   Latest release of JSF specification.
    2. JSF 1.1 (27 may 2004) -   Bug fix release. No specification changes. No HTML renderkit changes.
    3. JSF 1.0 (11 mar 2004) -   Initial release of JSF specification.

    There are many releases of 1.1 and 1.2 and these are listed below showing released date also:

    1. 1.2_04 P01  (20 Mar 2007)
    2. 1.2_04     (5 Mar 2007)
    3. 1.2_02   (25 Aug 2006)
    4. 1.2_01   (14 July 2006)
    5. 1.1_02   (24 Apr 2006
    6. 1.1_01   (07 Sep 2004)
  3. How JSF Fits For Web Applications?
    JSF has many  advantages over other existing frameworks that makes it a better choice for Java web application development. Some of the reasons are below:

    1. Easy creation of UI:
      It makes easier to create complex UI for an applicaton using jsf tags.Its APIs are layered directly on  top of servlet APIs that enables us to use  presentation technology other than JSP,creating your own custom components and rendering output for various client devices.
    2. Capacity to handle complexities of UI management: 
      It handles cleanly the complexities of UI management like input validation, component-state management, page navigation, and event handling.
    3. Clean separation between presentation and logic:
      One of the greatest advantage of jsf is to clearly separate behaviour and presentation in an application. JSF is based on the Model View Controller (MVC) architecture
    4. Shorter development cycle:
      This  separation between logic and presentation enables a wide range of users( from web-page designers to component developers). It allows members of team to focus on their own work only , resulting in division of labour and shorter development cycle.
    5. Standard Java framework:
      JSF is a Java standard which is being developed through Java Community Process (JCP). Several prominent tool vendors are members of the group and are committed  to provide easy to use, visual, and productive develop environments for JavaServer Faces.
    6. An extensible architecture:
      JSF architecture has been designed to be extensible.Extensible means additional functionality can be given on the top of JSF core i.e. we can customize the functionality. JSF UI components are customizable and reusable elements. You can extend standard components and create your own complex  components like stylish calendar, menu bar etc.
    7. Support for multiple client devices:
      Component developers can extend the component classes to generate their own component tag libraries to support specific client. JSF flexible and extensible architecture allows developers to do so.
    8. Flexible rendering model:
      Renderer separates the functionality and view of the component. So we can create multiple renderers and give them different functionality to get different appearance of the same component for the same client or different .
    9. International language support:
      Java has excellent support for internationalization . It allows you to localize messages  with user specific locale. A locale is a combination of a country, a language, and a variant code. Java Server Faces adopts this property and let you specify which locale your application supports. So you can display you messages in different languages.
    10. Robust tool support:
      There are several standard tool vendors like Sun Java Studio Creator who provide robust tools that take advantages of JSF to create server side UI  easily.
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 18, 2011

Related Tutorials

Discuss: JSF Interview Questions  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:2
xxx
June 20, 2012
java

jsf
Rajasekhar
July 11, 2012
Comments

Good One
DMCA.com