Friday January 18, 2008
Travel Plans for Q1 2008 - Fairfax, Little Rock, Orlando, Hyderabad, New York, Las Vegas
Here are my tentative travel plans for the next 3 months:
| Event | Dates | Location |
| Partner Preso | Jan 23 | Fairfax, Virginia |
| Partner Preso | Jan 24 | Little Rock, Arkansas |
| Rails for All | Feb 8-9 | Orlando, Florida |
| Sun Tech Days | Feb 27-29 | Hyderabad, India |
| Ajax World | Mar 18-20 | New York |
| The Server Side Java Symposium | Mar 26-28 | Las Vegas |
Posted by Arun Gupta in webservices | Comments[1]
|
|
|
|
|
Thursday January 17, 2008
Tango Overview - Now Translated in Chinese
"Project Tango: Adding Quality of Service and .NET Interoperability to the Metro Web Services Stack" - The original article, introduced here, provides an introduction to how different Quality-of-Service, such as Security, Reliability and Transactions are enabled in Metro. One of the core benefits of Metro is interoperability with .NET 3.0 and the article describes how that is baked in the Web services stack.
The same article is now available in Chinese at Sun Developer Network China. Thanks to the Globalization Team in China for completing this effort, and Zhen Tao in particular who did the translation!
Metro runtime is available as part of GlassFish v2 UR1 and tooling is available in NetBeans 6.
Let us know if you'll be interested in creating a localized version of this article.
Technorati: metro webservices tango glassfish netbeans china
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Monday January 14, 2008
GlassFish, Metro and NetBeans @ Delhi University
Agraj, the newly recruited Campus Ambassador @ Delhi University, gave his first presentation to approx 100 students. And it was all about GlassFish, NetBeans and Web services. Here are some key points that he covered in his preso:
Technorati: campusambassador delhi netbeans glassfish metro
Posted by Arun Gupta in webservices | Comments[2]
|
|
|
|
|
Friday January 11, 2008
Java SE 6 Update 4 is released - "Good Riddance" with JAX-WS Endorsed
Java SE 6 Update 4 is now released. Download it here.
If you are a Metro user
(either JAX-WS or
WSIT) then this is a milestone release
for you because it includes JAX-WS 2.1 API in the rt.jar. This
means that, as a user, you no longer you need to copy JAX-WS or JAXB API jars in
JAVA_HOME/jre/lib/endorsed as described
here,
here and
here. Hurrah!
After you have downloaded and installed JDK 1.6 U4, java
-version shows:
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
wsgen -version shows:
JAX-WS RI 2.1.1 in JDK 6
wsimport -version shows:
JAX-WS RI 2.1.1 in JDK 6
Additionally, you can also verify by greping for
javax.xml.ws.Endpoint class in JAVA_HOME/jre/lib/rt.jar.
This is a new class introduced in JAX-WS 2.1.
Now after you've installed Java SE U4, you can download
Metro 1.1,
set JAVA_HOME to point to this new Java SE installation and you can
easily import a WSDL as:
wsimport -d temp
http://localhost:8080/MetroWithJavaSE6/HelloService?WSDL
parsing WSDL...
generating code...
compiling code...
If you try to import the same WSDL with an earlier release of Java SE 6, then you'll see the error message:
You are running on JDK6 which comes with JAX-WS 2.0 API,
but this tool requires JAX-WS 2.1 API. Use the endorsed standards override
mechanism (http://java.sun.com/javase/6/docs/technotes/guides/standards/), or
use -Xendorsed option.
We hope this will make your life simpler :)
Metro 1.0.1 is anyway baked in GlassFish v2 UR1. You can override it with Metro 1.1 as described in TOTD #21.
Technorati: webservices metro jax-ws glassfish endorsed javase6 jdk
Posted by Arun Gupta in webservices | Comments[19]
|
|
|
|
|
Thursday January 03, 2008
TOTD #21: Metro 1.1 with GlassFish v2 UR1 and NetBeans 6
Metro 1.1 was released last month. This blog describes how to install Metro 1.1 on GlassFish v2 UR1 (which comes with Metro 1.0.1 baked in) and use it with NetBeans IDE.
ant -f setup.xmlant -f wsit-on-glassfish.xml installServices"
tab and right-clicking on "Servers" node and selecting "Add Server...".
These instructions can also be used to override Metro 1.0 that is baked in GlassFish v2 Final build.
Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Technorati: totd webservices metro glassfish netbeans
Posted by Arun Gupta in webservices | Comments[1]
|
|
|
|
|
Tuesday December 25, 2007
Santa's Goodie Bag for Developers
Merry Christmas!
And guess what, Santa has been delivering gifts through out December:
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Saturday December 22, 2007
Metro 1.0.1 and 1.1 are now available
Metro 1.0.1
(integrated in GlassFish
v2 UR1) ad Metro
1.1 are now released. Metro contain stable releases of JAX-WS
RI and WSIT. Read Vivek's
blog for more details.
Even though Metro 1.1 is a stand-alone release, it can be easily
installed on an existing GlassFish instance (for example override on
v2ur1). A later release of Metro 1.1 will be integrated in GlassFish
v2.1. Metro
Roadmap provides all the details.
Please send us your feedback on users@metro
or Forum.
A pleasant change that happened earlier today was that cross-posting
was enabled between user's list and forum. So all the questions posted
on user's list are cross-posted to Forum and vice versa. This enables
wider audience for your questions and more engineers to respond back :)
Technorati: webservices
metro jax-ws wsit glassfish
v2ur1
Posted by Arun Gupta in webservices | Comments[3]
|
|
|
|
|
Friday December 14, 2007
|
|
I presented on GlassFish and related
technologies (Metro,
JRuby-on-GlassFish
and jMaki) at the Department of Computer Science,
Delhi University last week. The
slides are available
here. The talk was very well attended with approximately 120 students and 4 faculty members. The students were pretty excited and had great a interactive session. |
|
Being an alumni of the school (many years ago ;), it was great seeing the new building of the department, meeting the faculty and interacting with the students. I reached there an hour earlier so that I can mingle with the staff and students and it was a lot of fun.
The department faculty proposed to use GlassFish instead of Tomcat for their next semester assignment. I believe this is a great move as it will allow the students to understand the simplicity and power of a great open-source and Java EE 5 compliant Application server.
I initiated the process of recruiting a Campus Ambassador from Delhi University and this will help establish a better relationship between this University and Sun Microsystems.
Here are the questions and answers that were asked during the session:
Here are couple of more links that provide a comparison between the IDEs:
The detailed differences are highlighted here.
Windows"
menu item and then "Services". Right-click on "Servers",
select "Add Server...", select "GlassFish V2"
in the "Choose Server" dialog box. Click on "Next"
and follow the instructions.The complete album is here:
Technorati: conf glassfish webservices metro ruby jruby jmaki web2.0 delhiuniversity delhi netbeans q&a
Posted by Arun Gupta in webservices | Comments[3]
|
|
|
|
|
Thursday December 13, 2007
Screencast #WS8: Tango with NetBeans 6
David Coldrick recorded a screencast for Australian Developer Days. The demo shows how NetBeans 6 allow Web services to be easily created and deployed on GlassFish.
It is similar to screencast #ws7 but good to see somebody else creating these videos :)
Technorati: screencast glassfish webservices metro tango netbeans
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Tuesday December 11, 2007
![]() |
A book on GlassFish: "Java
EE 5 Development using GlassFish Application Server" by
David
Heffelfinger, was released last month. The publisher sent a courtesy
copy for review, thank you for that. I read good part of the book on my
several flights in past two weeks. First of all, I'd like to thanks the author, publisher and rest of the team for writing this book. Overall I liked the book because of it's simplicity and a good flow through out the book. This is a great book for first timers! |
Here are some of the points that I'd like to highlight:
Here are some potential improvements:
Send feedback to feedback@packtpub.com, making sure to mention the book title in the subject of your message.
In a nutshell - Great book, must buy for first timers, buy your copy here.
Happy reading!
Technorati: glassfish book eclipse netbeans webservices metro
Posted by Arun Gupta in webservices | Comments[2]
|
|
|
|
|
Saturday December 08, 2007
New Java Web Services Instructor-led Training Courses
New Instructor-led classroom training sessions on Java EE 5 Web Services are now available.
These courses teach how to design, implement, deploy and maintain Web services using Java EE 5 platform. NetBeans 5.5 IDE and Sun Java System Application Server Platform Edition 9.0 (GlassFish v1) are used to perform the lab sessions. If the existing schedule does not meet your request, then click on "Request A Class" button.
Stay tuned, new courses based on GlassFish v2 are being developed and will be released soon. In the meanwhile, enjoy screencast #ws7 that shows how to create, deploy and invoke a Secure and Reliable Web service using NetBeans 6 and GlassFish v2.
View the entire Java Web Services learning path.
Technorati: webservices glassfish training learning course metro netbeans
Posted by Arun Gupta in webservices | Comments[4]
|
|
|
|
|
Wednesday November 28, 2007
Metro, jMaki & JRuby/GlassFish Q&A from a Preso - Toronto & Montreal
I presented on Metro, jMaki and JRuby-on-GlassFish at a partner meeting on Nov 21 in Toronto and Montreal (yeah, both cities in the same day). That makes it 3 cities (the first one being Seattle) total for now!
I've given multiple talks all over the world to different types of audience but this was my first experience in terms of talking for 3 hours in the morning, flying to another city and then repeating the sessions. GlassFish (both v2 and v3), NetBeans IDE and Windows Vista behaved properly through all the demos. And my talks are typically demo intensive so it was fun! I enjoyed the overall experience (talking, demos, flying) :)
As always, the fun part was interaction with the audience and I always learn something new every time. And, in order to share the knowledge with you, here is the consolidated list of questions from both the cities:
Although the jmaki framework will work on these browsers some widgets may not work (such as those that use SVG) depending on the browser.
And now for the Metro session:
And finally for the JRuby-on-GlassFish session:
Feel free to ask any other questions in Metro Forum and jMaki Forum or GlassFish forum or JRuby user list.
Technorati: conf webservices metro jmaki glassfish jrubyonglassfish ruby jruby netbeans web2.0 q&a
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Monday November 26, 2007
TOTD #19: How to Add Metro Quality-of-Service to Contract-First Endpoint ?
This TOTD explains how to add Reliability and Security to a Contract-First Endpoint using NetBeans IDE.
In the Contract-First, the contract, i.e. the WSDL, is defined first as
opposed to starting from Java. The Metro programming model starts with a Java
Service Endpoint Interface (SEI) and uses
Web
Service Designer to specify Security, Reliability and Transactions support.
This blog uses the WSDL bundled with the fromwsdl sample of
Metro download and adds
Quality-of-Service attributes to it.
Here are the steps to enable Reliable Messaging to Contract-First endpoint:
Web Service from
WSDL..." as shown below:

Browse..." button next to "Web Service Port:" and
select the appropriate port.Finish" and the Web Services Designer is shown as
shown below:
Undeploy and Deploy"
to deploy the project. Web Services" tree, select the newly added Web
service and right-click on "Test Web Service". The Tester page
is shown in a browser with links to the packaged WSDL file and text boxes
and buttons to invoke the Web service.Reliable Message Delivery".Clean" to clean all the
generated files. Again right-click on the project and then select "Undeploy
and Deploy" to deploy the project again.As described in screencast #ws7, Security can be added to a Contract-First endpoint using the steps listed above.
Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Technorati: totd glassfish webservices netbeans metro wsdl reliability contractfirst
Posted by Arun Gupta in webservices | Comments[13]
|
|
|
|
|
Thursday November 08, 2007
TOTD #16: Optimizing Metro Stubs by locally packaging the WSDL
When Metro stubs are used to invoke a Web service endpoint, two invocations are made over the network - one for retrieving the WSDL and the other for sending the request message.
The second invocation is easy to explain because that's when the actual message is sent to the endpoint.
The first invocation to retrieve the WSDL is necessary because the generated stubs contain only the portable method signatures and annotations. All the binding specific information, such as quality-of-service policy assertions, are retrieved at the runtime. This approach was taken because of two reasons:
However if the WSDL is not expected to change then you can consider locally packaging the WSDL with the client. In this case the locally packaged WSDL, instead of accessing over the network, is used to retrieve the binding information.
Metro runtime is integrated in GlassFish and can also be installed on Tomcat. Vivek explained the several Tooling options with Metro - NetBeans IDE being the most comprehensive.
Several screencasts are available to get you started with Metro.
Please leave suggestions on other TOTD that you'd like to see. A complete archive is available here.
Technorati: webservices metro glassfish netbeans performance totd
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Thursday November 01, 2007
Sun Tech Days Beijing - Day 1 Report
1500 developers kick started 10th anniversary Tech Day event at the Beijing International Convention Center earlier today.
Joey Shen, Angela Caicedo, Doris Chen and Chuk Munn Lee demonstrated Swing/Java2D, Sun SPOTs, jMaki and JavaFX demo respectively as part of the demo showcase. All the demos were really good and showcased different technologies from Sun. I personally liked Sun SPOT demo which showcased how Robosapiens can be easily controlled using the JVM. It very well resonated with "Internet of Things" that Lionel Kim (President Greater China and COO APAC Sun Microsystems) mentioned in his keynote earlier in the morning.
According to Lionel, there are three factors driving global innovation:
Rise of communities - Time magazine awarded YOU (community) as Person of The Year award for 2006. And that indeed is the most important factor in driving innovation.
Carla provided a great coverage of Jim Hughes keynote (during which I was busy with local translators for my upcoming session :) This is the 10th anniversary year of Tech Days and we celebrated by cutting a birthday cake. There is lot of backstage work (audio, video, rehearsal, logistics and all sort of things) that often goes unnoticed and some of the photographs below highlight that work.
![]() |
Right after the keynote, I gave a talk on "Java EE5, GlassFish and Their Future" and the slides are
available
here. It was great talking about
GlassFish to a 560 capacity room full of audience.
Leon showed a demo of
localized version of GlassFish and how it can be configured in a
clustered environment. Jim Jiang offered to give away 10 copies of his recently published book on GlassFish. You can order it online here. Jim Jiang and Wang Yu are the primary authors with content contributed from Jason Huang, Ada Li, Liang Ye and Evrin Yan. It was great meeting most of these individuals face-to-face. If you missed being one of the lucky winners of the book, then attend GlassFish Day on Saturday, Nov 3 and there will be many more copies distributed. |
I also attended Chuk's talk on Metro and REST. He really presented the concept very well and it was fun seeing somebody else present Metro :)
I spent rest of the day talking to people on the GlassFish booth. Once again, Jim Jiang helped me connect with the local audience. I'll prepare a summary of the questions and then provide answers to them in a subsequent blog. In the meanwhile, here are some links for you to get started:
The evening ended with Yanjing Beer and Beijing Duck dinner. And as always, enjoy the pictures from through out the day:
Follow the complete coverage in Sun Tech Days Event blog.
Technorati: conf suntechdays metro webservices jmaki web2.0 glassfish netbeans beijing
Posted by Arun Gupta in webservices | Comments[0]
|
|
|
|
|
Today's Page Hits: 1690
Total # blog entries: 1002