Posts for the 'XML' Category

WebSphere 7 Supports Properties-Based Configuration

Wednesday, August 20th, 2008

IBM WebSphere 7 (currently in beta) comes a property-file based configuration tool that provides a "human-consumable" interface to the currently XML-based configuration repository of the application server. This is another proof that XML is simply not the right mechanism for managing configuration of complex software products.
From the release notes:

Properties (name/value pairs) files are more [...]

Ant Scripts without XML

Sunday, December 23rd, 2007
It's pretty easy to create an Ant file for a simple project. A simple Ant script typically contains ubiquitous "init", "compile", "test", "war" (or "jar), "build" targets all wired together. It's easy to change and easy to understand and the script's flow has a declarative, rule-based feel to it. The problem is, projects and [...]

Why XML is Bad for Humans

Wednesday, October 3rd, 2007
XML is everywhere these days. It is used for passing data around, for specifying metadata and even as a programming language for tools such as Ant and Jetty. When XML is generated by various development and run-time tools (e.g., for serializing Java objects into SOAP), its complexity and readability don't matter much since humans [...]

It Takes a Mental Shift to Benefit from XML Appliances

Tuesday, July 31st, 2007
This article on techtarget is a great illustration of my point from the previous post about the importance of the proper design patterns and techniques required to be able to benefit from XML appliance capabilities. When implementing Web services Java developers tend to think in terms of Java classes that XML documents map to. Using [...]

JSON Pros and Cons

Thursday, February 8th, 2007
JSON is a simple object serialization approach based on the JavaScript object initializers syntax. The code for initializer (object literal) is put into a string and then interpreted using JavaScript eval() function or JSON parser (which is very lightweight): serializedObj='{firstName:"john", lastName:"doe"}'; ... // This is just an example, JSON parser should be used instead // to avoid security vulnerabilities [...]

Schema Compliance is the Key to Interoperability

Thursday, November 23rd, 2006
Good Web services interoperability is an absolute must for a successful SOA implementation, but why interoperability has been so difficult to achieve? I think that inability to comply with a published Web services contract expressed via its WSDL/Schema could be one of the leading causes of interoperability problems (I use the term "interoperability" pretty broadly here). For [...]

Web Services and Publishing Schema

Saturday, May 20th, 2006
Good Web service design starts with a schema. Binding, port type and all these other parameters of a WSDL file usually are not interesting at all - 99.9% of all services have trivial SOAP bindings, no headers and no declared faults. Also, majority of Web services today are document-style with one “part” per message. So […]

What’s Missing from XML Schema

Sunday, October 16th, 2005
Over the last several weeks I‘ve been working on developing XML schemas for a client to support information exchanges between several different organizations, so it was important to make the schemas very explicit and “tight“ so that each party can validate XML before or after sending it. The XML documents could be used in conjunction […]