Top 10 in 2008
5 popular archives:
All selections are based on page views.
Best of 2008: A developer's list
JW blogger Dustin Marx names his top 10 technology events of 2008. Highlights include updates to Java SE 6, runtime support in OpenLaszlo 4.2, and the clash of the titans that occurred early in the year, when Sun acquired MySQL on the same day that Oracle announced its acquisition of BEA. No two lists are alike and it's not too late: What were your top 10 for 2008?
Also see:
Read the whole "Validation with Java and XML Schema" series:
This series of articles, and the code included, seeks to at least limit, if not completely stop, the drool and boredom, the hours spent looking out a window (or a cubicle wall!) wishing that you were outside playing hockey or listening to the Dave Matthews Band in concert. I'm thrilled at the response so far, and am glad you've come along for the ride. Before diving into this final article in the series, let me give the newcomers a little history.
Well, I'm happy to see you've made it this far. As an author, there is a certain wariness about moving beyond a series that has more than three parts. It's the "trilogy" fear, I suppose; other than Star Wars, there aren't many trilogies that have successful fourth outings. I mean, did any of you really anxiously await Friday the 13th, Part IV? In any case, I am glad that you are still reading.
In Part 1, I talked at a conceptual level about problems common to applications with user input and raised the issue of validation.
I discussed using Java properties files as well as hard-coded solutions and the various shortcomings of those approaches.
Finally, I suggested that XML Schema might provide a means to represent data constraints easily and completely and previewed
the framework that is the focus of this series. In Part 2, I demonstrated how you could use some simple Java classes to represent data constraints defined in an XML Schema. This laid
the groundwork for building a set of these Constraint instances and then comparing Java data (Strings, ints, Dates, etc.) to these data constraints. In Part 3, I rounded out the framework, providing the SchemaParser class to parse the XML Schema and build up these constraints. And finally, I showed you the Validator class, which would take data and a constraint name and return whether or not the data was valid with regard to the supplied
named constraint. For those of you who haven't read these parts, I strongly recommend that you read the first trilogy of articles
before moving on.
So far, we have a pretty good set of classes to help us out in validating data in applications, and particularly in servlets. But there are some things missing in the framework; while validity of data is determined, there is no means to report what problems occur when data is invalid. This will be the focus of this article. Additionally, I've yet to "put it all together" and give you a solid concrete example. I'll also do that in this article and hopefully let you better see validation in action.
foreclosuresBy mukesh on December 15, 2008, 5:00 pmvalidation is necessary to authorized to any one for hold on a company. --------------- mukesh foreclosures-foreclosures
Reply | Read entire comment
ValidationBy jillnjack on December 15, 2008, 4:00 pmI belive validation is a good practice for the sake of security. ==================== jillnjack [url=http://auctions.fastrealestate.net]foreclosures[/url]
Reply | Read entire comment
View all comments