Java Web Services and XML
The following blog shows how to create and deploy a SOAP 1.2 based
webservice in Glassfish v2 using Netbeans6.0
Download and install Netbeans 6.0 from here.
Click on File->New Project
Choose Web ->WebApplication
Next provide the name of the Web application
choose the Java EE version as Java EE 5
Click on Finish
Next in the Projects tab you will see EchoTest
Right Click on EchoTest...
on Jan 29, 2008
Scripting is becoming ever popular among web application developers. Glassfish
supports Ruby on Rails with JRuby,
Phobos brings in solid support for
jMaki and all of these with excellent NetBeans tooling. There are other
scripting languages such as PHP and Python, which are very popular among
developers too. How nice would it be to deploy your...
on Jan 26, 2008
A tip on Using Maven with JAX-WS is available as Enterprise Java Technologies Tech Tips. You can find more Enterprise Java Technical Tips that are posted every month here. In this tip, I talk about using JAX-WS Maven plugin to build Web Services.
The JAX-WS Maven Plugin is developed as part of the jax-ws-commons project, where useful plugins and extensions around the JAX-WS RI are collected....
on Jan 18, 2008
Finally, JDK6 Update 4 release, which has JAX-WS 2.1 and JAXB 2.1 implementation is out and available here.
What it means to you as a user:
You can use JAX-WS 2.1 (Metro 1.1) very smoothly on JDK 6 U4 and later.
Earlier releases of JDK 6 have JAX-WS 2.0 and JAXB 2.0 implementations. After the release of JDK 6 FCS, JAX-WS RI has been re-architected to perform better (infact a lot better ) and...
on Jan 11, 2008
This new version is the version of JAXB used in upcoming Metro 1.1 release and JAX-WS 2.1.3 release.
Not much changes are in this release, but it does contain a few bug fixes, including one performance fix which should have a measurable impact for many users. If you are interested, the complete changelog is here.
on Dec 19, 2007
Ealier in my blog "Understanding
Handlers in JAX-WS", I talked about Handler
Framework in JAX-WS and showed some examples
of using handlers to intercept the messages for additional processing
on the server and client. Overall, JAX-WS handlers provide good API to
abstract your application logic as a handler and plug it in easily with
any service. But the standard handlers have some limitations....
on Dec 13, 2007
My Colleague Ashutosh has posted a nice blog on how to secure Metro
WebServices using Kerberos Tokens.
Support for Kerberos Token Profile would be available in Metro
1.1 release (to be out soon). If you want to try it right away
then you can do so by downloading the latest nigtly here.
on Dec 6, 2007
I will be giving presentations on the
web services stack at
Sun Tech Days in
Frankfurt, Germany (Dec 3-5) and at
JavaPolis in Antwerp (Dec 10-14). If you are interested in using Metro (or already use it) please drop by and say hello.
on Nov 29, 2007
3 Sun development engineers (myself,
were at Microsoft's Redmond campus last week to participate in the
to test interoperability between future releases of
Metro Web Services
and Windows Communication Foundation in .NET 3.5.
Note: our shipping product, Metro 1.0 (built into
GlassFish V2 FCS (b58g)
and runs in other web containers---e.g., Tomcat...
on Nov 14, 2007
Metro user guide (formerly known as JAX-WS user guide) and JAXB user guide is our effort to develop a comprehensive coding-level in-depth documentation about JAXB, JAX-WS, and Metro.
This document is generated from a set of "source" documents by using an HTML transformation engine called htmlmacro, which I talked about some time ago. One of the benefits of doing a transformation, is that we can...
on Nov 2, 2007
I attended the SiliconValley CodeCamp at FootHill College, Los Altos this weekend. This is a free conference by developers for developers in a beautiful location.
Overall, good number of people attended the conference. I liked the conference as it is light weight and free. Another interesting thing is that there were sessions covering topics on .NET, Java and Web 2.0 technologies. My wife is a ....
on Oct 31, 2007
My tech tip on
how to test ReliableMessaging interop
client with a public .NET service is now available.
It's also available as an
RSS-enabled blog entry.
Being able to run these tests should give you confidence in our
interoperability capabilities. We do run the entire gamut of interop
tests, such as these, in both directions everyday. Knowing this info
on Oct 29, 2007
Configurable features is a common requisite of computer systems,
and the Java API provides the utility class java.util.Properties
to facilitate our lives. It is very simple to use, and it is suitable
for the most part of applications, but it also has some limitations -
more precisely when we consider the configuration data:
How to check if all key/values are really present in the
on Oct 26, 2007
A question on which i often have to search for the answer
since the number of different addressing related URL's floating around
are just too many...
>The WSE SOAP message contains
>whereas the WSIT implementation searches for
This should be easy...
on Oct 22, 2007
Java SE 6 Update N (formerly know as the "Consumer JRE" project) is an update release that introduces new features and enhancements aimed at providing an optimized consumer end user experience.
Along with the features and enhancements listed here, it also brings in JAX-WS 2.1. This is just an early access release and some other enhancements may trickle in as it goes final.
As you all know JAX-...
on Oct 3, 2007
I presented the
Metro web services
Mid-West Java Tech Days
Indianapolis, Indiana last week.
These are mini-Java Ones with sessions on
the NetBeans IDE,
the jMaki Ajax framework,
the JavaFX rich content platform,
Java Persistence API,
SOA using OpenESB BPEL and NetBeans,
and Java SE 6 top 10 features.
If you missed last week's sessions there are two more...
on Oct 3, 2007
I spoke on the
Metro web services stack
today (Wednesday 9/26) in Columbus, Ohio at the
Mid-West Java Tech Days.
Tomorrow I do the same in
It's free. Come on down. Lots of other stuff to hear about too.
will be speaking at the ones in October.
on Sep 26, 2007
Metro, the web service toolkit, is finally hitting the FCS status today. "FCS" is a Sun jargon for "first customer ship", which I guess is orinally defined for our hardwares. In software, it just means that it's a very thoroughly tested, fully supported, and good build, suitable even for the most conservative developers.
My blogs tend to become a diff, and therefore I think this is a good...
on Sep 18, 2007
(aka WSIT - Web Services Interoperability Technology)
is now FCS (First Customer Shipment)!
Tango provides the .NET 3.0 interoperability features (i.e., security,
reliability, transactions) built into the
Metro Web Services stack.
Besides including Tango, Metro includes the core
Metro FCS is built into
GlassFish V2 FCS (b58g)
on Sep 18, 2007
Good News Everyone !!!
Web Services Addressing 1.0 Metadata specification produced by Web Services Addressing Working Group is now a W3C recommendation. This Metadata specification defines standard way to express the abstract properties of Web Services Addressing 1.0 core in WSDL and to express support and conformance to Web Services Addressing 1.0 in the wsdl. It also defines how WSDL...
on Sep 6, 2007