Skip to main content

Sun Tech Days 2009, Singapore - Day 1

Posted by arungupta on January 20, 2009 at 12:28 AM PST

The Sun Tech Days
Singapore
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:




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


cellspacing="5">
alt=""
src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXRoe99JMEI/AAAAAAAAOPQ/-2EYYfDyJ90/s288/IMG_4169.JPG">
style="width: 288px; height: 216px;" alt=""
src="http://lh3.ggpht.com/_wIoV5EX5M-0/SXVwLr7bO6I/AAAAAAAAOQw/iI7P3AOUh3Y/s288/IMG_4178.JPG">
style="width: 288px; height: 216px;" alt=""
src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXVwpbp6YXI/AAAAAAAAOTg/cQbpFhWI2lo/s288/IMG_4205.JPG">
alt=""
src="http://lh6.ggpht.com/_wIoV5EX5M-0/SXVwwk6ilrI/AAAAAAAAOT4/aFpknNg2RVI/s288/IMG_4209.JPG">
alt=""
src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXVxFVLyMcI/AAAAAAAAOU4/E6YgsP0mLU4/s288/IMG_4222.JPG">
style="width: 288px; height: 216px;" alt=""
src="http://lh4.ggpht.com/_wIoV5EX5M-0/SXVxfjwMGAI/AAAAAAAAOV4/KRoFB3TkBMY/s288/IMG_4233.JPG">



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


cellspacing="5">
alt=""
src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXVxW4agbII/AAAAAAAAOVg/chpwMqpUMW4/s288/IMG_4230.JPG">
style="width: 288px; height: 216px;" alt=""
src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXVxa65M2sI/AAAAAAAAOVo/3rWcobSiZ9A/s288/IMG_4231.JPG">



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



src="http://lh5.ggpht.com/_wIoV5EX5M-0/SXVxj2F4xDI/AAAAAAAAOWI/KfetKXrF2_8/s288/IMG_4235.JPG">



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)



    The
    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
    #26
    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
technology.
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:





Also met Colin
Charles
, 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
support
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
applications.



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:





src="http://picasaweb.google.com/s/c/bin/slideshow.swf"
flashvars="host=picasaweb.google.com&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2Farun.gupta%2Falbumid%2F5292969308173693649%3Fkind%3Dphoto%26alt%3Drss"
pluginspage="http://www.macromedia.com/go/getflashplayer"
height="192" width="288">



Follow the latest updates on twitter.com/arungupta.




Technorati: conf
suntechdays
singapore
glassfish
mysql
javafx
netbeans

Related Topics >>

Comments

btek, the picture is available at: http://lh5.ggpht.com/_wIoV5EX5M-0/SXVxj2F4xDI/AAAAAAAAOWI/KfetKXrF2_8/IM...

hi arun, this is ur fan... u told me something about how to get the full resolution pic... but i can't seem to figure it out... :)