hibernate - Create JSF 2.0 with Richfaces 4.0 / Primefaces project using Maven -


i new jsf , richfaces. in need create project jsf 2.0 , richfaces 4.0 , hibernate using maven.

i have go through many tutorials , confused installing maven archtypes, plugins , adding repositories etc.

i using ubuntu 12.04 , eclipse (kepler) , mysql .

i have installed maven using sudo apt-get install maven2

help me clear knowledge , create new project (for beginner) using

  • jsf 2.0
  • richfaces 4 / primefaces (able remove richfaces & add primefaces , vice versa)
  • maven
  • hibernate
  • spring (if needed how use)

my approach like:

  1. install new eclipse. there many elipse-maven plugin issues have been resolved since kepler.
  2. start new maven 3 project, webapp archetype maven-archetype-webapp, create proper folder structure
  3. add dependencies need integrate spring, jsf-2, hibernate etc. pick them 1 one, , make sure using right versions, latest release.stable version.

for example, here can see versions primefaces

i think this tutorial starter. can check pom files similar projects, , handpick dependencies.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -