This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Please do not post the same question more than once.
You would do well to look over our FAQ, HowToAskQuestionsOnJavaRanch. If I had not read your previous post, I would not know what you wanted from us, just posting a bunch of code.