David Weller

Subscribe to David Weller: eMailAlertsEmail Alerts
Get David Weller: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by David Weller

A regular expression (regex) is an essential part of software development. Indeed, the programming language Perl is, in effect, a language written around a regex parser. This article focuses on Sun's implementation of a regular expression package, java.util.regex. In addition, this article also assumes you have some familiarity with regular expressions (if not, see the sidebar for a brief introduction). Each regular expression used here, however, is fully described, so even a regex neophyte should have no trouble. The regex package is divided into two major packages: pattern and matcher. Before going into the details of these packages, it's important to understand their relationship. A pattern contains a specific regular expression that's created by compiling a regex string. If the string doesn't compile, the pattern isn't valid and a PatternSyntaxException is thro... (more)

.NET Web Services: The 'Three I' Monster

As readers of a magazine focused on XML, it may amuse many of you that the world has suddenly discovered what we've known for almost six years: XML is a massively powerful metalanguage. Nowhere is that proven better than in the sudden explosion of Web services in the marketplace. Microsoft embraces Web services as an important component of their .NET framework, but rather than take it on as an afterthought, Microsoft went out of their way to make Web services both simple and pervasive. Indeed, XML itself is the lifeblood of .NET, with major components easily communicating back a... (more)