import
org.springframework.validation.Validator; Interface is provide d that user can implement .like this validations can heppen on server side.
then why to put another layer of managed bean through faces-config.XML
I have 1 scenario. for example to prevent duplicate value being entered into DB user has to develop logic where he has to hit DB to get all values previously enetered.
& compare it with usereneterd value. he can put this logic into either by extendedValidator class of Springs MVC or in case of JSF the managed bean class.
In both cases user is hitting DB.
Then how JSF is said to be reducing the work. why it is said that JSF is useful to validate form at server side itself.
I dont see any reson to integrate SPRINGS MVC framework with JSF . I guess SPrings is very rich framework that provides a lot but to utilize it more developer need to
go through it deeply.
IS there some concept missing in my understandings or its just to use a new framework ppl integrate JSF with Spings.
thanks & regards
Shweta Sharma
--
You received this message because you are subscribed to the Google Groups "Bangalore Open Java Users Group- BOJUG" group.
To post to this group, send email to bo...@googlegroups.com.
To unsubscribe from this group, send email to bojug+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bojug?hl=en.
However it makes sense to use spring framework for you business layer
and use JSF for the web layer - in which case you will need to
integrate spring with JSF.
Spring also has an implementation of JSF called SpringFaces which you
can consider using if you are using spring in the business layer and
want to use JSF (and the associated component libraries like
richfaces, icefaces etc).
Regards,
Kamal
http://springpeople.com/
On Jan 16, 11:51 pm, shweta sharma <shweta...@gmail.com> wrote:
> Hi ,
>
> I want to know something about SPRINGS MVC + JSF integartion.
>
> I have searched over net & heard from ppl too that JSF when integarted
> with SPRINGS gives best performance
> both of these tech provide good combination.
>
> But as i have gone through JSF doc. etc. I came to know it provides the
> view part nicely .
> It handle all form level validations , component /event based response
> on server side.
>
> But i am not convience fully why SPRINGS needs to be integrated with
> JSF.
>
> in SPRING MVC framework there is already *
>
> import* org.springframework.validation.Validator; Interface is