Java Web Services and XML
Sun Java Streaming XML Parser (SJSXP) is now available from the Java.net Maven repository. This is the FCS version of Sun's StAX parser. StAX is based on the so-called pull model in which an application queries the parser for the next parsing event, but never surrenders control to the parser during the process. Stated differently, StAX turns the SAX processing model upside down. Instead of the parser controlling the application's flow, and the application reacting to parsing events, it is the application that controls the flow by pulling events from the parser. Read on if you're interested in getting this parser from the Maven repository.
You have already seen quite a few examples of JAX-WS clients accessing RESTful clients. Marc's blog. I wrote a sample RESTful webservice using latest mustang JDK(b91).
Taking on from previous post ...
Even though the list of breaking changes from Feb
CTP to Vista Beta 2 and Vista
Beta 2 to Jun CTP are documented. The list is missing a "minor"
detail of changing the WS-Addressing
1.0 WSDL Binding namespace from http://www.w3.org/2005/08/addressing
(same as SOAP
Binding namespace) to http://www.w3.org/2006/05/addressing/wsdl
(WSDL Binding CR namespace...
One of WSIT user reported
an issue with WCF June CTP in WSIT user
forums. And thus I tried installing the latest CTP from Microsoft. But as
always, there are different runtime and SDKs floating on the website
Lets see which one are required.
The runtime components can be downloaded from here.
There is a separate link for .NET Framework 3.0 Runtime Components Beta2 for
Sang Shin is starting a FREE
10-week "AJAX Programming" online course from August 4th, 2006. This
course is for anyone who wants to learn AJAX for the first time or increase
their knowledge on AJAX. In this 10-week course, students learn basic
concept of AJAX as well as how to use various AJAX frameworks and toolkits such
as Dojo toolkit, jMaki,
Google Web Toolkit, and AJAX-fied...
Now JAX-RPc is in java.net maven repository
More and more web service toolkits rely on the JAXB RI to do the databinding. So why shouldn't you?
I just posted JAXB RI 2.0.1, a bug fix release to JAXB RI 2.0.
Web Services are stateless by default because of the underlying HTTP protocol. The server processes each web service request as a new interaction even though it is from the same client. To have a knowledge about previous requests, Server would need to maintain state about the client through some sort. Enabling session support for your web service would require little effort on the server and client.
I've been using Netbeans to draft my java.net weblogs of late. Because I like rich clients. And i love Netbeans. Actually I love Eclipse and IntelliJ too. But you gotta pick your tool and stand by it. And make everything look like a nail. Java.net weblogs is my newest nail, and 've been hammering it.
Today's question from our users is "why doesn't JAXB handle interfaces?"
JAX-WSA (Java API for XML
Web Services Addressing) Early Draft 2 was released right before JavaOne. The
specification and javadocs can be downloaded from the JCP
site. The javadocs can also be viewed online at jax-wsa.dev.java.net.
The implementation, work in progress, will be made available shortly from jax-wsa-sources.dev.java.net.
Today, I'm going to answer a question from a JAXP user: "I have a schema, and I want to validate documents by using it before I process them. How do I do that?"
Arun brought a comment to his session to my attention, in which an user made some interesting comments about web services. Since I work on the JAXB RI, so I know a thing or two about the issue he's talking about.
TS-1756 Java™ Technology and REST: Implementing the Atom Protocol -- Quick Review and Summary. REST + Atom + ROME + Apache HTTPClient = Life is Easy.
Early access to Project Tango has been available for a couple of
days. Have you tried it yet? It's easy - let me show you how.
Here is the official and some related press release on the interoperability efforts happening
between Sun and Microsoft
for past few months:
In a related article published here
in eweek, a quote from the article says...
Yesterday, Sun Microsystems announced WSIT (project Tango) as a set of components that will provide interoparability with Microsoft'S WCF.
The JavaOne lab that shows you how to build web-services with NetBeans is being repeated. Here are the details.
637 new Java source files
Approx 111K lines of new code
To Documentation and Samples
Integrated NetBeans 5.5
Implementations of WS-Policy,
WS-Security Policy, WS-Metadata Exchange, WS-Security 1.0 and 1.1, WS-Secure Conversation, WS-Trust and WS-Reliable Messaging.
Leverage existing JAX-WS
list and interoperability
These are some...