On 4/3/06, 101questionjsf <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> I have read thru appfuse site. So to integrate spring, hibernate into jsf, I
> need to create some dao interface and imple object, xml file mapped to table
> for hibernate.
>
> For spring, i need to create manager interface and imple object.
>
> So jsf will talk to spring and spring will talk to hibernate.
>
> But compared to my current jsf with jdbc statements, the above seems so much
> more complicated.

Spring can definitely seem more complicated (look at all this XML!)
when you're used to simple solutions like straight JDBC.  However,
once you learn it's syntax, it's pretty easy.  Furthermore, it makes
your applications easier to test (dependencies are exposed instead of
looked up) and maintain.

Crazy Bob recently wrote a good blog entry asking "I don't get
Spring", then after many comments, replies with another post "I was
too hard on Spring".

http://www.virtuas.com/node/143

Of course, if you're using AppFuse, you can generate most of the code
for your interfaces/implementations and not be so concerned with LOC.
;-)

Hope this helps,

Matt

>
> What benefits will i get from these integrations? Appreciate if someone can
> show me some light, thanks
> --
> View this message in context: 
> http://www.nabble.com/Spring-needed-Myfaces--%3E-hibernate--t1385947.html#a3723234
> Sent from the MyFaces - Users forum at Nabble.com.
>
>

Reply via email to