This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15624
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which type of jsf validation is preferrable?
 
Similar Threads
which validator with "required"
Is any dynamic validation in JSF ?
JSF Validation Vs JavaScript Validation
JSF validation errors
Hibernate JDBC Type