Miles to go …

December 5, 2007

Packaging Java Apps for Ubuntu @ FOSS.IN

Filed under: webservices — arungupta @ 2:59 am
I presented on "Packaging Java Apps for Ubuntu" as part of the Debian-Ubuntu Project Day at FOSS.IN yesterday. Thanks to Harpreet for giving me the opportunity to talk. The slides are available here.

I’ve given multiple talks worldwide but this was my first formal conference in India and so was pretty excited. The talk explained the offerings of Ubuntu desktop, explained Debian packaging system, described how GlassFish was delivered in Ubuntu and then finally the lessons learned. The lessons learned from delivering GlassFish in Ubuntu could be applied to any Java application.

Here were the questions that were asked during the session:

  1. How does GlassFish interact with existing packages in Ubuntu/Debian ?

    GlassFish "requires" the JDK package and expects it to be present during installation. If the package is not present, then the underlying Ubuntu packaging mechanism first downloads it and installs it. GlassFish is not dependent on any other packages during runtime.

    For build time, it depends on debhelper package. This brings in debuild which is used to build the packages.

  2. GlassFish v2 takes time to start up. How can that be improved ?

    Read tips in GlassFish Tuning Primer to optimize the performance of your GlassFish. GlassFish v3 takes this to the next level by providing a fast (starts up < 1 sec), small (kernel < 100 kb) and modular (load only the required containers) App server. A preview is available and the production release will be available in 2009.

Sun Microsystems is a Platinum sponsor of the conference and was given a big booth space. If you visit Sun booth, you can see the back panel with a list of all the major open source projects that Sun is involved with, including but not limited to GlassFish, NetBeans, JavaDB, OpenPortal, OpenDS, OpenSolaris, OpenSPARC and many others. And this does not even talk about all the sub-projects that are under each of the communities. For example, GlassFish has Metro, jMaki, Jersey and many others.

I would love to stay for the entire duration of the conference but have to meet some folks in a different city. My short stay at the conference was nice. The Ubuntu Project Day was running ahead of schedule and so the conference organizers were courteous to invite me earlier and give me little extra time as well. Thanks for that!

On the food front, I was slightly disappointed because not even once I get to see Sambar/Dosa, not even once. The breakfast, lunch and dinner – none of them were serving Dosas :( Hopefully I’ll be able to feast on my next stop at Chennai.

Here are some pictures I captured moving around the city:

The complete album from the event is here:

Technorati: conf bangalore ubuntu debian glassfish netbeans q&a

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • Facebook
  • Google Bookmarks
  • DZone
  • StumbleUpon
  • Technorati
  • Twitter
  • Slashdot
Related posts:
  1. FOSS.IN schedules now available – Almost 1600 registrants
  2. GlassFish @ FOSS.IN 2007
  3. Mango* – King of FOSS Offerings
  4. TOTD #141: Running GlassFish 3.1 on Ubuntu 10.04 AMI on Amazon EC2
  5. TOTD #16: Optimizing Metro Stubs by locally packaging the WSDL


  1. Arun, I’m noticing an increase in your posts about Ubuntu. (I’ve been a happy Ubuntu user for one year now.) Does Sun officially endorse or support Ubuntu–or are you just talking about Ubuntu in particular because it is fairly widespread?

    Comment by Glen — December 5, 2007 @ 10:07 am

  2. Oops, I mean compared to the other Linux distributions…

    Comment by Glen — December 5, 2007 @ 10:07 am

  3. Hi Glen,

    Sun released Java Stack into Ubuntu 7.04. More information on the Java Stack in Ubuntu:

    For GlassFish: Sun offer community support.You can find more information on my blog.

    Sun officially endorses, supports Ubuntu for SunFire coolthreads server


    Comment by Harpreet Singh — December 6, 2007 @ 11:24 am

  4. Are you the guy who presented Ubuntu Packaging on a Windows Box ?

    Comment by w00ter — December 16, 2007 @ 8:39 am

  5. Yes, I did. I used Open Office 2.2 on a Windows box because I demonstrated Java and .NET interoperability in a morning session as well.

    Comment by Arun Gupta — December 16, 2007 @ 4:44 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.
Powered by WordPress