Posts for the 'XML' Category
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 [...]
Posted in XML, WebSphere |
Full Text
|
No Comments »
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 [...]
Posted in XML, Building software, Ant |
Full Text
|
3 Comments »
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 [...]
Posted in XML |
Full Text
|
14 Comments »
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 [...]
Posted in XML, XML Appliances |
Full Text
|
No Comments »
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 [...]
Posted in Web services, XML, SOA |
Full Text
|
6 Comments »
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 [...]
Posted in Web services, XML, SOA |
Full Text
|
2 Comments »
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 […]
Posted in Web services, XML |
Full Text
|
No Comments »
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 […]
Posted in XML |
Full Text
|
No Comments »