Spring is optional in the mix, but needs to be used if you want to use
Orchestra (http://myfaces.apache.org/orchestra) which offer
conversation scopes and other utilities to use JPA and JSF more
conveniently. You can use Spring also to register your JSF backing
beans as well, so you could register the beans there instead that
doing so in the faces-config.xml file, which you can then integrate
better with the other spring-controlled bits of your app. If you do
not want to use Spring, you can still go with your app and handle the
JPA in any other way, so you can have MyFaces+Trinidad+JPA+Maven...

Cheers,

Bruno

On 16/12/2007, ying lcs <[EMAIL PROTECTED]> wrote:
> On Dec 15, 2007 5:50 PM, Bruno Aranda <[EMAIL PROTECTED]> wrote:
> > And check:
> >
> > http://code.google.com/p/facesgoodies/
> >
> > for a nice working out-of-the-box app that uses MyFaces
> > Core+Trinidad+Spring+Orchestra+JPA+Maven (I am forgetting anything)?
> >
> > This demo app uses JPA with Toplink by default, but it is a matter of
> > configuration to use JPA+Hibernate,
> >
> > Cheers,
>
> Thank you.  But I am not sure why I need Spring here.
> MyFaces + Trinidad is 'Front end'
> JPA  is 'Backend'
>
> What is the purpose of Spring? And it is quit big of a framework
> (20Mb) when it is not doing front end nor backend in this case. Please
> correct me if I am wrong.
>
>
>
> >
> > Bruno
> >
> >
> > On 15/12/2007, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> > > Check out the examples folder in the Seam download, there are many
> > > examples. As for the other two, someone else will have to answer
> > >
> > > On Dec 15, 2007 10:18 AM, ying lcs <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I am new to JSF, I would like to know what is the good way to start a
> > > > JSF project running on tomcat.
> > > > I am planning to Hibernate for database communication.
> > > >
> > > >
> > > > What other things/framework do I need? Spring? Shale? Seam?
> > > >
> > > > Thank you.
> > > >
> > >
> >
>

Reply via email to