Introduction:

The article explains the basic factors of Java Server Faces(JSF) , Spring and PORTAL/PORTLET

JSF:

  • Java Server Faces is a technology used for easy web development and it follows the MVC architecture.
  • JSF applications are easily manageable because the presentation layer is clearly separated with business logic.
  • JSF follows the event handling mechanism, so that any event fired will eventually takes an action and forwards to corresponding view.
  • Java Server Faces has very good converters and validators to support the framework.
  • JSF Components are reusable; once a component is developed it can be used anywhere in the project.
  • JSF can be used with facelets and icefaces to support the enhanced expression language.
  • JSF has its own life-cycle like restore tree view components, apply the request values to the components, validate the components and update the model values and invoke the application and finally render the response.

SPRING:

  • Spring is an open source framework created to address the complexity of enterprise application development.
  • Spring achieves this using the concepts called IOC and AOP.
  • IOC –Inversion Of Control and AOP-Aspect Oriented Programming.
  • Spring also contains layered architecture, where in it has spring bean factory (core), Spring Application Context, Spring Web MVC, Spring ORM, Spring JDBC, Spring Web Flow and Spring AOP.
  • Each of these seven layers are clearly separated and layered, so that any specific module can be used along with spring core/application context.
  • Spring is lightweight because of its layered architecture.
  • All the configuration w.r.t to lookup of JNDI can be done in the spring configuration file by removing the dependency in the code i.e; loose coupling is achieved.

PORTAL/PORTLET:

  • Portals are user to aggregate content and to provide single sing-on for different applications and apart from that it provide the user with facilities like customization and personalization.
  • Portlets are web applications which can be run the portal environment on the portal server. Every portlet developed is specific to the portal server.
  • Portlets have different modes and states.
  • Portlets cannot be accessed directly using url’s like servelt’s and jsp’s.
  • A portal can contain multiple portlets (web applications) running on it.
  • A portlet can be made available to different portal environment using the WSRP (Web Services for Remote Portlets).
  • Portlets are pluggable components and they can be removed or added to the portal environment without restarting the application.

Related Posts

  1. OWB Oracle Warehouse Builder an Introduction
  2. An Introduction to Microsoft SQL Server 2008 – Part 1
  3. XML and WebServices Basics – Part 4 | Webservices SOAP and WSDL
  4. Visual Studio 2010 Great functionality for Developers
  5. DotNet Framework Fundamentals

Tags: , , ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>