Java Web Services and XML
The following sample code is extracted from "Architecture for XML Binding (JAXB) by Ed Ort and Bhakti Mehta, March 2003" to show you a taste of how jaxb coding look like with some of my own comments pepperred in.
xjc.sh -p test.jaxb books.xsd -d work
From books.xsd generate required interfaces and implementations in a package called "test.jaxb" and place it in a directory...
on Mar 20, 2004
You need to plan for performance and scalability
your application development process from architecture to
testing. Like security this is not something that can easily be stuck
on at the
last minute. During design, coding and testing you need to pay
attention to resource
CPU: watch for inefficient code
especially for algorithms and loops Avoid...
on Mar 9, 2004
The Colorado Software Summit is calling for papers. I went last year for the first time and absolutely loved it! I blogged about each session I went to. It is a geeky place for sure, everyone there is a geek. No stuffed shirts and you just can't beat Keystone CO for a fantastic place to learn new stuff.
This years focus is on web services with Java. I highly suggest you submit a proposal and...
on Mar 3, 2004
So, I just attended Edge East
2004, a Web Services Conference here in scenic Boston. Full
disclosure: I'm not exactly the world's biggest fan of the Web Services. My
ten cents going in: they solve a very complex problem in a very complex
way. And thus, they are to be feared. If you can, by any means,
solve a simpler problem in a simpler way, you'll be happier. If you can,
by any means, solve...
on Feb 26, 2004
I know, I have never been really aggressive in any of my posts. The problem is that, even though there are some wise people - I am not wise, I am just reasonable - telling people they are doing bad things, they keep on doing it. I ought to speak out, then. I have no choice. I can't see people doing something so irrational and still remain silently. Sorry folks, if this entry offends you, but this...
on Jan 9, 2004
[Another look back at the XML 2003 conference
last week. I feel sortof blogspherically incorrect in waiting a week to write
down these thoughts, but I wanted to let them bounce around a bit, and look at
what others wrote.]
Adam Bosworth of
BEA delivered the opening keynote address on Wednesday. He started by reminding
us of the dream that XML geeks shared back in 1998: Information should not...
on Dec 19, 2003
some of the latest Web Services "specs" are about
Orchestration, Choreography, Collaboration ...
Here I am going to give a brief synopsis and pointers for more information on this topic.
Orchestration, Choreography, Collaboration are about composing web services into Business processes,
what does this mean?
A Business process can be defined as the execution of activities according to a...
on Oct 30, 2003
The latest version of the Java Web Services Developer Pack (JWSDP) 1.3 has just been released, here's what's new:
Final versions of JAX-RPC 1.1 and SAAJ 1.2 supporting WS-I Basic Profile 1.0
Support for final version of WS-I Sample Application 1.0
Support for J2SE logging
Signed JAR files - now useable with Java Web Start
Enhanced JAXB functionality - in extension mode, JAXB 1.0.2 now supports...
on Oct 21, 2003
Web Services are a way for Microsoft to leverage the existing base of J2EE without having to do anything to support Java explicitly.
In his article, "Why Microsoft needs IBM this time around", Mike Ricciuti argues that "Microsoft needs IBM to legitimize .Net and its entire development plan as a truly cross-platform strategy." While I think that both IBM and Microsoft sincerely want to make a...
on Sep 22, 2003
Javas traditional weapon of choice
The concept of open standards has been the primary weapon of the non-Microsoft camp (which includes the Java community) against Microsoft. And it is a reasonable weapon. Open standards are meant to ensure interoperability between products from different vendors so that customers have the flexibility to put together best of breed solutions and, at...
on Aug 21, 2003
Use of XML as a format for exchange of information has its plusses and minuses. XML is self describing and lends itself to more loosely coupled information exchange but it is quite verbose and processing it can be resource intensive. As a result, the subject of a more compact/performant binary representation of XML has become a perma-thread in discussion fora such as xml_dev. In response to this...
on Jul 21, 2003
The contentious world of RSS and the "(not) Echo" project have been featured in a number of java.net weblogs recently by Simon Phipps and Daniel Steinberg. I've been intrigued by RSS for awhile because it illustrates both the challenges one faces in the real world in getting agreement on what seems like a simple problem, but also on the ability of XML to provide robust solutions even in...
on Jul 7, 2003
I must confess that when I first started hearing about Service Oriented Architectures or SOAs, my reaction was "oh brother, here we go again ... more vague mumbling about 'paradigm shifts' by analysts who have predicted 10 of the last 2 revolutions." The definitions one finds didn't inspire confidence ... usually something along the lines of "a SOA is an architecture in which the components...
on Jun 24, 2003
Sean McGrath seems to be the first to link to this weblog, and I'll return the favor by publicly disagreeing with him <grin>. Actually, there's not a whole lot in the XML world that Sean an I disagree about, I strongly recommend his ITWorld columns . But apparently the benefits of SOAP are one of them, as he says: " I would argue that it is not the case that for more complex apps, SOAP is...
on Jun 13, 2003
For some users, the Java and XML roads come together in a smooth interchange where objects can be serialized as XML and schemas cleanly bound into classes. But for others, they come together in a maze of alternative sidestreets, and there are a lot of interesting things happening there that one one misses by simply taking the "databinding interchange." The overall theme of this weblog is to...
on Jun 10, 2003