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]
|
|
|
|
|
Wednesday January 16, 2008
Developer.com 2008 Awards Announced - NetBeans, GlassFish and Java SE 6 score well

Developer.com 2008 Awards are announced - NetBeans, GlassFish Metro and Java SE 6 get good ones.
My nominations were announced here and I've recreated the table here along with the winners.
| Category | My Selection | Winner |
| Technology | Rich Internet Applications | Ajax |
| Framework | Java SE 6 | √ |
| Development Tool | NetBeans IDE | √ |
| Development Utility | Apache Ant | Mozilla Firefox |
| Web Service Development Tool or Add-in | Project jMaki | Google Maps |
| Wireless/Mobile Development Tool or Add-in | NetBeans Mobility Pack | √ |
| Database Tool or Add-in | JavaDB | PostgreSQL |
| Java Tool or Add-in | NetBeans IDE | √ |
| JSR | JSR 277 | JSR 223 |
| .NET Tool or Add-in | GlassFish Web Services Interoperability Technology (now Metro) | √ |
| Open Source Tool | NetBeans IDE | Subversion |
Technorati: survey netbeans glassfish javase developer.com product awards
Posted by Arun Gupta in webservices | Comments[1]
|
|
|
|
|
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]
|
|
|
|
|
Wednesday December 19, 2007
GlassFish v2 UR1 now available
GlassFish v2 UR1 was released earlier today (v2ur1-b09d). This is targeted to accommodate high priority bugfixes (188 of them)! Read the official announcement.
Posted by Arun Gupta in webservices | Comments[5]
|
|
|
|
|
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]
|
|
|
|
| GlassFish @ Bangalore, Chennai and Pune - Metro, jMaki & JRuby
I presented on GlassFish and other related technologies (Metro, jMaki and JRuby) in Bangalore, Chennai and Pune last week. The slides used during the preso are here. And here is the list of questions (along with answers) for you:
Is Metro plugin available for NetBeans version < 6.0 ?
Yes, Metro plugin is available for NetBeans 5.5.1. This is clearly explained
in
screencast
#ws4. NetBeans 6.0 is now
released and is the recommended version of the IDE.
jMaki.js is the initialization script (18kb) for jMaki that is
loaded when the web application is loaded. This script provides
multiple features, included but not limited to:The jMaki wrapper is a minimal code that needs to be written anyway to invoke the code anyway so there is no additional overhead there.
Is Comet supported in GlassFish/jMaki?
Yes, read about Comet support in GlassFish
The Grizzly Comet and
Writing a Comet application using GlassFish. Also try a simple sample
that demonstrates how
jMaki and Comet (read the
explanation) work nicely with each other.
Can GlassFish deploy EJB 2.0 apps ?
GlassFish is Java EE 5 compliant which maintains backwards compatibility
with J2EE 1.4 and so EJB 2.0 applications can be deployed.
Do GlassFish support Active and Passive cluster ?
In GlassFish the cluster instances talk to each other for health monitoring
through GMS (of Shoal). The buddy
instances talk to each other for replication of the session state. When a
failure is detected the LoadBalancer can failover the request to any
instance in the cluster. The session in question will be fetched from a
replica to this instance in order to continue the conversational state of
the session. In this sense, we have an active cluster.
GlassFish does not have a concept of a standby or passive cluster which will
take over when an active cluster fails altogether. That is usually
considered a high cost approach for redundancy and not advisable.
Read more discussion
here.
Can we add a Metro Web service wrapper be created around
EJB 2.0 ?
Nope, Metro Web service wrapper can be created around EJB 3.0 only.
How can an application deployed on WebLogic be migrated
to GlassFish ?
Migrate2GlassFish
helps automate the migration of J2EE/Java EE applications to GlassFish.
Can Entity beans be configured only as read-only beans -
caching server for these beans ?
Yes, read about the
characteristics, good practices, how to deploy and refresh read-only
beans.
How can jMaki applications run behind the firewall ?
Add the following Servlet parameters to web.xml:
<context-param>
<param-name>proxyHost</param-name>
<param-value>PROXY_HOST</param-value>
</context-param>
<context-param>
<param-name>proxyPort</param-name>
<param-value>PROXY_PORT</param-value>
</context-param>
This is described in detail at
https://ajax.dev.java.net/xmlhttpproxy.html.
Technorati: conf webservices web2.0 ruby jruby projecmetro glassfish netbeans q&a
Posted by Arun Gupta in webservices | Comments[7]
|
|
|
|
|
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]
|
|
|
|
|
Monday December 10, 2007
Vote for Product of The Year 2008 @ Developer.com

It's that time of the year, time to cast your vote for the favorite product of the year. The voting ends Dec 21.
In order to make it easy for you, here are my choices :)
| Category | My Selected Product |
| Technology | Rich Internet Applications |
| Framework | Java SE 6 |
| Development Tool | NetBeans IDE |
| Development Utility | Apache Ant |
| Web Service Development Tool or Add-in | Project jMaki |
| Wireless/Mobile Development Tool or Add-in | NetBeans Mobility Pack |
| Database Tool or Add-in | JavaDB |
| Java Tool or Add-in | NetBeans IDE |
| JSR | JSR 277 |
| .NET Tool or Add-in | GlassFish Web Services Interoperability Technology (now Metro) |
| Open Source Tool | NetBeans IDE |
Technorati: survey netbeans glassfish javase developer.com product awards
Posted by Arun Gupta in webservices | Comments[6]
|
|
|
|
|
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]
|
|
|
|
|
Today's Page Hits: 1853
Total # blog entries: 1002