WELD-862 and Seam Cron
by Peter Royle
Hi,
I'm aiming to make a release of Seam Cron available within the next two weeks. Currently there is an outstanding issue (https://issues.jboss.org/browse/WELD-862) which prevents Cron from running properly with Weld. I have been able to carry on developing Cron by testing it against OpenWebBeans, but obviously if we are to release a Seam module it should work against Weld.
It would be nice if WELD-862 could be fixed as soon a possible so that all future versions will work well with Cron.
But more importantly I also probably need to do something special in Cron so that it will work with the version of Weld already deployed in JBoss AS and Glassfish, which will contain the bug. The workaround mentioned in the bug report is to deep copy the InvocationContext. I attempted to do this by serialising and unserialising the InvocationContext but couldn't due to UnserializableExceptions. Does anyone have any advice for me about how I might be able to work around this bug to support existing versions of Weld?
Cheers,
Pete R
4 days, 1 hour
Weld, Jetty and JPMS
by Alex Sviridov
Hi all
Let me first explain what I want to do. I want to have the following tree of JPMS layers:
Site 1 layer
/
WebServer layer - Site M layer
\
Site N layer
As we see WebServer layer has access to all site layers and every site
layer has access to WebServer layer. Any site layer can be added
and removed dynamically. Every site layer has one .war file and some .jar
files.
For every site I need two java ee technologies: servlets and cdi. So, for servlet container
I plan to use Jetty and for cdi container I want to use weld.
Could anyone answer the following questions:
1) can weld be used this way?
2) how should I use weld - should I create container for every layer or ...?
I would appreciate any help and ideas.
Best regards, Alex Sviridov
8 years