I am leading the CDI 1.1 specification, and work on JBoss Developer Framework, a set of tutorials and examples for all JBoss users. Previously, I've worked on Infinispan and I led the Seam and Weld projects, and am a founder of the Arquillian project. I've worked on a number of specifications including JSF 2.0, AtInject and Java EE 7. I am a regular speaker at JUGs and conferences such as JavaOne, Devoxx, JAX, JavaBlend, JSFDays, JBoss World, Red Hat Developer Day and JUDCon. I am currently employed by Red Hat Inc. working on JBoss open source projects. Before working for Red Hat, I used and contributed to Seam whilst working at a UK based staffing agency as IT Development Manager.
The CDI support is also a partial implementation of JSR-107 - the temporary caching API for Java that has recently reactivated and published a first draft for review . Greg's blog has more on using JSR-107.
If so, join me in a webinar next Wednesday where we'll explore you build elastic applications using CDI and Java EE 6. There will be a super cool demo :-DCoordinates:
- Introducing Contexts and Dependency Injection 1.1 - technical session in which I'll overview some of the changes coming in CDI 1.1
- CDI Today and Tomorrow - panel session on CDI with David Blevins, Arun Gupta, Sivakumar Thyagarajan and Reza Rahman
- Making Java EE Cloud-Friendly: JSR 347, Data Grids for the Java Platform - BOF with Manik Surtani
- Java EE in the Cloud - a technical session in which I'll show you how to use Java EE in the cloud, using Red Hat's OpenShift Platform-as-a-Service
- Using Infinispan as a remote data store - a technical session with Galder Zamarreño in which we'll show you how to use Infinispan as a remote data store on Red Hat's OpenShift Platform-as-a-Service, with a client app written using CDI.
JUDCon is the official JBoss Users and Developers Conference, and is great value at £100 for a day - so if you near London, I recommend registering today!Devoxx
- Real-world deep-dive into Infinispan - the open source data grid platform - university talk with Manik Surtani and Mircea Markus in which we'll deep dive into Infinispan
- The Java EE BOF series - 3 hours of discussions on Java EE, CDI and Seam with people such as Emmanuel, Dan, Alexis Moussine-Pouchkine's and Nigel Deakin - and I know more will be confirmed later!
- OpenShift is the first PaaS to offer Java EE 6 support
- OpenShift Express is 100% free, and allows you to run as many non-clustered applications you want on JBoss AS 7
- OpenShift Express offers neat management of your apps via Git, including a source compilation mode
- OpenShift Flex gives you much more freedom, including the ability to run clustered applications, and offers monitoring and automatic scaling.
- OpenShift Flex is free, but you need to provide the EC2 instances. However Red Hat is offering a free 1 month/30 hour trial, so there is no reason not to check it out right now
- JBoss AS 7 implements the Java EE 6 web profile, with all the benefits of the excellent CDI-based programming model it offers. It's very snappy to use, so deploying apps is quick
This week we've been pushing out material like crazy. If you want to give Java EE 6 in the cloud a try check out these resources:
- Getting Started with OpenShift Express [Windows | Fedora | Mac ]
- Using Java EE 6 on OpenShfit Express
- Mobile to Cloud in 4 minutes using OpenShift Express
- Use Seam in OpenShift Express [ Blog | Screencast ]
- JBoss on OpenShift Overview
- JBoss AS 7 on OpenShift Express
- Using Infinispan with CDI on OpenShift Express
To find out more, check out jboss.org.
Quick maven tip for you. If you want to generate a META-INF/LICNSE.txt and META-INF/DEPENDENCIES.txt for your jars (very useful for libraries so users can quickly build an understanding of any licensing implications), here's how.
Create a licensing bundle, a bit like this one. The magic happens in src/main/resources/META-INFDEPENDENCIES.txt.vm; we explore the transitive dependencies of the project, and for each one, print out the project name and it's license.
You can then use the licensing bundle in your parent pom, with a snippet a bit like this:
<plugin> <artifactId>maven-remote-resources-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>attach-license</id> <goals> <goal>process</goal> </goals> <inherited>true</inherited> <configuration> <resourceBundles> <resourceBundle>org.infinispan:infinispan-license:1</resourceBundle> </resourceBundles> </configuration> </execution> </executions> </plugin>
First, watch Jason introduce you to what's new and cool in JBoss AS 7, then, you can watch Dan and myself show you how to write apps for JBoss AS 7. Next up was Brian, showing you the JBoss AS 7 domain model and how to manage your subsystems, finally we have Paul and Bela showing you how to cluster JBoss AS 7.
This was a great series of tutorials, full of live demos, so check it out.
If you are looking to get started with JBoss AS 7, you might want to take a look at the 5 ways to deploy an application to JBoss AS 7 screencast I recorded yesterday.
The quickstarts will be used as the basis for the JBoss AS 7 webinars we are hosting today and tomorrow. There is still time to join us - check out jboss.org for more, or use this quick reference:
|June 29, 2011||16:00 UTC, 17:00 London, 18:00 Berlin, 12:00 (Noon) US Eastern, 09:00 US Western||Register|
|June 30, 2011||07:00 UTC, 08:00 London, 09:00 Berlin, 12:30 Mumbai, 15:00 Bejing, 17:00 Sydney||Register|
I just got back from the excellent Paris JUG where I presented CDI to a packed room.
We started by covering the basics - the Java EE 6 platform, before doing a deep dive (using the Weld Pastecode example) into the various features CDI offers and when you might want to use them. We also took a look at EJBs and how you can use them to supplement the programming model offered by CDI. The slides I used are available .
After the break, we then took a look writing CDI extensions. We took a look at the way you can observe the events CDI fires when the container starts, and how you can use these to modify the deployment. We then used a few examples from the cdi-extensions-showcase to show how simple yet powerful the extensions SPI is. The slides I used are available .
You can hardly fail to have noticed that JBoss AS 7 is coming any day now - everyone at JBoss is pretty excited by this!
We want everyone to check it out, as we think the improvements it offers (2.5s boot, small memory footprint, super easy config and more) will have you dancing in the streets. To get you going, we've arranged a special series of webinars covering AS7 for the end of June. Jason Greene will give you an overview of AS7, Dan Allen and myself will show you how to write and test Java EE6 apps for AS7, Brian Stansberry will demonstrate exactly how easy it is to configure a JBoss AS 7 domain and Paul Ferraro and Bela Ban will show you how to cluster JBoss AS 7.
Get your registration done today!
Next week, I'll be at the Paris JUG on the evening of Tuesday 14th June. I'll stawt with a CDI overview, and then move on to discuss CDI extensions.
Duchess (a global network for women in Java technology) posted an interview with me in preparation for the Paris JUG (the interview is in French).
See you in Paris!