News
Weld 2.4.7.Final
Weld 2.4.7.Final is now available. It includes multiple important bugfixes, many of them focused around proxy generation and/or invocation. Note Weld 2.4 now enters maintenance mode - there will be no further active development on Weld 2. We will be channeling our efforts into Weld 3 instead. Notable fixes and improvements: Weld Core: Proxy-related issues: Fixed possible NPE with multiple deployments one of which uses relaxed construction configuration (WELD-2448...
Read more »Weld 3.0.3.Final
How do you cook Weld 3.0.3.Final? You start with a speck of bug fixes add some proxy generation improvements top it off with adjustments for integrators. Notable fixes and improvements: Weld Core Fixed invocation of private observer method in some very specific cases (WELD-2443) Container agnostic proxy serialization (WELD-2447) Improve shared proxy class instantiation for multiple deployments with relaxed construction enabled (WELD-2448) beans_1_1.xsd is now known to Weld...
Read more »Weld meets JUnit 5
Contents GAV Coordinates First Steps Dude, Where Is My Container? Help, I Am Stuck With JUnit 4 What If I Would Like To… In this article I want to bring weld-junit into light. You might have heard about or, better still, used our extension for JUnit 4 which has been around for some time now. But after getting ourselves acquainted with JUnit 5, we decided we should create another one for JUnit...
Read more »Weld 2.4.6.Final
Time has come for another round of Weld 2.4 bugfix release. But that’s not all - this time there is also new API to go along with this release - Weld API 2.4.SP2. Among other things you can now obtain interceptor binding from javax.interceptor.InvocationContext, use enriched version of javax.enterprise.event.Event or select javax.enterprise.inject.Instance based on java.lang.reflect.Type. Notable fixes and improvements: Weld Core...
Read more »Weld 3.0.2.Final
Weld 3.0.2.Final is out and targetting WildFly 11! Ever wished you could select events and instances in a truly generic way using just java.lang.reflect.Type? Looking for easier way to configure SE container? We have a bunch of bugfixes and improvements for you, so read on… Notable fixes and improvements: Weld Core Improved subclass generation mechanism for generic interceptors (WELD-2414) Fixed OSGi bundling, we missed out one...
Read more »Weld 2.4.5.Final
It’s about time we delivered another regular bugfix release for Weld 2. And while the list of fixes isn’t exhausting, some of them are quite crucial. Notable fixes and improvements: Weld Core: Revise Java 8 default methods plus proxies/sublasing behaviour (WELD-2407 and WELD-2405) All POMs in Weld core project should now have correct MIME types; this corrects issues with Nexus 3 (WELD-2417) Proxies for signed packages should...
Read more »Weld 3.0.1.Final
Weld 3.0.1.Final is out and it brings some bugfixes as well as new version of Weld API - 3.0.SP1. Among the new things you can find sweet stuff such as an expansion to CDI 2 BeanConfigurator API or the ability to detect that injected object is Weld proxy. Wait, not only detect - you can also use it do get Metadata or even retrieve the actual contextual instance hidden beneath. So let...
Read more »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 »