Thursday Nov 17, 2011

Devoxx 2011: Java EE 6 Hands-on Lab Delivered




I, along with Alexis's help, delivered a Java EE 6 hands-on lab to a packed room of about 40+ attendees at Devoxx 2011. The lab was derived from the OTN Developer Days 2012 version but added lot more content to showcase several Java EE 6 technologies. The problem statement from the lab document states:

This hands-on lab builds a typical 3-tier Java EE 6 Web application that retrieves customer information from a database and displays it in a Web page. The application also allows new customers to be added to the database as well. The string-based and type-safe queries are used to query and add rows to the database. Each row in the database table is published as a RESTful resource and is then accessed programmatically. Typical design patterns required by a Web application like validation, caching, observer, partial page rendering, and cross-cutting concerns like logging are explained and implemented using different Java EE 6 technologies.

The lab covered Java Persistence API 2, Servlet 3, Enterprise JavaBeans 3.1, JavaServer Faces 2, Java API for RESTful Web Services 1.1, Contexts and Dependency Injection 1.0, and Bean Validation 1.0 over 47 pages of detailed self-paced instructions.

Here is the complete Table of Contents:




The lab can be downloaded from here and requires only NetBeans IDE "All" or "Java EE" version, which includes GlassFish anyway. All the feedback received from the lab has been incorporated in the instructions and bugs filed (Updated 49559, 205232, 205248, 205256).





80% of the attendees could easily complete the lab and some even completed in much less than 3 hours. That indicates that either more content needs to be added to the lab or the intellectual level of the attendees at the conference was pretty high. I think the lab has enough content for 3 hours but we moved at a much more faster pace so I conclude on the latter. Truly a joy to conduct a lab to 40 Devoxxians!

Another related lab that might be handy for folks is "Develop, Deploy, and Monitor your Java EE 6 applications using GlassFish 3.1 Cluster". It explains how:
  • Create a 2-instance GlassFish cluster
  • Front-end with a Web server and a load balancer
  • Demonstrate session replication and fail over
  • Monitor the application using JavaScript
The complete lab instructions and source code are available and you can try them.

I plan to continue evolving the contents for the Java EE 6 hands-on lab to cover more technologies and features and will announce them on this blog. Let me know on what else would you like to see in the future versions.

Tuesday Oct 11, 2011

Silicon Valley Code Camp 2011 Trip Report




2200+ code campers attended 209 sessions delivered by 172 passionate speakers, ate 507 large pizzas and 1269 sandwiches, 5670 snack packs, drank 5000 bottles of water and 18 cambros of coffee and consumed 1560 parking spaces.

Where does this happen ? Of course, Silicon Valley Code Camp 2011!

This organically grown code camp over the past 6 years has seen tremendous growth. The Java tracks were added in the year 2007 after Van Riper visited the very first version of the code camp which was .NET focused. Now .NET sessions are about 1/3rd, Java-based sessions are about 1/3rd, and every thing else fills up rest of the agenda.

Here is a brief chart showing the growth in number of code campers registered, attended, and the sessions delivered over past 6 years:

I've attended each code camp since the introdction of Java (2007, 2008, 2009, 2010, and now this one) as a speaker.

This year, Oracle speakers delivered several sessions.

My first session was "Develop, Deploy, and Monitor a Java EE 6 session using GlassFish 3.1 Cluster" and explained
  • Walk through and deploy a typical Java EE 6 application using NetBeans and GlassFish.
  • Create a two-instance GlassFish cluster and front end with a Web server and a load balancer.
  • Demonstrate session replication when one of the instances fails.
  • Use the extensible monitoring infrastructure to generate application-specific monitoring data.
The complete instructions and the source code are available and you can try it yourself as well.

The second session was a packed standing-room-only and talked about "The Java EE 7 Platform: Developing for the Cloud" and the slides are available:


The demo shown in the talk is explained below (complete instructions):



I'll be giving this similar presentation at JAX London (London), JFall (Netherlands), Oredev (Sweden), Devoxx (Belgium), IndicThreads (India), and JavaOne Latin America (Brazil) in the days to come. Make sure to catch me and ask your questions or share your usecases to make Java EE 7 successful.

If you attended any of the sessions, please make sure to complete an evaluation

Check out some pictures from the camp ...












And enjoy the album from Saturday morning:



I had to rush back home because of prior personal commitments. Anyway looking forward to v7.0 next year.

Java EE 7 is planned to go final around the same time so there will be lots of material to share. And looking at the current trends, the registration and attendance numbers will be much higher than this year. So make sure to register early :-)

Here are some tweet-feedback ...

#svcc The Sillcon Valley Code Camp was very well done, organisation was excellent. Thanks to the SVCC staff and @vanriper ;-)
. @sv_code_camp if anyone with a passion for tech needs a reason to move to the bay area, all they have to do is attend #svcc
#svcc very well organized this year, they're handling growth quite well.

Many thanks to Van, Kevin, Peter, and rest of the crew for yet another successful camp!

Monday Jan 04, 2010

FREE Java EE 6 1-week online Codecamp - Jan 12th, 2010

Happy New Year!

Java EE 6, GlassFish v3, and NetBeans 6.8 were released last month. Are you interested in learning how this awesome combination of technologies and products make your life simpler ? Do you want to brush up your skill set and learn to write Java EE 6 code using NetBeans 6.8 and GlassFish v3 ? Would you like to learnĀ  tips & techniques from the experts in GlassFish community ? Do you want to start 2010 with a complete immersion in Java EE 6 & GlassFish v3 ?

If answer to any of the above questions is "yes", then you should consider attending the upcoming free Java EE 6 online code camp. You are certainly welcome to attend the sessions otherwise as well :-)

The goal of this code camp is to let you write code, lots of code, exercising key Java EE 6 technologies.

The sessions are distributed over multiple days (schedule subject to change) as shown below:

Topics Date/Day
Getting Java EE 6 sample codes Jan 12th, 2010 (Tuesday)
Servlet 3.0 Jan 12th, 2010 (Tuesday)
Context and Dependency Injection (JSR 299) Jan 13th, 2010 (Wednesday)
JPA 2.0 Jan 14th, 2010 (Thursday)
EJB 3.1 Jan 15th, 2010 (Friday)
JSF 2.0 Jan 18th, 2010 (Monday)
Java EE 6 End-to-end Examples Jan 19th, 2010 (Tuesday)
GlassFish v3 Jan 20th, 2010 (Wednesday)


Here is what you need to do before attending the hands-on lab session:

  1. Watch the corresponding video-taped sessions from Java EE 6 & GlassFish v3 Virtual Conference.
  2. Send an email to javaee6-codecamp+subscribe@googlegroups.com to register for the course. All discussions can be seen from the web-based forum.
  3. Download & Install JDK 6.0. (1.6.0_017+ for Operating Systems other than MacOS, 1.6.0_015+ for MacOS)
  4. Download & Install NetBeans 6.8 with GlassFish v3 ("Java" or "All" bundle)

If you finish the homework from each lab, yeah there is optional homework ;-), then you'll also be awarded a certificate of completion.

So strap your seat belts and get ready for the Java EE 6 hands-on journey next week!

Always check Java EE 6 Online Codecamp for latest updates.

Technorati: conf glassfish v3 javaee handson lab

About

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

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today