Liferay 6.0.5 + JSF 2.0 + IceFaces 2.0 + Hibernate 3.5.6 – page 1

Hi everyone, I am putting together Liferay 6 , JSF 2.0 with IceFaces 2.0 and Hibernate 3.5.6 (Annotations). There are plenty of introductions, tutorials and Documentation, which we will going to explore.

Here we are going to see a very simple example how to integrate all in one. As I believe, everyone will have basic idea of all the above tools. Well I will try to make this blog as simple as possible to understand everyone.

Let first Focus on description of the  above technologies and How to Install it. In the next page we would begin with the basic and simple example.

What is Liferay ?

  • Liferay is a free and Open source Enterprise portal.It is fundamentally constructed of functional units called portlets.
  • Liferay’s support for plugins extends into multiple programming languages, including support for PHP and Ruby portlets.
  • Liferay Portal is Java based and runs on any computing platform capable of running the Java Runtime Environment and an application server. Click here for more Info

What is JSF 2.0 ?

  • JSF’s component architecture defines a common way to build UI widgets.
  • This architecture enables standard JSF UI widgets (buttons, hyperlinks, check-boxes, text fields, and so on), but also sets the stage for third-party components.
  • Components are event oriented, so JSF allows you to process client-generated events (for instance, changing the value of a text box or clicking on a button).

New features in JSF 2.0 :

  • System Events : This feature provides a very fined-grained level of detail to observe and act upon the JSF runtime as it processes requests.
  • Resources : This feature allows the JSF runtime to serve up static resources, such as style sheets, scripts, and images, in addition to the previously available capability to serve up JSF pages.
  • Facelets : Facelets began as an open-source JSF extension that provided first-class templating and easy integration between markup and the JSF API. This made the experience of writing JSF pages easier and more maintainable.
  • Ajax : This feature enables JSF views to communicate with the server directly from the browser without requiring a full-page refresh of the browser window. Ajax is an essential element of most production-quality Web applications currently in production.
  • Composite : Components This feature enables creating true JSF components as aggregations of other JSF components. With this feature, it is easy to build your own custom JSF components and to refactor your existing views into reusable components, complete with listeners, attributes, and events.
  • Partial State Saving : One of the biggest complaints against JSF has been the amount of memory it consumes to maintain view state between requests. This feature dramatically reduces the amount of memory for this purpose, as well as greatly simplifying the API for handling state when developing custom components.
  • And many more……

For more info : jsfcentral.com , Ed Burns has provided a Webinar, slides, data sheet, interview and much JSF 2 coverage in his Bolg . One of the best book JavaServer Faces 2.0:The Complete Reference

What is IceFaces 2.0 ?

    ICEfaces is a JSF framework that allows you to easily create Enterprise-ready Rich Internet applications (RIA) in pure Java. 

  • Open source license, Mozilla Public License.
  • Based on JEE standards and JSF Extensions.
  • Rapidly develop Rich Web Apps in pure Java.
  • Leverages your existing Java ecosystem.
  • Tailored for Enterprise needs, maximizing.
      Developer Productivity
      Scalability
      Portability

more info

What is Hibernate ?

  • Hibernate is an object-relational mapping (ORM) library for the Java language, providing a framework for mapping an object-oriented domain model to a traditional relational database.
  • Hibernate solves object-relational impedance mismatch problems by replacing direct persistence-related database accesses with high-level object handling functions.
  • Hibernate is free software that is distributed under the GNU Lesser General Public License.

more info

Let get started with Liferay and Liferay IDE

Liferay is available bundled with an application server such as Apache Tomcat.

Liferay is available in many versions, download Link.

Download Liferay (bundles with Tomcat) here New Liferay Portal Community Edition 6.0 GA4 has been released

Now, Unzip the files. and Go to the location /$TOMCAT/bin/ “startup.bat”. Double click it to start the Tomcat server.

Now it´s time to install the Liferay IDE plugin for Eclipse. Documentation

More Info

Here you will Find all the Resources . Like the Documentation and PDFs, Wiki , Blogs , Webinars, Slides Shows Click here

Geting started with ICEfaces 2.0

Download the Eclipse plugin from icefaces.org under Tools Support -> Eclipse
here is the documentation where yo can find how you will integrate Eclipse and Icefaces 2.0 . here

ICEfaces uses the portlet bridge which communicate between the JSF and the portlet lifecycle. The portletfaces bridge is already included in ICEfaces 2.0.
ICEfaces developers guide , you will get here icefaces.org

Now Let Start with the simple Example We will develop one Application say Employee Registration. in next page1

Tagged: , , , ,

3 thoughts on “Liferay 6.0.5 + JSF 2.0 + IceFaces 2.0 + Hibernate 3.5.6 – page 1

  1. avasthitapan (@tapanravasthi) January 2, 2013 at 1:24 pm Reply

    Hello Navin,
    It is such nice blog. I have just go through with your blog. It’s perfectly described. But there were some java classes still missing which i need to put for this example as per your snapshot which you shared beginning of your blog. So can you please let me know from where i can download or see this. Can you please share from where i can download source zip or WAR for this example. It would be appreciable if you share some input here.

    – Tapan

  2. Micah February 20, 2013 at 4:43 am Reply

    I would like to book mark this posting, “Liferay 6.0.5 + JSF
    2.0 + IceFaces 2.0 + Hibernate 3.5.6 – page 1 Navin Agarwal’s Blog” on my personal site. Do you really care in case I personallydo? Regards -Neil

  3. visit June 2, 2013 at 12:56 pm Reply

    Hello! This post couldn’t be written any better! Reading through this post reminds me of my good old room mate! He always kept talking about this. I will forward this write-up to him. Pretty sure he will have a good read. Thank you for sharing!

Leave a comment