This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes which type of jsf validation is preferrable? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "which type of jsf validation is preferrable?" Watch "which type of jsf validation is preferrable?" New topic
Author

which type of jsf validation is preferrable?

prasad neena
Greenhorn

Joined: Jan 03, 2013
Posts: 11
Hi,

In JSF we are having 4 types of validation types

1.manual validation

2.implicit validation

3.explicit validation

4.custom validation.

which is preferrable for small and medium level projects for validating form fields?

Any suggestions would be greatly appreciated.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

I have a nasty feeling that this is being used as some sort of silly job interview question.

The type of validation that is preferable is the type that does the job. If more than one type does the job, pick the one that seems most useful/simple/attractive to you.

Given various types of validation that can happen at different levels of a request/response process, I prefer to screen the data as close to the request origination point as possible, for the simple reason that there's no point is doing a lot of work that will have to be thrown away if you can detect the problem before you do the work. But I'm not sure the validation types you listed make that distinction.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: which type of jsf validation is preferrable?
 
Similar Threads
Hibernate JDBC Type
Is any dynamic validation in JSF ?
JSF validation errors
JSF Validation Vs JavaScript Validation
which validator with "required"