jboss-weld
CDI SessionScoped Bean instance remains unchanged when login with different user
I\'ve been looking for the workaround of this problem for rather plenty of time and no result, so I ask question here.[详细]
2023-04-13 03:27 分类:问答How do I create a jetty 6 and jetty 7 compatible jetty-web.xml file in the same war file?
In Jetty 6 I need to create a WEB-INF/jetty-web.xml file which contains this: <Configure id=\"webAppCtx\" class=\"org.mortbay.jetty.webapp.WebAppContext\">[详细]
2023-04-10 06:16 分类:问答Providing EntityManager by an @ConversationScoped method
I tried to run the simple JEE6 application generated by maven archetype groupId: org.fluttercode.knappsack , artifactID: jee6-sandbox-archetype in JBoss7.[详细]
2023-04-10 06:10 分类:问答Weld and Java SE
I\'m new to Weld and have been trying to get my head around it\'s concepts. I have a little experience with Spring and nothing with Guice, so I\'m pretty much a novice with the DI frameworks.[详细]
2023-04-07 14:02 分类:问答Weld CDI: how to make one bean class satisfy any of multiple qualifiers?
From reading the Weld docs I don\'t think this can be done, but I could really do with it, so thought I\'d ask - if there\'s not a way with CDI, maybe there\'s a pattern workaround...[详细]
2023-04-06 11:54 分类:问答Referencing CDI producer method result in h:selectOneMenu
I have a named session scoped bean CustomerRegistration which has a named producer method getNewCustomer which returns a Customer object. There is also CustomerListProducer class which produces all cu[详细]
2023-04-05 18:27 分类:问答WELD-001318 Cannot resolve an ambiguous dependency
I am getting an error when deploying my application as follows.. Caused by: org.jboss.weld.exceptions.AmbiguousResolutionException: WELD-001318 Cannot resolve an ambiguous dependency between [[详细]
2023-04-01 10:00 分类:问答"Exception while loading the app" without a stack trace
I\'m migrati开发者_StackOverflow社区ng my app from GlassFish 3.0.1 to GlassFish 3.1.1. Deployment fails, with the following error messages:[详细]
2023-03-30 15:18 分类:问答CDI Injection Outside Filters and Servlets in a Servlet 3.0 Container
I finally decided to have a look at Weld in Tomcat. When I deploy my app I see in the log: \"Tomcat 7 detected, CDI injection will be available in Servlets and Filters\"[详细]
2023-03-29 18:19 分类:问答Where can I place eligible candidates for CDI in a Glassfish v3 deployment?
I have code in one jar (a.jar) which contains an @Inject X x. I want to satisfy the injection with an implementation in another jar (b.jar, being a valid bean archive etc.).[详细]
2023-03-28 14:48 分类:问答