Prior to last year's JavaOne, I was in contact with Ryan Cuprak, president of the Connecticut Java Users Group (USA). The plan was that we'd get together at some point during JavaOne and chat. As it turned out, once JavaOne started it quickly became a whirlwind for me (and for Ryan, who presented at least 4 sessions at the conference). I was on the way to the airport on the last day of the conference, when my phone rang. It was Ryan: he was available for our chat! Not only did I not get to chat with Ryan at JavaOne (aside from the brief phone call), but I also missed all of his sessions. So, when I found out that Ryan would be re-presenting one of his JavaOne sessions at the March meeting of CTJUG, I decided to attend. The session Ryan presented was "Patterns and Best Practices for CDI" (which is now available on Parleys). At JavaOne, the session was co-presented with Reza Rahman, Java EE / EJB / JMS JCP expert and Resin appserver developer. Connecticut has no cities that can be called a metropolis. The capital, Hartford, has about 100,000 residents. So, I didn't expect hundreds of people to show up for the meeting. In fact, the attendance at this particular CTJUG meeting was just over a dozen. Most of the developers who attended work in the insurance industry (which is a major part of Connecticut's economy). Some of the attendees said they currently are not doing any Java work -- but they still like to attend CTJUG meetings! Three people (including me and my wife) were attending a CTJUG meeting for the first time. For me, Ryan's presentation was very informative, since I haven't worked with CDI (Contexts and Dependency Injection, JSR 299). Ryan covered the history of technologies that eventually led to its formulation, then went into detail on topics including Annotations (versus XML configuration), qualifiers, naming, scoping, stereotypes, interceptors, decorators, dependency resource injection, CDI integration, and extensions. Now, I'm not ready to call myself an expert on CDI after a one-hour presentation. But, I know a lot more about the genesis and utility of CDI than I did before. It seems like it can be applied to considerably shorten the Java EE development cycle. I was surprised to learn that CDI can also be used in Swing desktop applications. Similarly, I would not have guessed that mixing CDI and JPA can produce complications (since both technologies manage their own lifecycles -- Ryan says this problem can be bridged by CDI producers). Ryan cites the Arquillian unit testing platform as being the most important CDI extension. He notes that although Arquillian is a JBoss community project, it also works with GlassFish. If you'd like all the details from Ryan Cuprak's and Reza Rahman's JavaOne 2011 Patterns and Best Practices for CDI presentation, watch it on Parleys! Poll Our current Java.net poll asks How critical is it for JSR-310 (new Date and Time API) to be implemented in Java 8?. Voting ends this Friday, March 16. Java News Here are the stories we've recently featured in our Java news section: Tori Wieldt announces JavaOne India CFP Ends March 15; Dustin Marx asks How Badly Do We Want a New Java Date/Time API?; Geertjan Wielenga discusses Loosely Coupled Open Action; Kai Wähner explains Why I will use Java EE (JEE, and not J2EE) instead of Spring in new Enterprise Java Projects in 2012; Jasper Potts presents Canned Animations; Heather Van Cura announces JSR Updates-JSR 357, 356, 355, 354, 331; Michael Heinrichs answers Most often asked questions about JavaFX; Geertjan Wielenga demonstrates how to Plug A Custom BasicTabbedPaneUI into the NetBeans Platform; Barry Cranford reports Caspar Macrae recently won a trip to Jfokus 2012 through the LJC. Here is his experience..; Spotlights Our latest Java.net Spotlight is Geertjan Wielenga's Java Developer Conference in Cairo, Egypt: #JDC2012 (http://jdc2012.egjug.org), the biggest and most important meeting place for software developers in Middle East and Africa, here in Cairo is turning out to be a cool place to try out my Arabic. Part of the presentations are in English, so I've attended a keynote by Oracle's Mike Keith and Vaadin's Joonas so far... Previously, we featured Janice J. Heiss' Java Champion Jonas Boner Explains the Akka Platform: This series of interviews spotlights Java Champions, individuals who have received special recognition from Java developers across industry, academia, Java User Groups (JUGs), and the larger community. Jonas Boner is a husband, dad, programmer, teacher, speaker, author and Java Champion... Subscriptions and Archives: You can subscribe to this blog using the java.net Editor's Blog Feed. You can also subscribe to the Java Today RSS feed and the java.net blogs feed. You can find historical archives of what has appeared the front page of Java.net in the java.net home page archive. -- Kevin Farnham Twitter: @kevin_farnham AttachmentSize RyanCuprakPres.png17.96 KB