Help

Weld Extensions is a portable library (licensed under the ASL 2) providing utilities and common functionality for CDI applications and libraries or frameworks based on CDI alike. We'll be using it as the base of Seam 3. It contains extensions to the core CDI programming model, typed logging (courtesy of JBoss Logging 3), managed resource loading and support for evaluating EL anywhere.

Weld Extensions also provides builders and utilities and Beans, getting hold of the BeanManager where CDI injection is unavailable and accessing JavaBean properties.

Finally, Weld Extensions has a number of CDI extensions to make configuration easier. Generic beans allow for groups of beans to be installed based on configurations, default beans allow you to automatically install a bean unless the user provides another, unwrapping producer methods allow you to manage the lifecycle of an object, and service handlers allow for automatically implemented beans.

This project wouldn't have been possible without Stuart Douglas, additionally thanks go to Shane Bryzak, Dan Allen and Nicklas Karlsson for their contributions.

The API in this release is considered stable (unless there are any critical issues) and there are no planned changes. Currently we are planning to tidy up some of the error handling for Beta2, and then move towards a Final release.

[Download] | [JIRA] | [Javadoc] [ Reference Guide] | [Release Notes] ]

10 comments:
 
12. Oct 2010, 21:54 CET | Link

Great job on getting this out Pete, et al. I know it's been a long time coming, but it was well worth the wait because these utilities are just awesome.

ReplyQuote
 
12. Oct 2010, 23:39 CET | Link
Adrian Mitev

Amazing features guys! Congratulations for the good work! I'm hardly waiting to see the whole Seam3 package.

 
13. Oct 2010, 17:21 CET | Link

Fantastic! This is really a major step forward in our vision for CDI. Thanks for all the hard work!

 
14. Oct 2010, 01:16 CET | Link
Arbi Sookazian

What about the typesafe JdbcTemplate? We don't always use ORM solutions (esp. for smaller projects)...

 
14. Oct 2010, 01:16 CET | Link
Arbi Sookazian

Sorry I forgot to mention:

yes! bring it on!

 
14. Oct 2010, 09:01 CET | Link
Arbi Sookazian wrote on Oct 13, 2010 19:16:
What about the typesafe JdbcTemplate? We don't always use ORM solutions (esp. for smaller projects)...

That would be included in Seam Persistence, if at all. Got code for us to look at?

 
14. Oct 2010, 21:52 CET | Link
Now when weld extensions beta is released we can expect seam3 (beta?) bundle soon, can't we?
 
15. Oct 2010, 13:42 CET | Link
Flávio Henrique

Does Weld Extensions has the hack for tomcat form authentication error: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped, since Mark Thomas won´t provide the fix that was requested?

Thanks

 
15. Oct 2010, 13:58 CET | Link
Flávio Henrique wrote on Oct 15, 2010 07:42:
Does Weld Extensions has the hack for tomcat form authentication error: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped, since Mark Thomas won´t provide the fix that was requested? Thanks

No, this fix would be in Weld, not Weld Extensions. As I said on the Tomcat issue tracker, please file an issue in WELD where we can also fix the issue.

 
19. Oct 2010, 23:20 CET | Link
Flávio Henrique

Pete, Mark Thomas made the fix for WELD-001303 in tomcat today. This will be present in TOMCAT 7.0.5. Thank you for clearing the problem to him.

Post Comment