Tuesday Aug 25, 2009

Presenting a Java EE 6 Webinar on 8/26/09

John Clingan and myself are presenting a free webinar on Java EE 6 tomorrow. Details for registration: https://dct.sun.com/dct/forms/reg_us_1808_880_0.jsp

Monday Aug 10, 2009

First Steps to Develop Ruby on Rails Applications on GlassFish

We have just published a White Paper that outlines the steps required to build Ruby on Rails Apps on GlassFish using JRuby. This would be the quickest way to start off with developing RoR applications on GlassFish. The paper outlines the steps through Netbeans and the command line.

Download the paper now.

Monday May 18, 2009

New White Paper: Getting ahead of the trend in the Mobility Market

The mobility market in the past few years has seen a ramp-up of
activities, from the introduction of new smartphones with advanced
capabilities, to open-source mobile operating systems, to the thousands
of mobile applications that are available via app stores today. If you
are planning your corporate mobility strategy, designing next
generation mobile application architecture, or just developing
device-agnostic mobile applications, this white paper is for you.

Getting ahead of the trend in the mobility market white paper explains
how you can take advantage of Java technologies that are already in 2.6
billion mobile devices to develop reliable mobile applications that
target multiple mobile operating systems in a cost-effective way.

Download the White Paper!

Thursday May 07, 2009

New GlassFish Web Casts and White Papers

Writing Java Applications Using Jersey to Interoperate with RESTful Web Services

The Jersey Client API is a high-level, Java technology-based API for interoperating with RESTful web services. This paper describes the client API and shows how to to concisely and efficiently implement a reusable client-side solution and talk to RESTful Services. Jersey is the open-source, production-quality reference implementation of JAX-RS, the Java API for RESTful web services. Jersey is shipped with GlassFish and is available from the GlassFish version 2 and version 3 Update Centers.

Guide to Migrating to GlassFish

Considering migrating to GlassFish and would like to know about migration issues and resources?
This web-cast explains the various source of migration issues like non-portable applications (for truly portable applications, migration may be seamless) and more. It points out verification tools to help you identify issues and makes recommendations towards using one. It outlines the process for migration and lists various resources that you can use to ease your migration to GlassFish.

Overview of High Availability with GlassFish
This web-cast describes how high availability can be achieved in GlassFish Enterprise Server. It describes the architecture of the high availability pieces and demonstrates setting this up from the administration UI. This web-cast is the ideal overview to understand how your business services can be made highly available.

Dynamic Languages on GlassFish
Interest in dynamic languages like Ruby, Groovy, Python has sky-rocketed. Developers find that their productivity increases many-fold with dynamic languages. GlassFish provides developers a platform to use dynamic languages as well as leverage Java EE features. Developers using dynamic languages like Ruby on Rails, Grails, Jython, Django can now leverage full fledged Java EE application server and run their applications on it.
This web-cast shows viewers how to build Ruby on Rails, Grails and Jython applications through Netbeans and run them on GlassFish. View this web-cast to see how GlassFish: A dynamic Application Server can simplify and speed up your development process.

GlassFish Management and Monitoring

Sun GlassFish Enterprise Server comes with powerful monitoring and management features. This web-cast explains the architecture, features of the administration infrastructure. The web-cast also demos the command line administration and the much acclaimed management GUI. You can view features like deploying applications, viewing log statistics, configuring and viewing runtime monitoring statistics, web services monitoring and finally hear about extensibility features.
If you are using GlassFish or considering to use GlassFish - this web-cast is the fastest way to start off with and understand the administration and monitoring features offered by GlassFish.

Thursday Apr 30, 2009

GlassFish on CMT Systems

An excellent paper on improving performance of GlassFish using Enterprise Manager on CMT systems has been published. The paper outlines various CMT systems and benefits of using CMT systems for Web 2.0 technologies. It follows up by taking a out-of-box GlassFish and using the Enterprise Manager to tune the performance. In a few clicks, where you enter information on the number of cores that GlassFish is running on, the Enterprise Manager tunes the system to deliver 8x (yes!) improvements.

The paper is titled  Optimizing Sun GlassFish Enterprise for Sun Open Network Systems. To learn more about GlassFish and GlassFish Portfolio: sun.com/glassfish.

Check out the paper - very useful information! 

Tuesday Apr 14, 2009

Carrier Grade Converged Services with SailFin and MySQL Cluster

Convergence of communications network onto IP based networks, provides an opportunity to Communications Service Providers (CSPs) to reach new markets. To implement solutions for these markets, require the solutions to be highly available, have high throughput and scalability and minimal latency.

The recently published Carrier Grade Service Execution Environment paper outlines an Event Driven Architecture solution using open source components. Sun GlassFish Communications Server (SailFin) and MySQL offer means to achieve high scalability, throughput for Communications Service Providers. 

Although the paper outlines solutions for Communications Service Providers, it is an interesting read from an application server (hint GlassFish). A typical Application Server administrator can glean interesting information on scaling their appserver as well. 

Tuesday Feb 10, 2009

GlassFish v2.1: A Complete Picture

As the Engineering Tech Lead for GlassFish v2.1 and the person who mid-wifed GlassFish v2.1 - I am extremely happy to see the release of GlassFish v2.1. A lot of new ground has been covered for this dot release.

  • GlassFish v2.1 is the first application server in the just debuted  GlassFish Portfolio

  • GlassFish v2.1 is the underlier for the first release of Sun GlassFish Communications Server 1.5 which is built on top of SailFin 1.0 in the SailFin community.  

  • GlassFish v2.1 is the underlier for first release of server add-ons - specifically the GlassFish Enterprise Manager The GlassFish Enterprise Manager works on top of GlassFish v2.1 and provides useful information/tuning/advise in a production environment.

  • GlassFish v2.1 is the first release of the application server on the v2 train that has been rebranded from earlier Sun Java System Application Server to Sun GlassFish Enterprise Server.

GlassFish v2.1 is the next in V2 family after v2 UR2 release in April 08. This had a slightly longer gestation period. Dates for v2.1 were driven by SailFin dates since SailFin was one of the primary release drivers for this 2.1 release. SailFin is the GlassFish Application Server for Telco Domain.

The common question one might have is, so what is new in GlassFish v2.1. So, here is the answer:


  • Enabler for SailFin

  • Addresses several important bugs

  • Newer integrations of MQ, Metro, Shoal etc

  • Hooks for Enterprise Manager

Enabler for SailFin:

SailFin has been implemented on top of GlassFish v2.1. We did not want to maintain a separate code base of GlassFish for SailFin. Design goal was to define SPIs between SailFin and GlassFish so that these SPIs enable for layering SailFin on top of GlassFish V2.1. Here are some changes done to GlassFish for SailFin:

  • SPIs for container integration. (Deployment, Annotation processing, Web Container etc) These SPIs were exposed to SaiFin.

  • Pluggability SPIs for CLI, GUI, and Event framework. Again, these are exposed only to SailFin.

  • Improvements to Shoal/GMS and In Memory Session Replication. Since HA requirements for Telco profiles are lot higher, enhancements were done to Session Replication code to improver scalability.

 Bug Fixes:

Apart for being an enabler for SailFin, there were improvements - primarily bug fixes done all around in GlassFish v2.1. 

  • More than 300 reported bugs were resolved from GlassFish v2UR2 time frame and around 600 since GlassFish v2 - so there has been a significant amount of work to make GlassFish more stable. Here is a partial list of issues that were addressed in v2.1. 

  • Customer Escalations fixes were folded into GlassFish v2.1. Since GlassFish v2ur2 - there have been 5 patches that have been released with close to 100 fixes. These fixes have been included in GlassFish v2.1. GlassFish v2.1 is now patch #6 on GlassFish v2ur2 and customers should be able to seamlessly upgrade from the earlier patches.

  • In addition to these fixes were underlying fixes in the High Availability area and other areas that were required as part of SailFin 1.0.

Module leads for individual GlassFish modules looked at all the open issues and identified the ones with maximum impact and resolved those issues. The product has gone through solid functional, system and perf. testing like any other previous GlassFish releases. Testing has also been done with components of GlassFish Portfolio (like the Sun GlassFish Stack, Sun GlassFish Web Space Server) and Access Manager.


This release also has newer versions of Sun MQ, JSF, Metro. Here are some of the newer versions that have been integrated into GlassFish v2.1:

  •     MQ 4.3

  •     Metro 1.1.5

  •     GenericJMSRA 2.0

  •     Shoal (latest version 1.1_12142008)

  •     JBI 080602_1

  •     JSF v1.2_05

  •     Update Center 1.0_01-b09

MQ 4.3 has a new web-based admin console for MQ and it ships with a new lockhart based admin console. Also, Wildcard destinations, a new feature that enables applications to subscribe to multiple topics using the new wildcard syntax has been introduced. GenericJMSRA 2.0, introduces the synchronous receive model. This would be useful to work with MoM providers like BEA and Oracle AQ. Newer version of Shoal addresses issues that were fixed as part of overall HA improvements.

Enterprise Manager:

Finally, this release has also been the vehicle to introduce several new hooks for GlassFish Enterprise Manager. GlassFish Enterprise Manager is the new Value Adds module that provides terrific features like SNMP monitoring, Perf. Advisor, and Perf. Monitoring for GlassFish customers with certain degree of support levels. Addtional resources and links.

Download and Try

 Additional Resources: 

Monday Apr 21, 2008

GlassFish v2.1 moves to Fall

It has been a while since my last blog post. Since then I have moved to the role of Tech Lead for GlassFish v2.1.

GlassFish v2.1 release is being driven by SailFin requirements. The current release schedule is posted here.

The last few days have been hectic as things have changed on the SailFin end. A detailed blog around the changes is posted by Prasad (SailFin Tech Lead).
To sum up: the release has moved with a beta planned in summer.

Due to this change, we will have to move the release of GlassFish v2.1 to be in lock step with SailFin release.
The final release date for SailFin is yet to be determined. Once we have those dates, we will publish the corresponding dates for GlassFish v2.1.

We will keep the community posted (with another blog and updated schedule on the release page) as things become clearer. 


Sunday Jul 15, 2007

Got my iPhone

Got my iPhone yesterday (big big smile :-). Looks and works fantastic.

Interesting Things:

  • ATT was painless, I was dreading the problems that people were reporting about moving networks. Did not see the issue at all.
  • Had to upgrade Mac OS and iTunes
  • Had to register the phone through iTunes - this is a departure with the existing model of upgrading to new phones
  • Sync was painless (songs, photos and contacts). Though I still have to move contacts from my old non bluetooth cell phone
  • Gmail, Yahoo Mail and Sun Office Email sign up was painless.
  • Wifi setup at home was painless
  • My favorite GTD website (Vitalist) has a iPhone portal - suuuppper (iphone.vitalist.com)
  • Good inbuilt speaker to listen to songs on the speaker
  • Browsing is pretty nifty. Tap twice and browser zooms in. I wish you could tap thrice to keep on zooming or something to that effect.
  • Calling is easy :-)

Things that could be improved:

  • The inbuilt phone speaker is too low for my comfort - I wish this was louder. Workaround: speaker phone or stereo headphones
Its just been a day - but overall this looks like the best piece of consumer hardware produced. Go buy it.

Friday May 25, 2007

GlassFish on Ubuntu on Dell...finally!

What do you say to good things that happen without being planned? Swweeet!

When we started the Ubuntu work for GlassFish - we never never anticipated that Dell will distribute Ubuntu. Now that Dell has announced the Ubuntu consumer system - all I can say is Swweeet!

This is a great day for FOSS. Congratulations to Mark!

So go ahead and do apt-get install glassfish

Thursday May 03, 2007

Me in the GlassFish Ubuntu Press Release

I guess some of my friends missed out reading my name in the Ubuntu press release :-). I am copying the official press release here to prove to them that I was not fibbing ;-)

Forgive me for blogging this - but this is the first time I have my name in a press release and am feeling rather good about it.  If you read this in time for JavaOne 2006 - you can attend the talk mentioned in the release. I am also talking at the Community One day at 5PM in the Linux vs Solaris track in a talk named "Up the Stack.

Java Technologies Extend Global Distribution with Canonical's Latest Ubuntu Linux Release

Sun supports GNU/Linux community by distributing a complete Java stack, including NetBeans, packaged for Ubuntu 7.04

SANTA CLARA, Calif. April 19, 2007 Sun Microsystems, Inc. (Nasdaq:
SUNW) and Canonical Ltd., today announced the immediate availability of
a complete, production quality Java technology stack and developer
tools with the latest release of Ubuntu, v7.04, making it easier for
GNU/Linux developers to leverage the Java platform in their
applications. This stack, which is comprised of key popular Java
technologies such as GlassFish v1 (the open source Java Platform,
Enterprise Edition 5 implementation), Java Platform, Standard Edition
(JDK 6), Java DB 10.2 (built from Apache Derby) and NetBeans IDE 5.5 --
will be available in the Multiverse component of the Ubuntu repository
on April 19. These technologies will be available for Ubuntu users to
install easily over the network with apt-get and other standard
software management tools.

"Sun and Canonical are working together to bring the full power of the
Java platform in a fully integrated and easy to install fashion to the
free and open source software communities," said Ian Murdock, chief
operating systems officer, Sun. "Sun is committed to open source and
will continue to promote transparency in software development by
facilitating creation of innovative technology with the help of the
developer community."

"Packaging NetBeans and Java for Ubuntu ensures that we are able to
distribute it efficiently to the huge community of Ubuntu users," said
Mark Shuttleworth, founder of Ubuntu. "Developers who are interested in
Sun's latest Java technology can install it instantly if they are
running Ubuntu. As Java components are released under free software
licenses, we will consider these components for inclusion in the core
of Ubuntu."

Sun is committed to supporting developers by providing versions of
its technologies that are optimized and accessible by the various open
source GNU/Linux and OpenSolaris communities. Commercial support for
all of these components, which are also supplied with Sun's Solaris
Operating System, is available at http://www.sun.com/software/linux/developer.xml

More information on the work involved in packaging these applications
for inclusion in Ubuntu will be presented at this year's JavaOne
Conference in San Francisco during session TS-7361, by Harpreet Singh
of Sun and Jeff Bailey of Canonical entitled "Packaging Java Platform
Applications into Ubuntu".
Other related JavaOne events are Ian
Murdock's talk on "Linux vs Solaris?" at CommunityOne and an entire new
Open Source Track that will cover Sun's Free/Open Source Java software
strategy in depth, starting with Simon Phipps' talk TS-7498,
"Liberating Java: Free and Open Opportunity for the Future."

About the JavaOne Conference

Located at Moscone Center in San Francisco, May 8-11, the annual
JavaOne conference is one of the leading events for Java technology
developers. Established in 1996, the Conference provides technology
enthusiasts the opportunity to learn about the latest technology
innovations with Java technology, scripting, open source, Web 2.0 and
more. Developers get hands-on experience with the technology, can
network with their peers, and have the opportunity to network directly
with technology experts from technology industry leaders. For more
information about the JavaOne conference, visit http://java.sun.com/javaone.

About Canonical and Ubuntu

Canonical, the sponsor of Ubuntu, is headquartered in Europe and is
committed to the development, distribution and support of open source
software products and communities. Canonical offers world-class 24x7
support for Ubuntu as well as professional engineering services.

Since its launch in October 2004 Ubuntu has become one of the most
highly regarded Linux distributions with millions of users around the
world. Ubuntu will always be free to download, free to use and free to
distribute to others. With these goals in mind, Ubuntu aims to be the
most widely used Linux system, and is the centre of a global open
source software ecosystem.

Download Ubuntu from www.ubuntu.com/download. To learn about commercial support for Ubuntu, Kubuntu and Edubuntu, please see www.canonical.com/support. For more information visit www.canonical.com or www.ubuntu.com. Ubuntu, Kubuntu, Edubuntu and their associated logos are all registered trademarks of Canonical Ltd.

About Sun Microsystems, Inc.

A singular vision -- "The Network Is The Computer" -- guides Sun in the
development of technologies that power the world's most important
markets. Sun's philosophy of sharing innovation and building
communities is at the forefront of the next wave of computing: the
Participation Age. Sun can be found in more than 100 countries and on
the Web at http://sun.com.

Sun, Sun Microsystems, the Sun logo, Java, NetBeans, Glassfish, JavaOne
and The Networks Is The Computer are trademarks, registered trademarks
or servicemarks of Sun Microsystems Inc. in the United States and other

Ubuntu and Canonical are registered trademarks of Canonical Ltd.


Wednesday May 02, 2007

Dell on Ubuntu - GlassFish on Dell :-)

Loved the news ...


sudo apt-get install glassfish :-) 

Tuesday Apr 24, 2007

GlassFish on Ubuntu with JDK 6

Couple of folks have asked us the reason GlassFish requires JDK 5 on Ubuntu - inspite of the fact that we bundle JDK 6 in Ubuntu. In this short blog, I will answer this question and list the steps to run GlassFish with JDK 6.

GlassFish is used to build the Java EE Reference Implementation. Java EE moves lockstep with JDK versions, for e.g: Java EE 5 with JDK 5, J2EE 1.4 with JDK 1.4 and so on. This was one of the biggest reason for us to require JDK 5. Having said that, the GlassFish works with JDK 6 as well.

Another reason, was that JDK 6 and GlassFish integrations were happening in parallel. Leaving us little time to effectively test with JDK 6. GlassFish with JDK 5 has gone through the entire SQE tests (about 15000 tests) and the Java EE Compatibility tests (some 17000 of those) - we just did not have the cycles to do that level of testing for JDK 6 before the release on Ubuntu.

Steps to run GlassFish on  JDK 6

The easiest way to change from JDK 5 to JDK 6 is to go to /usr/share/sunappserver/config/asenv.conf and change the AS_JAVA variable to point to JDK 6. This will change the JDK for all domains installed - which is the right way to do it IMO.

Another way to do this, is to run the following command:

sudo /usr/share/sunappserver/bin/asadmin set "server-config.java-config.java-home=path-to-jdk-6".

This changes the JDK per domain basis.

Upgrading from JDK 5 to JDK 6 should work seamlessly. There is a caveat while moving back from JDK 6 to JDK 5. If any code is generated with JDK 6 - you may run into compilation issues with JDK 5.  


Monday Apr 23, 2007

GlassFish @ Silicon Valley Web JUG: A Report

I mentioned in an earlier blog about GlassFish talk at Silicon Valley JUG. Members from the GlassFish team presented to the Silicon Valley Web Jug and Silicon Valley Jug on April 17th @ GooglePlex in Mountain View.  Mike Van Riper, Kevin Nilson hosted the event. It was a pleasure interacting with these gentlemen - their excitement for Java and the JUG was infectious.

The talk started about 10 minutes after 7PM and lasted about 10 minutes after 9PM. People very keen and interested with GlassFish offerings, even though we were pushing it to 9PM.



The talk started with me giving a whirlwind tour of GlassFish and the surrounding ecosystem. The idea was to introduce people to GlassFish, Java EE, applications running on top of GlassFish, projects delivering into GlassFish and projects GlassFish delivers into.

GlassFish Technologies for Developement 

In this section, we presented technologies that developers can use to develop applications. Ludo presented a couple of demos showing how easy it is to develop webservices, persistence, JSF and Ajax code with Netbeans and work seamlessly with GlassFish. The attendees really liked this demo.

Arun Gupta followed and presented our Web Services Interoperability Technologies. Questions ranged from what is WSIT and can you show us the numbers that say GlassFish performance is better than Axis 2?

 GlassFish Technologies for Deployment

Kedar presented clustering and web hosting solution provided by GlassFish. By this time, we were really short on time but the questions kept on coming. I was pleasantly surprised to see the interest level in this portion of the talk - seems attendees really care about clustering solutions.

Shreedhar then followed it up with Project Shoal. Shoal is used to deliver parts of our clustering solution. We had kept about 5 minutes for this session and we had to cut off questions at the 15 minute point :-).

GlassFish Futures

Ludo then wrapped it up with a quick overview of GlassFish V3 and whats to come.

Useful Information

  • People were pleasantly surprised to see that GlassFish offers solutions for developers, and deployers and to see that it is avaliable for production.
  • There was a question on whether there is support for GlassFish. Yes there is.
  • Photos on Arun's Blog.
  • JUG Meeting Notes.
  • You can find the presentation here
  • There were announcements made asking people to sign up for GlassFish @ CommunityOne day. This is the first day of JavaOne and entry is free.




« December 2016