Saturday Mar 26, 2011

Eclipse Con 2011 Hands-on Lab delivered: OSGi, JavaEE, GlassFish, Eclipse a powerful foursome

Sahoo and I delivered OSGi-enabled Java EE Applications using GlassFish and Eclipse Hands-on Lab at Eclipse Con 2011 earlier this week. The conference had an excellent line up of sessions, speakers, receptions and I wanted to engage but could attend only one day. The keynote on the third day titled "The Java Renaissance" was jointly delivered by Mark Reinhold, Chief Architect of the Java Platform group at Oracle and John Duimovich, Java CTO at IBM. Read more coverage of the keynote and Oracle's participation here.

The hands-on built a simple User Registration and Authorization application and showed different combinations of OSGi and Java EE development and deployment in GlassFish. The first step was to to deploy a simple OSGi service and client in GlassFish. Then the OSGi client was replaced by a Web Application Bundle (aka hybrid application) which used @OSGiService for dynamic discovery, bind, inject, and track the OSGi service (more details in TOTD #154). Then the service bundle was replaced by a JavaEE application using EJB and JPA. There were detailed instructions (PDF) to go through all the exercises. The screencast #38 (video) walks you through building the entire application, the video inlined here too:

About 35 attendees were able to make progress after the spotty Internet connection started working. The 5 USB sticks provided by Eclipse Con turned out pretty handy to pre-load all the software requisites. We shared a zip of our ".m2" directories and "m2eclipse-\*" plugins directory for the folks with no Internet. The high point for me was when one of the attendees finished the entire lab in a little over an hour and left. That also helped us assess the quality of document which we tried to make pretty self explanatory. We found one missing instruction from the document and have already fixed it. Overall, about 60% of the attendees completed the lab and rest of them left with partial setup and instructions. Let us know if you attended the lab and found it useful.

Many thanks to Doug and Ankush, the Student Assistants assigned by EclipseCon for our labs, to help attendees keep chugging along!

I was also "lucky" to win a BlackBerry 9670 smartphone + remote stereo bluetooth gateway + international charger + headset. The RIM folks told me that this worth $700 but Amzon sells the raw phone for $19.99. The total cost comes out way under $100 even after including all the accessories. Anyway this device runs only on Sprint so of no use to me. Are you interested in purchasing ? :-)

The reception in the evening (typically the best part) was great and gave me a chance to socialize with several folks. Here are some pictures captured from the event:

Technorati: conf eclipsecon osgi javaee glassfish eclipse

Wednesday Mar 23, 2011

Screencast #38: "Developing OSGi-enabled Java EE Applications using GlassFish" Tutorial at EclipseCon 2011

This screencast provide detailed instructions on how to develop OSGi-enabled Java EE Applications using GlassFish and Eclipse which will be delivered as a 2-hrs tutorial at the EclipseCon 2011.

You can download the required software and follow the detailed instructions (PDF) along with this screencast. Enjoy the screencast in HD in the full-screen mode:

Here are some time lines in case you want to move around in the screencast:

Introduction & Software Installation 0:00
Exercise 1 (Simple OSGi Service and Client) 2:42
Exercise 2 (Web Application Bundle) 11:57
Exercise 3 (EJB OSGi Service) 27:28
References 40:10

Many thanks to Doug & Ankush for an extensive review of the instructions!

Let us know your feedback by posting a question to the GlassFish Forum.

Technorati: conf eclipsecon osgi javaee glassfish eclipse screencast

Sunday Mar 06, 2011

Oracle at Eclipse Con 2011: OSGi-enabled Java EE Applications using GlassFish Tutorial and Other Sessions

Oracle is a gold sponsor at Eclipse Con 2011.

Sahoo and I will give a 2-hours tutorial on Developing OSGi-enabled Java EE Applications using GlassFish (session #1987). We'll walk you through building OSGi bundles and show how they can leverage benefits of Java EE programming model using Eclipse and GlassFish.

Date ? : Mar 23, Wednesday
Time ? : 2 hours starting at 3:50 pm
Where ? : Stevens Creek

Please download the following software in order to maximize your participation in the tutorial:

  • JDK 1.6 U20+
  • Eclipse Helios for Java EE Bundle
  • Install “m2eclipse” plugin and “m2eclipse extension” plugins from “”. Complete installation instructions are available here.
  • Download GlassFish 3.1 Open Source Edition, unzip the bundle, include “glassfish3/bin” in the PATH.
  • Download Maven 2.2.1 and unzip. Configure Maven 2.2.1 in Eclipse - In “Eclipse”, “Preferences...” menu, search for
    “maven”, select “Installations”, click on “Add...”, and select the location of unzipped Maven 2.2.1 directory.

Here are some other pointers for the over all conference ...

There is also an Android/iPhone app for Eclipse Con and a plenty of receptions to attend :-)

See the complete list of sessions, panels, and tutorials from Oracle here.

Technorati: conf eclipsecon oracle osgi javaee glassfish

Friday Feb 26, 2010

Oracle at EclipseCon 2010 - Java EE 6, OSGi, GlassFish, EclipseLink, JPA 2.0/Dali, ...

EclipseCon 2010 Oracle is a strategic developer & board member of the Eclipse Foundation and is a gold sponsor of Eclipse Con 2010. See the complete list of Eclipse projects at Oracle.

When ? Mar 22nd - 25th, 2010
Where ? Santa Clara, California
How to register ? Register Now - Use the coupon code ORACLE10 (before Mar 2) for 10% off registration.
What ? Program Schedule

Oracle certainly has a lot to talk about Java EE 6, OSGi/GlassFish, JPA 2.0 and Dali, Future of App Servers, Future of Enterprise Java, Eclipse RT and WTP Reloaded tutorials and many other sessions. See the complete details about Oracle's participation here.

Also don't miss the keynote by Steve Harris and Jeet Kaul on Community and Adaptation. Hear these two industry leaders and prolific speakers talk about how Java has empowered community, engendered new forms of adaptation and will continue to blaze the trails.

And then there is Members and Committers reception on Monday evening sponsored by Oracle. Visit us at booth #8 to speak with technical experts, see demos and get information about Oracle's Eclipse technology and Project participation.

OSGi DevCon 2010 is happening on the same dates/venue and is covered with Eclipse Con registration.

And last, but not the least, let that runner in you have some fun and run with fellow attendees. Yep, there are even prizes!

Keep checking for the latest updates.

Unfortunately, I'll be speaking elsewhere in a different part of the world during exact same dates and so will miss all the fun. More on that later but here are some key members of the Eclipse Foundation:

Feel free to greet and thank them for running the show :-)

Read about 2009 participation here.

Technorati: conf oracle glassfish javaee oepe eclipsecon santaclara

Thursday Mar 26, 2009

GlassFish Interview with Ian Skerrett at EclipseCon 2009

I had an opportunity to be interviewed by Ian Skerrett at EclipseCon 2009, see the recording below (originally published):

<script type="text/javascript" src=""></script> <script type="text/javascript" src=""></script> <script type="text/javascript" src=""></script> <script type="text/javascript" src=""></script>
And here is a snapshot:

And then you can always read about Day 3 and Day 2 summary of Eclipse Con. Check out the GlassFish Tools Bundle for Eclipse or screencast #28 if you already have an Eclipse installation.

Also read about GlassFish/Eclipse bundle at InfoQ.

Technorati: conf glassfish eclipse eclipsecon

Wednesday Mar 25, 2009

EclipseCon 2009 Day 3 Summary

Attended the keynote session Building Applications for the Cloud with Amazon at EclipseCon 2009, Day 3 (day 2 here). Here are some brag points about Amazon Web Services gathered from the session:
  • 88 million customers, operated in 7 countries, data centers all around the world, core competency externalized for customers, pay-as-you-go model.
  • AWS Elastic Compute Cloud has 2 components:
    • Compute EC2: Rent by the hour, spin up/dial down based upon the need.
    • Storage S3: Access from anywhere with fairly low latency
  • Some simple primitives like SimpleDB (database), Simple Queue Service (messaging), Cloud Front (content delivery), Flexible Payments Service (payments), Mechanical Turk (on-demand workforce) on top of Compute & Storage.
  • 1/2 millon registered developers on AWS
  • 40 billion objects stories in S3 (4 times growth in last year)
  • Animoto case study:  Growth from 40 to 5000 instance after launching facebook application
  • AWS Principles: Reliable, Scalable, Low-latency, Flexible, Easy-to-use, Inexpensive
  • AWS Usage: Web site/Application hosting, Media distribution, Storage, Backup, Disaster Recovery, Financial apps, High-performance computing, Software development/testing
SmugMug CEO shared their usage of EC2 and S3 for SkyNet (fka Rubberband):
  • Millions of photos/day
  • BIG photos, upto 24MB, 48mpix
  • 40+ terapixels processed/day
  • Peaky traffic on holidays/weekend (elastic)
  • Full HD processing: 1920 x 1080p
  • No capital costs, Elastic, Better taxes: No depreciation & amortization
  • Totally autonomous, make a decision (roughly once a minute) to turn on/off a worker, takes into consideration approx 50+ inputs such as historical data, type of job, queue status, recent activity
And then was the fun part where AWS Toolkit for Eclipse was announced. It was pretty cool to deploy a web application (JSPWiki in this case) to a local server and then the same application to a Tomcat cluster on EC2. And you can even debug after attaching to a running instance as well. Pretty cool! And it was certainly exciting to know that GlassFish is already on their roadmap :)

And then I spent rest of the day talking to attendees and preparing this blog! The GlassFish beanies were a huge hit all around the floor and we also distributed Hudson stickers.

Here are some pictures of Day 3:

And the complete photo album below:

Technorati: conf sun glassfish eclipse eclipsecon

Tuesday Mar 24, 2009

EclipseCon 2009 Day 2 in Pictures

Here are some pictures I took at EclipseCon earlier today:

Meet us at the Sun booths in EclipseCon and learn all the goodness about GlassFish, GlassFish Tools Bundle for Eclipse, Open Solaris, and Java FX! And we got nice schwag too ;)

And the evolving photo album below:

Technorati: conf sun glassfish opensolaris javafx eclipse eclipsecon

GlassFish Beanie, Open Solaris CD, Cool shirts, 2 GB SD Card - Goodies at Sun booth in #eclipsecon

Meet us at the Sun booths in EclipseCon and learn all the goodness about GlassFish, GlassFish Tools Bundle for Eclipse, Open Solaris, and Java FX!

Technorati: conf sun glassfish opensolaris javafx eclipse eclipsecon

GlassFish Tools Bundle for Eclipse now available

EclipseCon started earlier today and we are announcing the availbility of GlassFish Tools Bundle for Eclipse.

Eclipse and GlassFish in one single download bundle, available here. Here are simple steps to get you started ...
  1. Download the binary for Mac OSX, Windows, and Linux (Open Solaris coming) and install ...

  2. Start up the GlassFish Tools Bundle for Eclipse ...

  3. GlassFish v2.1 and v3 Prelude are pre-bundled and pre-configured ...

  4. Right-click on v2.1 and view the server log in the Console ...

  5. Integrated web-based Amin Console, Update Center, View Log File, and many other features ...

Check out Release Notes for detailed information.

The screencast #28 shows how to create simple applications and deploy them on GlassFish using Eclipse. More details about creating these applications is available here. The Clingan Zone also explained the highlights of the newly released bundle.

And BTW, if you have an earlier version of the plug-in, you can just update it as explained in TOTD #66.

Send your questions to

Meet us at the Sun booths in EclipseCon!

Technorati: conf glassfish eclipse eclipsecon

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.

Java EE 7 Samples

Stay Connected


« July 2016