Red Hat

In Relation To Weld

In Relation To Weld

Weld with Jetty and Maven tutorial

Posted by    |       |    Tagged as CDI Weld

Steven Boscarine has written a nice short tutorial on getting up and running with Weld and JSF on Jetty, using Maven. Note that there's a bit more boilerplate here than there would be in a Java EE environment, since integration of Weld in Jetty requires explicit configuration. Nevertheless, I think Steven does a good job of demonstrating that it's easy to get up and running with this stuff.

UPDATE: Steven has extended the tutorial to cover deployment to Tomcat.

Weld 1.0.0.CR1 available!

Posted by    |       |    Tagged as CDI Seam Weld

Hot on the heels of the renaming of the JSR-299: Contexts and Dependency Injection for Java EE, Weld, I'm pleased to announce the 1.0.0.CR1 release. This is a major milestone; for the project and for Java EE 6, as it represents a feature complete implementation of the JSR-299 Proposed Final Draft 2 specification; the specification, implementation and TCK will be submitted to the JCP for the Final Draft ballot.

You can find some quick download links below or you can pull the artifacts from the Maven central repository.

The reference implementation is used in GlassFish V3 and the upcoming JBoss AS 5.2.0.Beta1 release (watch Jason's blog for details!). Our implementation also adds support for Servlet containers such as Tomcat and Jetty. Furthermore you could choose to use Wicket as your view layer, or perhaps Swing via the Java SE support. If you are using an OSGi container, there's a bundle for that too! If you are getting started, there are a few examples in the distribution to guide you. If you are looking for help, try our forums, or perhaps join us on IRC.

Looking ahead, we'll be releasing a second release candidate in early November, so please let us know about any bugs you find! If you are interested in contributing to Weld, check out the development guidelines. Being an open source contributor can really expand your horizons - plus you get to meet some great people;-)

I want to take this opportunity to thank the numerous people who have helped out with the Web Beans/Weld project over the last year. In no particular order we have: David Allen, Dan Allen (they swear they are no relation!), Nicklas Karlsson, Gavin King, Ales Justin, Andrew Rubinger, Ken Saks, Roger Kitain, Shelly McGowan, Kabir Kahn, Carlo de Wolf, Takeshi Kondo, Shane Bryzak, Jozef Hartinger, Ondrej Skutka, Karel Pwiko, Marius Bogoevici, Sahoo, Norman Richards, Pete Royle, Clint Popetz, Daniel Roth and Rodney Russ.

You'll notice one omission from this release is the reference documentation -- so much has changed recently (support for JSR-330, the rename of both the specification and reference implementation, the metamodel API), that I decided to remove this from this distribution. The first target for the docs will likely be the getting started guide - once we have that up to date, we'll make sure to publish a snapshot!

[Weld Download] [TCK Download] | [Weld JIRA] [TCK JIRA] | [JSR-299 Javadoc] [CDI TCK Reference Guide] | [Weld Release Notes] [TCK Release Notes]

back to top