cdi
Beans, beans, and more beans...what does what?
I\'ve recently been given a project to work on that involves writing a web application.I\'ve never done Java EE before.A lot of resources on the web are dated and I\'m having trouble figuring out what[详细]
2023-04-06 14:55 分类:问答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 分类:问答What do HardCoded annotation?
I want to know what do @HardCoded annotation. I don\'t found any documentation whe开发者_高级运维n I search in Google.[详细]
2023-04-05 08:40 分类:问答Are JSF 2.x @ViewScoped managed beans thread safe?
I\'ve been googling for a couple hours on this issue to no eval. WELD docs and the CDI spec are pretty clear regarding thread safety of the scopes provided.[详细]
2023-04-04 12:47 分类:问答Would (or should) CDI provide package qualifiers?
Studying Seam 3, I discovered that Seam Solder allows the @Named annotation to be applied to packages - in that case, all开发者_C百科 beans in this package will be automatically named, as if they were[详细]
2023-04-03 22:25 分类:问答Will Spring support CDI? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th[详细]
2023-04-01 11:12 分类:问答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 分类:问答Question about multi-threading and EntityManager
I have been developing my web-app using JPA 2.0 implementation EclipseLink 2.2.0.I finally got around to running multi-threaded code and I got this exception:[详细]
2023-03-31 15:48 分类:问答Accessing servlet context parameters from a CDI extension
I\'m trying to write a CDI extension that needs to access the context parameters defined in web.xml via <context-param>. I think there are two ways of doing this:[详细]
2023-03-31 11:18 分类:问答