News

RSS Feed

Weld Vert.x Next?

Contents What Is It Good For? Modules How Do I Use It In My Vert.x Webapp? 1. Project Configuration 2. Start CDI Container 3. Observe Events 4. Declare Routes 5. Enjoy and Celebrate Future and Plans Last year Weld team announced the weld-vertx project (see also Weld meets Vert.x and Update on weld-vertx articles). The goal was clear - bring the CDI programming model into the Vert.x ecosystem. Since then, several...

Read more »

Weld 2.4.4.Final

We have been busy chasing down some annoying little bugs and it’s high time you got the fruits of those efforts into your hands. Say hello to Weld 2.4.4.Final. Notable fixes and improvements: Weld Core Fixed bean discovery event ordering when processing producers (WELD-2393) Eliminated an NPE for a corner case with abstract decorator (WELD-2273) Corrected @Initialized(RequestScoped.class) event firing in @PostConstruct callbacks (WELD-2372) Fixed BeanManager...

Read more »

Tour around Weld 3

Contents Async Events and Notification Options Configurators API SE Bootstrap API On-demand Request Context Activation Observer Method Ordering Intercepting Produced Beans Trimmed Bean Archives This post briefly describes all the main CDI 2.0 features and elaborates on Weld-specific features we added on top of that. It is not intended as a deep-dive but rather to give you the overall idea of what is going on and what can the new release...

Read more »

Weld 3.0.0.Final - the first implementation of CDI 2.0!

I am very pleased to announce the release of Weld 3.0.0.Final - the first implementation of CDI 2.0! I would like to thank not only to everyone involved in this particular release but also to the Weld community as a whole and also to all active CDI EG members who invested a lot of energy into the specification process! [ source, java ] /** * TODO: Continue to deliver bugfixes and improvements */ public class WeldTeam extends...

Read more »

Weld 2.4.3.Final

Even as we get ever closer to CDI 2.0 final version, we shan’t forget about our stable 2.4 branch. Ladies and gentlemen, here comes the next-in-line 2.4 release - Weld 2.4.3.Final! Notable fixes and improvements: Weld now shares proxy classes for built-in beans of the same type (WELD-2344) Fixed usage of Jandex on Tomcat when using unpackWars=false (WELD-2357) Weld now supports wider...

Read more »

Weld 3.0.0.CR2

I am very pleased to announce the release of Weld 3.0.0.CR2 (CDI 2.0-PFD). The intention is to provide the latest updates so that early adopters and reviewers can work with up-to-date reference implementation during the JCP review process. Notable fixes and improvements: InterceptionFactory handles interface correctly (WELD-2335) Enable to obtain InjectionPoint metadata from within BeanConfigurator#produceWith() (WELD-2333) ObserverMethodConfigurator.beanClass() should be preset to the extension class...

Read more »

Weld 2.4.2.Final

As you may know, CDI 2 (JSR 365) is in Public Review phase. That’s great news for early adopters. But for now, I am very pleased to announce another production-ready version of Weld 2.4 (CDI 1.2). See also the release details. Thanks to everyone involved in this release! Warning There is a regression in Weld 2.4.2.Final. The problem only occurs if a Security Manager is used. However...

Read more »

Weld Tip 4 - Testing CDI/Weld apps

Contents Using Weld in JUnit tests Arquillian as the chosen framework for testing Java EE application server Servlet environment Java SE environment Arquillian Weld Embedded container In this follow-up article of our Weld Tips series we are going to focus on testing of CDI/Weld applications. Let’s discover options for unit testing in the first part and then continue with integration testing. To set things straight - by integration testing we mean testing...

Read more »

Weld 3.0.0.CR1

I am very pleased to announce the release of Weld 3.0.0.CR1 (aligned with CDI 2.0-PFD). See also the release details. Thanks to everyone involved in this release! This version of Weld will be part of the JSR 365 Approval Ballot (watch CDI spec website for news). The Beta1 version of Weld 3 turned out to be sufficiently stable and so the first release candidate is mostly dedicated to cleanup and...

Read more »

Weld 3.0.0.Beta1

I am very pleased to announce the first Beta version of Weld 3.0.0 (CDI 2.0). See also the release details. Thanks to everyone involved in this release! This is an important milestone. CDI 2.0 is now considered "feature complete" and so the next Weld 3 versions should be mostly dedicated to cleanup and optimization. The next version will be Weld 3.0.0.CR1 (ETA in mid January). Finally, we would...

Read more »