domingo, agosto 28, 2011

PrimeFaces DataTable + DAO + Spring


This post is intended to explain how to develop a simple DAO using Spring and JSF PrimeFaces DataTable

Basically this post will cover the steps to build a simple application that uses DataTable component, Spring 3 as DAO.

First you have to download all jars needed to accomplish this task. We'll use PrimeFaces 3 and Spring Framework 3. All versions used are:

Spring Framework 3.0.5 - http://www.springsource.org/node/2880

NOTE: PrimeFaces 3 during the time I'm publishing this post is in its developtment stage. But I guess this won't be a huge problem. So feel free to use it as you wish. But be carefull if you usie dev distribution in a production application.

I won't waiste much time teaching how to configure your IDE. So it would be great if you already have done that so I can focus in what are the steps to create an application using these frameworks. Also, this post won't show you all features available for these framework as well. I assume that you already have knoledge in how to create a Eclipse project, import and configure all dependencies need. I

Please, import these jar into your Eclipse project:

Spring:


PrimeFaces:

Please, go primefaces' page to learn how to configure a project using PrimeFaces framework.

primefaces-3.0.M3-SNAPSHOT.jar


Nenhum comentário: