Friday Sep 28, 2012

JavaOne and Oracle Open World Community Run - Monday, Oct 1, 6:17am PT

Following the tradition from last year, inviting all JavaOne and Oracle Open World attendees to run with me in one of the 10 best cities to run in the US.

The running route will start at Ferry Plaza on Embarcadero, go through Fisherman's Wharf, straight up Hyde St, couple of loops around Crooked Street and then back the same route to end at Ferry Plaza. Here is the complete clickable map:

The Hyde Street (~300ft in 0.75 miles) and Lombard (~200 ft in 0.15 mile) are challenging elevations and you may cover them once only. Alternatively you may take a simpler route out-and-back by running further up to Marina and Crissy Field.

When ? Monday, Oct 1, 2012

I plan to leave at 6:17am PT from the starting point and certainly hope you can join me.

Oracle is doing several things to keep Oracle Open World and JavaOne sustainable and reduce the conference footprint. Lets do our share to keep the conference green!

Of course, don't forget the Geek Bike Ride is tomorrow.

Tuesday Sep 11, 2012

25 reasons to attend JavaOne 2012

17th JavaOne is just around the corner, less than 3 weeks away! If you are still thinking about registering for the conference, here are my top 25 reasons to attend the conference:

  1. Biggest gathering of Java geeks in the world
  2. Latest and greatest content with 475 technical sessions/Birds of Feathers/Hands-on labs sessions (about 20% more from last year)
  3. Reduced number of keynotes to accommodate room for more technical content
  4. No product pitches, exclusive focus on technology (I can tell you that from my experience as a track lead)
  5. Sessions are divided in different in-depth technical tracks to focus on Java technology that most interests you
  6. Reruns of several popular sessions
  7. Experts and Practitioners-led HOLs and tutorials
  8. Rock star speakers, panelists, faculties, and instructors.
  9. Meet several Java Champions and JUG leaders from all around the world
  10. Engage with speakers and discuss with fellow developers in a casual setting with lots of networking space
  11. A complete conference dedicated for Java Embedded
  12. Extensive and fast-paced hands-on University Sessions on Sunday, learn while you are at the conference. You can register for Java University only or attend with the conference.
  13. Dukes Choice Awards recognize and celebrate the most innovative usage of the Java platform
  14. DEMOgrounds and Exhibition Hall provide extensive opportunities for networking and engagement with the biggest names in Java (dedicated hours on each day as well)
  15. Dedicated day for Java User Groups and Communities (GlassFish Community Event and NetBeans Community Day)
  16. Multiple registration packages to meet your needs
  17. Pay for 4 full conference passes and get a fifth one free
  18. Students and Bloggers get a free pass
  19. Geek Bike Ride with fellow speakers and attendees in a casual setting
  20. Greenest conference on the plane
  21. Enjoy different cuisines in the San Francisco city, take a trip to Alcatraz or Napa Valley or go running on the crooked street ;-) There are tons of tourist opportunities in/around San Francisco.
  22. Tons of parties during the conference, in the evening, late night, and early mornings. Don't forget Thirsty Bear Party!
  23. Pearl Jam and Kings of Leon at Appreciation Party
  24. Oracle Music Festival at Yerba Buena Gardens
  25. Grab the bragging rights "I have attended JavaOne"!
Learn a new skill, build new connections, conceive a new idea and push the boundaries of Java in the most important educational and networking event of the year for Java developers and enthusiasts.

With so much geekgasm going on during the 5 days of JavaOne, is there a reason for you to wait ?

Register for the conference now!

JavaOne Registration

Grab your buttons, banners, and other collateral at JavaOne Toolkit.

You can also send an email to And reach out to us using different social media channels ...

Click Map @JavaOneConf JavaOne LinkedIn

As a 13 year veteran of the conference, I can tell this is some thing every Java developer must experience!

I will be there, will you ?

Sunday May 06, 2012

JavaOne and Oracle Develop India 2012 Trip Report

JavaOne and Oracle Develop India 2012 concluded earlier this week. About 2000 attendees for JavaOne makes it the biggest Java developer conference in South Asia. The conference showed Oracle's continued commitment to move Java forward and demonstrated progress on different fronts.

Several attendees told me that they liked Java EE related sessions and how it demonstrated how the platform is making progress. The automatic service provisioning feature was particularly well appreciated. The complete instructions to download the Conference Planner sample showing some PaaS capabilities of the platform is available at And the video that explains the PaaSing a Java EE application is shown below.

I had several speaking engagements at the conference including Technical Keynote, Meet The Experts, 2 Hands-on Labs, and 2 Technical Sessions.

I helped mentor a hands-on lab that explained how to Develop/Deploy/Monitor a Java EE 6 Application in a GlassFish Cluster. The room was packed with 120 attendees and several folks made good progress by following the instructions in the document. The complete self-paced lab instructions can be downloaded here and the source code here. The lab explains how to create a 2-instance cluster, front-end the cluster with a load balancer, verify that session replication works, and then monitor the application using JavaScript.

The session on GlassFish REST Administration Backend explained the internals of how GlassFish exposes a RESTful API for administration, monitoring, and management. But other than learning internals, the emphasis was more on how to build a large-scale RESTful application. The tips and tricks part of the presentation shared the lessons learned during our exercise of publishing this API. The slides are available:

Do you know the RESTful management API is at localhost:4848/management/domain and the monitoring API is localhost:4848/monitoring/domain. And did you know that you can append ".xml" or ".json" to the RESTful URIs and the data is displayed in the requested format ?

The evening concluded with a dinner with several JUG leaders and Java Champions from all around the world. There was Kevin Nilson from the Silicon Valley JUG, Vinicius and Yara Senger from the SouJava, Stephen Chin from the Java FX User Group, Raj Mahendra from the JUG Chennai, Kayal from JDuchess Chennai, Murali Vallath from AIOUG and several other luminaries. However its still surprisingly shocking that in a country of 1.2 billion+ people, there are only 4 active JUGs - Pune, Bangalore, Chennai, and Nagpur. And then Hyderabad JUG was created at JavaOne India. I plan to write a detailed blog on what it takes to start a JUG any where and hopefully that will motivate some individuals to start more JUGs around the world. Anyway, here are some pictures from the dinner:

Day 2 for me started with Meet The Experts session with Dalibor Topic, Terrence Barr, Michael Heinrichs, and Markus Hirt. The 9am session started low on attendance but the 250+ capacity room was packed within 15 minutes. And the questions ranged from merged JVMs, comparison between HTML5 and JavaFX, NoSQL support in Java EE, JavaFX on mobile, features in JDK 8/9/10, Project Avatar, and all over the Java landscape. The engaged audience kept asking questions all the way to the end.

Then I delivered a session on WebLogic 12c: Developer Deep Dive at Oracle Develop. This session gave an overview of some of the new features that are available in Oracle WebLogic Server 12c such as zip installer (TOTD #174), simplified programming model with Java EE 6, new Maven goals, and extensive IDE support. The slides are available.

A comprehensive Java EE 6 application was explained with a code walk-through and deployed on WebLogic server using NetBeans. TOTD #176 explains how you can deploy this application on WebLogic as well. There are several blogs that explain new Maven support in WebLogic and I've already prepared a blog draft (to be published soon) explaining the same using the TOTD format. There were some cases of Websphere -> WebLogic migration and that is always welcome!

The final session of the day for me was the Java EE 6 Application Development using NetBeans and WebLogic hands-on lab at Oracle Develop. This self-paced guided the attendees to build a complete end-to-end application using different Java EE 6 technologies such as JavaServer Faces 2, Enterprise JavaBeans 3.1, Java Persistence API 2, and Contexts & Dependency Injection. The self-paced lab instructions are available here. I was told that with about 75 attendees this was the most heavily attended lab of Oracle Develop.

The evening concluded with the GlassFish & Friends Party. We've conducted this party at the premier JavaOne event for the past 5 years and this is the first time we've taken it to a regional event. There were about 110+ JavaOne attendees who were present at the party and had some great conversations. Several folks told me that they enjoyed the party and are already looking forward to it next year. The Nagpur JUG had the biggest presence at the party and they are a charged up bunch of folks. I really wish other cities have similar amount of passion and energy as well. Here are some pictures from the party:

On a personal side, the fitness center of Novotel Hotel is pretty good and this allowed me to continue following the Spartacus Workout. A visit to Hyderabad must include a trip to Paradise Biryani and so managed to sneak in that after the GlassFish party. The OTN welcome party was a good way to decompress at the end of Day 1 and got the attendees dancing to the latest bollywood flicks by Vasundhara Das. Here are some pictures from the dance party:

Here are some more pictures captured from the event:

And now the complete album:

Many thanks to the Novotel Hotel and HICC staff, competent technical crew, events team running around for logistics, attendees, local and international speakers, and everybody else. A good conference is a blend of all of these together and JavaOne India certainly had a good mix.

For me, the next stops are Turkey, Poland, Ukraine, Johannesburg ...

Wednesday May 02, 2012

Java EE 6 Sample Application on WebLogic 12c: Conference Planner (TOTD #176)

Oracle WebLogic 12c provide a Java EE 6 Full Platform compliant application server. During the launch event last year, a Java EE 6 application was shown that demonstrated all the features of Java EE 6. This application allows conference organizers to publish details about their conference such as tracks, sessions, and speakers. It also allows attendees to register for the conference and prepare their schedule. The application is built as a typical 3-tier Java EE 6 application using JavaServer Faces (with PrimeFaces widgets) for the front-end, Enterprise JavaBeans for the middle tier business logic, and Java Persistence API for connectivity with the database.

This Tip Of The Day (TOTD) shows how to deploy the application on WebLogic 12c.
  1. Check out the application from or download the source bundle.
  2. Download and install Apache Derby. If you are using JDK7 then it comes bundled with Derby and installed in directory (/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/db). Any other database can be used as well but the instructions will differ accordingly.
    1. Create "" file in the main directory of and specify the following content:


      This creates a user "sa" with the password "sa".
    2. Start the database by invoking the "bin/startNetworkServer" script.
    3. Copy "derbyclient.jar" to "mydomain/lib" directory and restart the server by using "mydomain/" script.
    4. Create and populate the database by invoking the interactive SQL scripting tool "bin/ij". Specify the location of the SQL from the application as shown.
      ij version 10.8
      ij> driver 'org.apache.derby.jdbc.ClientDriver';
      ij> connect 'jdbc:derby://localhost:1527/cp;ServerName=localhost;databaseName=cp;user=sa;password=sa;create=true';
      ij> run '/Users/arungup/code/workspaces/arun/ConferencePlanner/trunk/src/main/sql/javaone-sf-2011.sql';
      ij> . . .
      1 row inserted/updated/deleted
      ij> exit;
  3. Download, unzip, and configure WebLogic 12c as described in TOTD #174. Here is my simple script that performs all the steps required:
    mkdir 12c
    cd 12c
    export CLASSPATH=/Users/arungup/tools/db-derby-
    unzip ~/Downloads/ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home ./ . $MW_HOME/wlserver/server/bin/ cd .. mkdir mydomain cd mydomain $JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=256m weblogic.Server

    Notice, here we are explicitly including "derbyclient.jar" in the  CLASSPATH. This will ensure that Derby database's JDBC driver is available to WebLogic Administration Console which was not able to pick up JAR files from "mydomain/lib" directory otherwise.
  4. Access WebLogic Admin Console at localhost:7001/console, the login/password used in TOTD #174 is admin/admin007.
  5. Create a JDBC data source
    1. Click on "Data Sources" as shown.

    2. Click on "New" and select "Generic Data Source" as shown.

    3. Specify the values as shown.

      The JDBC resource name is "jdbc/cp" and the database is "Derby".
    4. Change the "Database Driver" to "Derby's Driver (Type 4) Versions: Any" and click on "Next". Make sure to not choose Type 4 XA driver which is the default.
    5. Take the defaults and select "Next".
    6. Specify the connection properties as shown.

      And click on "Next".
    7. Click on "Test Configuration" to make sure that every thing is configured correctly. Make sure to see the message "Connection test succeeded.". Verify the defaults and click on "Next".
    8. Select the target "myserver" as shown

      and click on "Finish".
  6. Deploy the application
    1. In the localhost:7001/console, click on "Home" (at the top center) and then "Deployments".

    2. Click on "Install".
    3. Specify the location of the WAR file as shown

      Make sure to pick the WAR file by selecting the radio button and click on "Next".
    4. Take the defaults and click on "Next".
    5. Take the defaults again and click on "Next". Notice that "myserver" is chosen as the target of deployment.
    6. Click on "Finish". After the application is deployed the console shows the following snapshot:

  7. Access the application at localhost:7001/ConferencePlanner to see the output as:

Feel free to browse through the source code!

Download WebLogic and play with it! Screencast #39 explains how to build a more comprehensive Java EE 6 application using NetBeans and WebLogic.

Wednesday Apr 25, 2012

JavaOne India 2012

JavaOne India is right around the corner. Several Oracle and community speakers will be there sharing the latest and greatest around Java technology in Hyderabad.

The main tracks are:
  • Client Side Technologies and Rich User Experiences
  • Core Java Platform
  • Java EE, Web Profile, Platform Technologies, And Cloud
  • Java ME, Java Card, Mobile, Embedded, and Devices

Here are some important links to remember:

More details in the flyer below:

Did you see this advertisement in PCQuest or Chip magazine ?

Don't wait, register before May 2 to save 1200 Rupees.

I'll be there, will you ?

Tuesday Apr 17, 2012

JavaOne Moscow/Russia Trip Report

JavaOne Moscow/Russia was kick started this morning and followed the usual pattern of a strategy keynote providing an overall strategy of the Java platform, technical keynotes providing more detailed overview of Java SE, JavaFX, Java ME, and Java EE, and then there were hands-on labs and sessions. The big keynote theater was packed with 1300+ audience in the morning and then scattered to different rooms.

The "Develop, Deploy, and Monitor a Java E 6 Application on GlassFish" hands-on lab had about 40+ attendees. The network was a little slow and so it took a long time to download the maven repository. However as I was explaining the Java EE 6 applications, folks started drawing analogies with Spring and realizing how much simpler Java EE 6 has become from its predecessors. An existing Spring user pointed out that "Java EE 6 is much simpler than Spring because of the default conventions and require minimal configuration". Read a more engaged discussion on Why Java EE 6 is better than Spring.

Anyway, the content for the hands-on lab can be downloaded from here. It explains:
  • Walk through a Java EE 6 application
  • Create a 2-instance GlassFish cluster and front-end with a Web server and a load balancer
  • Show session replication when one of the instances fail
  • Use extensible monitoring infrastructure to generate application-specific monitoring data

I also delivered the Java EE Technical Keynote which gave an update on Java EE 7. It also showed a demo of how GlassFish automatically provisions service as part of the initial work in Java EE 7. The complete demo instructions, along with a video are available at

Here are some pictures captured from the day:

Do you know the man in the last picture on right column ?

You probably will not see him in person. But he is the man who maintains the master JavaOne schedule, besides many other tasks. Its not an easy job as you can imagine :-)

Many thanks to Ralph Crawford for doing an outstanding job for all these years!

And now the complete album:

JavaOne Russia continues tomorrow so make sure you attend the sessions, talk with the speakers, and make the best use of this premier conference in your neighborhood.

For me, next stop is Great Indian Developer Summit!

Monday Apr 16, 2012

Running by Moscow River

JavaOne Russia is starting tomorrow! I got in the city early this morning, slept a little but got up early because of jet lag.

New country, new city and how do you get familiar ? Run!

Running would you take you places that you would generally not see otherwise. And the hotel is right by the Moskva River with long empty sidewalks right next to it. Here is how my running route from this morning:

Fortunately, it was not "Moscow cold" and I enjoyed the run. I could've gone longer but had to revert back because of other activities already planned during the day. Here are some pictures captured during the run:

And then some more pictures from around the city ...

And the evolving album at:

JavaOne and Oracle Develop Russia starts tomorrow and I hope to see you there!

Sunday Apr 08, 2012

Great Indian Developer Summit (GIDS), JavaOne Moscow, Java Summit Chennai

My whirlwind tour of Java EE and GlassFish starts next weekend and covers the following cities in the next 6 weeks:
  • JavaOne and Oracle Develop, Moscow
  • Great Indian Developer Summit, Bangalore
  • Java Summit, Chennai
  • JavaOne, Hyderabad
  • OTN Developer Day, Pune
  • OTN Developer Day, Istanbul
  • Geecon, Poznan
  • JEEConf, Kiev
  • OTN Developer Day, Johannesburg

Several other members of the team will be speaking at some of these events as well. Please feel free to reach out to any of us, ask a question, and share your passion. Here is the first set of conferences coming up:

Date: Apr 17-18
My Schedule
      Deploying your Java EE 6 Applications in Producion hands-on lab
      Technical Keynote
      Some other technical sessions
Venue: Russian Academy of Sciences
Connect: @OracleRU

Date: April 17-20
Schedule (date decided, time slots TBD)
My Schedule: NetBeans/Java EE 6 workshop on April 19th, Other sessions (as listed above) on April 20
Venue: J. N. Tata Auditorium, National Science Symposium Complex, Sir C. V. Raman Avenue, Bangalore, India
Connect: @GreatIndianDev

Date: April 21, 2011
My Schedule: Java EE 7 at 9:30am, JAX-RS 2.0 at 11am
Venue: VELS University
Register (FREE)
Connect: @jug_c

Where will I meet or run with you ?

Do ask me to record a video session if you are using GlassFish and would like to share your story at

Wednesday Mar 14, 2012

JavaOne 2012 CFP Open - Ends April 9

JavaOne 2012 San Francisco is the 17th edition of the premier Java developer conference. The Call For Papers for this conference is now open. The main tracks are:
  • Core Java Platform
  • Development Tools and Techniques
  • Emerging Langauges on the JVM
  • Enterprise Services Architectures and the Cloud
  • Java EE Web Profile and Platform Technologies
  • Java ME, Java Card, Embedded, and Devices
  • Java FX and Rich User Experiences

What are the key dates ?

Call for Papers Start Mar 14, Wednesday
Call for Papers End 11:59 pm PDT, April 9
Accept/Decline Notifications End of May/Early June
Speakers to Accept Sessions Mid-June

Here is some personal insight into the review process and tips for submissions. Bottom line ...
  • No product/marketing pitches, pure technology talks
  • Make titles catchy
  • Use all the characters for providing details about your session
  • Make sure to submit talks in the appropriate track
More tips here.

This year the conference is happening again at The Zone:

View The Zone - JavaOne Conference Location in a larger map

Here is some of the feedback from last year's JavaOne:

Not only thrill + thunder, but also fun is back! #javaone11
Big thanx to Oracle for this really nice conference...really enjoyed it... #javaone11
JavaOne ended for me at breakfast this morning. Now we're heading home. Great to be a part of such a successful show this year! #javaone11
#FF to all my fellow dev ghat attended #javaone11. Really happy to be part of such a great community.
Good nigth San Francisco, I had a great week at #javaone11 very productive and motivating. Will I ever be back
Sitting at SFO waiting for my plane back. What an amazing #javaone11 lies behind us. Thanks to everybody who made it happen.
Thanks @Sharat_Chander for an excellent #javaone11. Looking forward to many more to come.
#JavaOne11 is a wrap! Great conference and thanks @Oracle for listening to the community for improvements.
last session at #javaone11 #javaone. it was most productive week in this year for me as developer
It would be a great achievement in my dev life if I come back to #javaone11 as a speaker.

Don't you want to be part of this premier Java event ?

What are you waiting for ? Just go ahead and share your passion with rest of the Java community. You can submit a Technical Session, Panel, and Birds-of-Feather. Read more details about submission guidelines.

You've 27 days to submit your talk! Don't wait too long though ;-)

Check out blog reports and pictures from last year.

Stay connected on JavaOne using any of the social media channels:

Don't wait, submit your talk now!

Friday Mar 02, 2012

JavaOne India 2012 CFP Now Open - Submit Now!

JavaOne India 2012 CFP

When ? May 3-4, 2011

Where ? Hyderabad International Convention Center, India

What ? Technical keynote, technical sessions, exhibitor halls, hallway conversations, biryani, etc.

Tracks ? Four tracks cover the entire Java landscape ...
  • Core Java Platform
  • Client-side Technologies and Rich User Experience
  • Java EE Web Profile, Platform Technologies, and the Cloud
  • Mobile, Java Card, Embedded, and Devices

Interested ? Submit paper now! CFP ends Mar 15 (13 more days).

Some other useful links ...
Get some more insight into the CFP review process and tips for submissions based upon multiple years of involvement as a speaker, track lead, attendee, etc.

Are you working on something exciting using the Java platform ?
Would you like to share it at the premier Java conference ?
What are you waiting for ?
Remember CFP ends on Mar 15. 
Submit now!

And in case you are wondering what does it mean to be participate in JavaOne India ? This blog report from last year will provide you some details.


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