• Home
  • RSS Feed
  • Log in

Posts Tagged ‘XML’


EJAPP Top 10 countdown: #7 – Unnecessary use of XML
Posted by Vincent Partington at around evening time: March 19th, 2007

Last week we discussed the incorrect usage of Java EE in the EJAPP Top 10 countdown. After that very broad topic, it’s time for a very specific one on number 7.

The unnecessary use of XML is a boon to the performance of your Java EE application. XML has a number of interesting properties that cause it to be used for a whole range of functions in the average Enterprise Java application:

  • as a configuration file format, e.g. Java EE deployment descriptors and Spring configuration files,
  • as a remoting protocol, e.g. SOAP or Burlap, and even
  • as a data storage format, e.g. Apache Xindice and eXist.

Someone once said that “XML is the noun and Java is the verb” and that has caught on. Unfortunately XML processing is heavy on CPU cycles and on memory usage.

(more…)

Share

Tags: XML
Filed under Java, Performance | No Comments »


Binary XML vs. Excel
Posted by Bart Guijt in the wee hours: August 2nd, 2006

In this post I’d like to point out some ideas regarding Binary XML and Excel.

The W3C‘s XML Binary Characterization Working Group started in the summer of 2003 and its first activity sparked protest from XML experts around the world. The Binary XML concept has been discussed before, exchanging ideas why a less verbose XML is necessary.

One year ago the XBC Working Group published their documents and continued their efforts at the Efficient XML Interchange Working Group, sadly without gaining too much interest. The problem is, Binary XML would be a whole new set of specifications, creating new problems: it would be humanly unreadable, new and updated tools, parsers and editors would be necessary, and a new set of agreements would have to be made for e.g. well-formedness validations.

Why do we invent a Binary XML when we already have a perfectly useable alternative: Microsoft Excel?

Excel is used for all kinds of purposes, even many it was not designed for: requirements, structured specifications, messages, issue tracking, timesheets, project management, timeseries data and — of course, calculations. That makes Excel as much ‘general purpose’ as XML is.

What’s more, it is already used by countless numbers of users worldwide. Nowadays non-Microsoft tools are able to take care of the Excel file format, so the usefulness of Excel spreadsheets is extended beyond the Microsoft Windows platform.

An Excel sheet is a binary format which simple human beings know how to deal with: we can open those spreadsheet files in our favourite office suite and look, analyse and modify what’s in there. It’s even more user-friendly than XML itself! No more tag balancing, no more character escaping! Spreadsheets lend themselves perfectly for mixed human-computer message exchange. For instance, a questionnaire or a timesheet could be provided as an Excel template, filled in by a user and processed by an administrative system, using the user’s favourite Spreadsheet application and software like Jakarta POI.

It’s a shame that most spreadsheets are only used by users, and almost never processed by software, which is a very real and practical option…

When will businesses go all the way and use spreadsheets to implement c2b or b2b messaging?

Share

Tags: XML
Filed under Java | 8 Comments »

Newer posts →

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India
  • XebiCon 2012

Categories

  • Java (312)
  • Agile (192)
  • General (141)
  • Scrum (70)
  • Testing (65)
  • Architecture (65)
  • Performance (47)
  • Middleware (59)
    • Deployment (40)
  • Xebia Labs (41)
  • SOA (31)
  • Project Management (31)
  • Podcast (31)
  • Tools (28)
  • Uncategorized (24)
  • lean architecture (20)
  • Quality Assurance (19)
  • Articles (15)
  • Requirements Management (14)
  • Virtualization (21)

Tag Cloud

    product owner Ajax Hibernate Spring Scrum Java Moving to India Flex Maven Concurrency Control Agile SOA Grails Javascript TDD Lean Xebia JPA implementation patterns agile architectuur Scala ACT Frameworks XML Oracle JPA Groovy Architecture lean architecture Eclipse lean architectuur

Archives

  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
Avatars by Sterling Adventures