Thursday Feb 07, 2013

Jfokus 2013 Trip Report - A Magnificent Spectacle

This was my third consecutive year (2012, 2011) at Jfokus and the organizing committee, and Mattias Karlsson in particular, continue to amaze me every year! As one of my colleague mentioned, it truly has become a "magnificent spectacle".

With the conference sold out 2 weeks before the official start, 1550 attendees from 20+ countries were delighted by a barrage of international speakers. This was the biggest Jfokus ever and the bar has always gone higher from the previous years.

The conference kickstarted with a guided tour of Old Town Stockholm and was a good way to get familiar with history of the city.

The conference had hands-on lab on the first day and technical sessions, BoFs, HackerGarten, NightHacking, Swedish massage by Mejsla and other activities on day 2 and 3. Even though the conference had several tracks but the best track is always the "hallway track" which gives you the unique opportunity to engage with other attendees of the conference.

Markus and I delivered a lab on "Developing JAX-RS Web Applications Utilizing Server-sent Events and WebSockets". Geertjan also showed up at the lab and helped out with general NetBeans questions. The lab guide is available and the complete source code can be downloaded here. Note, the lab works on GlassFish 4.0 build 57 for now because of the pending bugs in SSE implementation in Jersey.

The last 45 minutes of the lab had a different section covering some other Java EE 7 technologies. The lab guide is available at (PDF) and the starting code is available at (ZIP). For now, this particular lab covers:

This lab is a work in progress and a more comprehensive feature set will be integrated and shared at future conferences (yes, several are already planned!). Let me know if you'll be interested in reviewing the contents and providing feedback.

Here are some pics from the lab session:

The conference also had its first #GeekRun. 7 of us ran in sub-zero temperature in the dark around the island and it was a great experience!

Here is the running route:

The evening concluded with an outstanding speakers' dinner at F12. The hospitality of the restaurant, warmth of the Jfokus events team, and company of some of the finest geeks in the world made the evening memorable. Some pics from the dinner ...

I delivered a session on The Java EE 7 Platform: Productivity++ and Embracing HTML5. There were about 100+ attendees for the 9am session. It gave a quick overview of the features coming in Java EE 7:
  • Java API for WebSocket
  • Java API for JSON Processing
  • Concurrency Utilities for Java EE
  • Batch Applications for Java Platform
  • JAX-RS 2.0
  • JMS 2

And several other technologies which are getting an update. The complete slides are available:


The session also showed a quick demo of the latest NetBeans build supporting Java EE 7.

In How to participate in the future of Java, I talkd about how several JUGs are contributing to Adopt-a-JSR efforts around Java EE 7. There are 19 JUGs from around the world that are participating in this effort. What is your JUG waiting for ? Join the momentum now!

Here are some more pictures from the conference:

The conference collected feedback for each talk using green, red, and yellow cards, a concept first found in Oredev. As explained in the opening keynote, the rule is getting green cards is good, yelllow card means so so and red card means the speaker is not coming back to the conference. Here are the cards that I received after my talk on Java EE 7:

I've heard the rumor that Nordic conferences don't like to repeat speakers for more than 2-3 years in a row. This was my third year but hey, the cards are all green. I'm keeping my fingers crossed for next year ;-)

Anyway, congratulations once again Mattias and team for a job very well done!

And the complete photo album:

Wednesday Feb 15, 2012

Jfokus 2012 Trip Report

If I were to summarize Jfokus 2012 in two words then they would be - bigger and better!

Bigger because ...
  • 8 tutorials/hands-on lab in 2011 -> 10 in 2012
  • 1 fully booked in 2011 -> 5 in 2012
  • About 1450 attendees, 15% more from 2011
Better because ...
  • Coffee was served all day
  • The best speakers' dinner at a top-notch restaurant. Any body willing to beat that ? Make your speakers feel more special ? ;-)
  • REST interface to the program schedule
  • All-day Java Spotlight
  • Speakers from Brazil, attendees from Morocco,  more international participation (about 15-20% attendees were outside Sweden)
  • Flawless wireless connection, no complaints on #jfokus or elsewhere
  • #jfokus was trending

There were several talks by Oracle speakers. I gave a Java EE 6 hands-on lab and two talks - PaaSing a Java EE Application and The Java EE 7 Platform: Developing for the Cloud.

Again and again the awesome threesome of Java EE 6, NetBeans, and GlassFish continue to attract audience - this time at Jfokus 2012.  Lot more folks showed up for the hands-on lab than originally registered and the conference organizers had to arrange extra table and chairs.

One of the attendees forgot to bring his laptop and connected to a remote server running NetBeans using his Samsung Galaxy S1 smart phone. He built some part of the application that way and then got his laptop during one of the coffee breaks. That was pretty awesome!

The interactive attendees learned all about:
  • Improvements in Java Persistence API 2
  • "web.xml"-free and annotation-driven Servlets
  • Simplified packaging of EJBs in a WAR file, no-interface and single file definition of EJB
  • Session preservation across redeploys
  • Facelets (XHTML/CSS) as templating language for JavaServer Faes to achieve true MVC
  • Integration of Bean Validation with JPA and JSF
  • Typesafe dependency injection and Producer/Observer of events using CDI
  • RESTful resources using JAX-RS
Most of the attendees stayed for the 3.5 hrs long workshop. Several folks gave positive feedback afterwards and suggestions on some troubleshooting tips. The following bugs were filed/followed upon:
  • 190988 (Refactor fields of an existing entity class to an Embeddable class)
  • 203659 (Generate new lines between fields of a JPA entity)
  • 208355 (Injecting a POJO shows a warning message)
  • 205392 (Change the default RESTful URL to /webresources or /restful - will be fixed in 7.2.
The revised hands-on lab document is available here and the complete application here.

Many thanks to Markus Eisele for helping me with the lab!

The slides for "PaaSing your Java EE Application" are available below:

This session explained different components of GlassFish to provide a standards-based PaaS platform. There were about 25 attendees in this 9am session.

And the slides for "The Java EE 7 Platform: Developing for the Cloud" are available below:

This session gave an overview of the Java EE 7 platform. It also gave a quick preview of Early Drafts from JAX-RS 2.0, JavaServer Faces 2.2, Enterprise JavaBeans 3.2, and Contexs and Dependency Injection 1.1. There were about 200+ attendees in this session.

The Java Spotlight podcast #69 had six different Java Champions - Jonas Boner, Stephan Janssen, Chris Richardson, Mattias Karlsson, Fabiane Nardon, and Bert Ertman talked about "Is Java Dead ?", "How is Oracle doing with the Java community ?" and similar topics.

The opening keynote by Jurgen Holler reminded me of the famous quote by Gandhi:

First they ignore you
Then they laugh at you
Then they fight you
Then you win

I think we are at the last but one stage :-)

IMHO product pitches and negative campaigning (feels like Republican party primaries back home) should be strictly avoided from such conferences (not for the keynote at least) otherwise they leave a bad taste!

Check out some more pictures from the conference ...

Even though it snowed overnight yesterday and a little bit this morning as well but I managed to get a run in the city

The city certainly has tons of running/biking trails and they look beautiful covered with snow!

An evolving album is available at (the first few pictures are from the trip to JUGICE and then Jfokus)  ...

Also watch a lovely set of photos by Markus Eisele:

The returning speakers at Jfokus are only 7% in contrast with other big Java conferences such as JavaOne, Devoxx, and W-JAX. I've already attended two years in a row so guess getting into the smaller percentage already ;-)

Next stop Umeå and finally home ...

Monday Feb 06, 2012

Java EE 6 and 7 at JUGICE, Iceland, JFokus 2012, and Umeå JUG, Sweden

After an easy January month, the conference circuit is starting with a tour of the Nordics.

What ? Java EE 6 hands-on workshop
Date ? Saturday, Feb 11, 2012
Time ? 9am - 1pm
Where ? Reykjavik University, Fönix (m-105)
Register ?
Prep work: Download and Install NetBeans 7.0.1 or later ("All" version) from, JDK 6 latest update from
Twitter: @JUGICE

What ? Java EE 6 hands-on workshop (Feb 13, 9am), PaaSing a Java EE Application (Feb 15, 9am), Java EE 7: Developing for the Cloud (Feb 15, 1pm)
Date ? Monday - Wednesday, Feb 13 - 15, 2012
Time ? All Day
Where ? Stockholm Waterfront Congress Center, Sweden
Register ? (almost sold out, register quick)
Prep work: (For hands-on workshop only) Download and Install NetBeans 7.0.1 or later ("All" version) from, JDK 6 latest update from
Twitter: @jfokus

Check out my reports from JFokus 2011.

What ? Java EE 6 hands-on workshop
Date ? Thursday, Feb 16, 2012
Time ? 6pm
Where ? Umeå University (Triple-Helix), Umeå, Sweden
Register ? Just show up
Prep work: Download and Install NetBeans 7.0.1 or later ("All" version) from, JDK 6 latest update from

Where will I meet or run with you ? :)

Tuesday Feb 15, 2011

JFokus 2011 Day 3 Trip Report - JDuchess, Future Java Developer, Java EE/Cloud, Icebar

JFokus 2011 ended after spending 2600 man hours educating 1100+ developers. (Day 2 and 1 reports)

I gave a talk on "Running your Java EE 6 applications in the Cloud". The talk explained the key benefits of Java EE 6 and then explained how this application can be deployed on Amazon, Joyent, Rightscale, and Azure. The talk also explained how Java EE 7 is going to evolve to become a cloud-enabled platform. The slides are now available:

The minimal presence of women in Java conferences is intriguing. JDuchess are trying to solve that problem by bringing more women in Java and connecting them.

I met three of them earlier today and here are top three ways you can help them:
  • Raise awareness about the program by sharing this with others.
  • Help other women get into Java technology by educating them.
  • Participate/speak at conferences and connect with other women.

Are you a woman reading this blog and work in the Java technology ? Sign up today and help spread the effort and make your voice heard!

I also attended Bruno and Sven's talk on the "The Future Java Developer". They both touched some of the key points on embracing open source, remote working, freedom from hardware/software (ability to deploy in cloud), programming for multiple devices, revised costing model for SaaS/PaaS/IaaS, working in global teams, agile development, speech-to-code, and many others. The specific suggestions were:

  • Deploy applications in the cloud
  • Work with distributed teams from different cultures
  • Create architectures looking for simplicity
  • Think of services
  • Become a polyglot programmer

Their complete slides are available here.

One of my colleagues (Tomas Nilsson) here is getting ready for a marathon. He was kind enough to take me out on a run in sub-zero Stockholm downtown (yes, it was some 16F). I've always felt that running gives a unique perspective to view a city and I was not disappointed today at all, especially Tomas did a great job explaining the key vista points. Now our GPS watches could not find the satellite for the first 20 mins but here is our running map:

Good luck Tomas, you'll do well, happy running!

The evening was enjoyable as well in the world's first permanent ice bar, appropriately called as Icebar Stockholm. No matter what the temperature is outside, the inside temperature is always maintained at -5C year around. The entire interior including the glasses are made from clear ice from a local river. You have to wear a cape to protect yourself from the cold temperature and also to protect the interiors. You've to make a reservation as the attendance is restricted but this is a must stop if you are visiting Stockholm.

Here are some pictures from Day 3:

And the complete album is now available at:

Thank you Mattias for running a wonderful show and providing an opportunity to participate in my very first JFokus and now looking forward to participate in JFokus 2012!

And after being out for 8 days ... so ready to go home now :-)

Technorati: conf jfokus javaee6 glassfish cloud sweden stockholm

Monday Feb 14, 2011

JFokus 2011 Day 2 Trip Report - Pics with JMan & JWoman

JFokus 2011 Day 2 started by Mattias explaining "Information, Inspiration, Innovation" mantra. The idea is to get information from the speakers, inspiration from each other, and do the innovation for all so that the entire Java community is benefited. With over 1100 attendees, 60 speakers, and 30 partners there were ample opportunities to network and embrace the mantra.

The two newly nominated Java Champions were announced by Bruno Souza on the stage ... (drum roll please) ... Rickard Öberg and Jonas Boner!

Many congratulations to them!

Jonas made a very powerful statement "No platform is as comparable to Java for deploying your applications" and "Java has a bright future, the beast is not dead". This was quite evident in the energy level of all the Java enthusiasts attending the conference.

Day 2 for me was mostly about socializing at the exhibitor floor, going around the city (first time here), and then giving my talk on Java EE 6 Toolshow. I spent good time with a few vendors trying to understand what and how they are using Java EE. Diversify, for example, is trying to run Java in the Azure environment. And they've even deployed GlassFish in Azure ... deja vu :-) I shared my Java wishlist for Azure and they'll be sharing that feedback with Microsoft. Actually the Microsoft guys were at the next booth and we had a great conversation about the missing pieces. There are some basic differences between how Microsoft sees Java developers should build their applications and how they are actually being built. So I think there is some learning required on that front, IMHO. It was good to talk to JBoss guys about co-opeting to ensure Java EE standards stay relevant and we talked some stuff about future Java EE  as well. And some other opportunities were discussed which will hopefully turn into actual deliverables and you'll the results on this blog.

The Java EE 6 Toolshow (about 450 attendance per the crew) was a slides-free talk that explained how to build a Java EE 6 application using the new and updated APIs in the platform. Juggy, the mascot of JUGs, was asking some very intelligent questions like "What about other vendors going Java EE 6 compliant", "Why WebLogic and GlassFish from Oracle" and I think I explained them well. But just to highlight these two answers:

Q. When are other vendors going Java EE 6 compliant ?
A. There are two vendors that are Java EE 6 certified - TmaxSoft is full Java EE 6 certified and JBoss 6 community edition is Java EE 6 Web-Profile compliant. Other than that WebLogic has announced plans to be Java EE 6 compliant, and similarly Websphere, Geronimo, and Caucho Resin have announced similar dates as well.

Q. Why WebLogic and GlassFish from Oracle ?
A. Use GlassFish if you want Java EE 6 today, if open-source is a requirement for you, or if you want the latest cutting edge innovation from Oracle. If you want Fusion Middleware, tighter integration with other upstack components like Coherence, RAC, and Database then WebLogic is your required solution.

Thank you Juggy for making the session interactive and adding the fun factor as some attendees stopped by in the evening reception and seem to like it :-)

The screencast #37 shows all the different tooling options for Java EE 6 using NetBeans and screencast #36 shows the same using Eclipse. The application built during the talk can be downloaded here.

Here are couple of tweets from the talk providing instance feedback:

@jduchess: #JFokus JEE6 toolshow: Arun gave us a nice demo of how easy and fast it is to deploy webapps with Netbeans and Glassfish.
@helenaferry: Arun Gupta presenterar Java-verktyg tillsammans med en fågel. Kul kille. :-) #jfokus

The band (Soulfood) in the evening reception played some good music and you can enjoy some for yourself:

Here are some pictures from Day 2:

And check out the pics with JWoman (newly launched this JFokus) and JMan:

And here is the evolving photo album so far:

Last and final day starts in a few more hours ...

Technorati: conf jfokus javaee6 netbeans glassfish sweden stockholm


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