JUGging along in Princeton

Yesterday, our Princeton JUG has celebrated the first day of Spring with the presentation on Spring framework. The presentation was well received, and most importantly, the atmosphere in the meeting was very friendly and productive. We started with pizza provided by our host and sponsor (Infragistics). Then, I spent 10 min talking about recent and upcoming Java events followed by book raffle. I had 3 books to give away and to make the process simple, I wrote a random number generator to pick a winner for the sign up sheet. Here “s this beauty:

// Generate a random number from 0 to upperLimit entered from the command line

// The upperLimit is the number of

import java.util.Random;

public class RandomNumberGenerator {

public static void main(String[] args) {

int upperLimit = Integer.parseInt(args[0]);

System.out.println( “The winning number is “+

(new Random()).nextInt(upperLimit));



One of the books that I gave away was Pro Spring by Apress.

The main talk lasted for an hour and a half and was prepared by members of our JUG. This is an important aspect of any JUG movement: give people a chance to research and present a topic that “s interesting for the group. After this demo seven people decided to create a separate mailing list to discuss and learn the Spring framework.

The other positive thing is that our JUG helps people finding jobs. We had a vote if posting job offers should be allowed in our mailing list, and 95% of voters said “Yes! rdquo;. I “m getting lots of requests from recruiters, and post the most interesting and real ones in our mailing list. The first member of Princeton JUG is starting a new and interesting job on Monday.

The bottom line is: JUG rocks! Do you have one in your town yet?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s