• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

how to integrate JSF technologies

 
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

May I know how to integrate JSF with hibernate and spring, meaning what all configuration files should we use in order to use all three technologies?

many thanks,
rahul
 
author and cow tipper
Posts: 5006
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You've got three major technologies there. It depends on if you're learning, or if you're knee deep in a project.

Really, you should learn a bit about each one, and then look towards integrating them. So, learn the basics of JSF, then Spring, and then Hibernate, and you'll know all of the config files that are needed. From there, look in the back of a big Spring book, and it will talk about integrating the pieces together.

In my humble opinion, one of the big problems with these frameworks is that people do just that - they try and build these monolithing, framework bloated applications, without any real understanding or appreciation of what each framework does. You really need at least a basic understanding of each if you plan on integrating them all together.

-Cameron McKenzie
 
Saloon Keeper
Posts: 25608
183
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cameron Wallace McKenzie wrote:You've got three major technologies there. It depends on if you're learning, or if you're knee deep in a project.
You really need at least a basic understanding of each if you plan on integrating them all together.

-Cameron McKenzie



Unfortunately, the order of the day is to take people with about 2 years experience, shove an IDE at them, and expect them to use the IDE's wizards to create and maintain these complex projects. Which pretty well explains why so many websites these days are so flimsy.

The exact set of configuration files when combining complex technologies like these can vary considerably. At a minimum, you'd find the faces-config and Spring bean definition files, but they can also pull in side files as needed for special featured, and/or be renamed or split to make a large project more modular. Hibernate can be configured quite differently depending on whether it's being used in traditional or JPA modes and whether you're using XML or annotations (or both).

reply
    Bookmark Topic Watch Topic
  • New Topic