Sun Tech Days 2009, Singapore - Day 1

Guest Author
The Sun Tech Days
started earlier this morning - over 1100
developers, an outstanding audience!!!

The kick off had a good local flare when the href="http://wapedia.mobi/en/Three_Star_Gods">Gods of
Longevity, Fortune, and Prosperity (Fu Lu Shou) showed up to
start the event ;-) The build up to their appearance was really
exciting as evident from
the video below:

value="http://www.youtube.com/v/ESOKN9FlGGc&hl=en&fs=1"> name="allowFullScreen" value="true"> name="allowscriptaccess" value="always">
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" height="344" width="425">

This particular event will also be recorded in href="http://www2.singaporebookofrecords.com/">Singapore
Book of Records for the largest numbers of Sun developers
a rattle together :) Here are some pictures from the event:

style="width: 288px; height: 216px;" alt=""
style="width: 288px; height: 216px;" alt=""
style="width: 288px; height: 216px;" alt=""

A Toshiba laptop and an iPod was raffled to the audience and the lucky
winners are:

style="width: 288px; height: 216px;" alt=""

And found another loyal reader of href="http://blogs.sun.com/arungupta">my blog:


Gosh, he even took my autograph ;-)

The steps to reproduce the different GlassFish demos shown during the
key note
are explained below.

  1. GlassFish v3 OSGi-compliance and quick startup time

    Download GlassFish v3 Prelude from href="https://glassfish.dev.java.net/downloads/v3-prelude.html">here,
    unzip, and start the server as

    style="text-align: left; background-color: rgb(204, 204, 255); width: 100%;"
    cellpadding="2" cellspacing="2">glassfish/bin/asadmin start-domain --verbose

    to see a message something like:

    style="text-align: left; background-color: rgb(204, 204, 255); width: 100%;"
    cellpadding="2" cellspacing="2">INFO: GlassFish v3 Prelude startup time :
    Felix(1732ms) startup services(1091ms) total(2823ms)

    GlassFish v3 container starts up fairly quickly, 2.8 secs in this case,
    without starting any application-specific container. The container is
    using OSGi R4 APIs and href="http://felix.apache.org/site/index.html">Apache Felix
    as the runtime.
    This allows any standard OSGi bundle to be easily deployed in GlassFish
    v3. The underlying OSGi runtime can be easily replaced with href="http://www.knopflerfish.org/">Knopflerfish
    or Equinox
    because standard R4 APIs
    are used. As you notice, Felix start up time is explicitly shown in the
    startup message.

    The quick start up is possible because
    containers, such as Web container that serves web applications, is
    started only when the first Web application is deployed. No web
    application, no web container - simple! The same is true as other types
    of applications are deployed, for example a Rails application. The
    containers are started and stopped on demand giving a higher
    utilization of resources.
  2. Auto-deploy of Servlets and preserving servlet session
    state across multiple re-deploys using href="http://blogs.sun.com/arungupta/entry/screencast_27_simple_web_application">NetBeans
    and href="http://blogs.sun.com/arungupta/entry/screencast_28_simple_web_application">Eclipse.
    This feature is really useful as it tremendously reduces your
    development time. Focus on what you are good at i.e. adding business
    logic and let NetBeans and GlassFish together take care of your
    deployment worries. And why should you loose your session state just
    because the application is re-deployed!
  3. Modularity
    and Extensibility of GlassFish v3 by running/debugging a Rails
    application. GlassFish certainly supports traditional Java EE
    applications. But starting with GlassFish v3 the newer Web frameworks
    like Rails can also be deployed natively. The href="http://blogs.sun.com/arungupta/entry/screencast_26_develop_run_debug">screencast
    shows how to develop, run and debug a Rails application natively
    deployed on GlassFish. And this capability of deploying a Rails
    application is added as an OSGi module and also demonstrates the
    extensibility of GlassFish.

    It provides future protection as well because any other Web framework
    can be easily deployed as a standard OSGi module.
  4. Extensibility
    of GlassFish v3 by dropping a JAR in the "/modules" directory. The
    admin console is a one-stop interface for the administration of your
    GlassFish instance such as deploying WAR/EAR, creating JDBC/JMS
    resource, and creating clusters. Starting with GlassFish v3, even the
    admin console is extensible. There are clearly defined extension points
    that allows you to write a "admin console module" and extend the
    capability of your admin console. The demo showed dropping a JAR in the
    standard "modules" directory and admin cosole recognizing the module. A
    sample project that shows all the integration points to GlassFish v3
    Admin Console is available href="http://wiki.glassfish.java.net/Wiki.jsp?page=V3SampleIpProject">here.

Other demos showcased JavaFX,
Open Solaris
and jMaki Webtop
I particularly enjoyed the JavaFX demo by our "resident mad scientist"
- Simon Ritter
:) It was an interesting use of
technology to create something fun. Enjoy the demo below:

value="http://www.youtube.com/v/NXKZpBhNFiQ&hl=en&fs=1"> name="allowFullScreen" value="true"> name="allowscriptaccess" value="always">
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" height="344" width="425">

Also met Colin
, Community Relations Manager for MySQL at Sun
Microsystems. It was certainly great to know that similar thought
process is applied for promoting both GlassFish and MySQL - state the
facts, offer an alternative, and let the customers decide. Both href="http://mysql.org">MySQL and href="http://glassfish.org">GlassFish are open
source offerings with complete href="http://www.sun.com/software/products/appsrvr/">enterprise
available from Sun Microsystems. And together with href="http://opensolaris.org">OpenSolaris, href="http://netbeans.org">NetBeans and many other
open source offerings
they make a killer platform for developing/deploying any kind of web

And if you have not signed up for href="http://www.cloudcamp.com/">Cloud Camp event
happening in Singapore tomorrow at 6pm, href="http://www.cloudcamp.com/?page_id=354">register here!

Here is the complete photo album so far:

height="192" width="288">

Follow the latest updates on twitter.com/arungupta.

Technorati: conf

Join the discussion

Comments ( 4 )
  • Arun Gupta's Blog Tuesday, January 20, 2009
    [Trackback] Follow up from Part 1. Attended "What Developers should care about MySQL ?" by Colin and "Groovy and Grails" by Chuk-munn Lee. I enjoyed both the talks for different reasons. Colin's talk explained the pluggable storage engine architecture that is...
  • Arun Gupta's Blog Wednesday, January 28, 2009
    [Trackback] Follow up from Day 1. Matt Thompson talked about cloud computing. Even though the term "cloud computing" is becoming more prominent now, it very well echoes Sun's 25 years old mantra - "The Network is the Computer". Even though there...
  • sinema izle Tuesday, March 10, 2009

    thx u aran gupta.

  • Isa Bella Friday, May 15, 2009

    Where to stay?

    The shopping is great and all but the hotels are exorbitant! Don’t Fret because I found a perfect alternative right smack in the middle of Orchard Road.

    You can check out their Crazy Room Rate Offers here at www.thehotelalternatives.com

    Best Regards

    Isa Bella

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.