cdi
Seam3/Weld - Could not find Entity Manager
I have a project (EJB 3.0, packaged as EAR) with a view (JSF 2.0) and persistence (JPA 2.0, Hibernate) layer. To avoid the lazy initialization support and other issues I tried to introduce a Seam Mana[详细]
2023-03-04 16:05 分类:问答seam-wicket with Jetty 6.1.26, Weld 1.1.1
I am trying seam-wicket with embedded Jetty 6.1.26, Weld 1.1.1, seam-wicket 3.0.0, Wicket 1.4.17 After I fixed seam-wicket bug which prevents BeanManager being found (JNDI does not work, needs to pul[详细]
2023-03-04 06:34 分类:问答Arquillian - Weld SE - getting NullPointerException
I am new to Arquillian and want to get some basic testing working (inject a bean and assert it does something).[详细]
2023-03-03 15:08 分类:问答How do I combine @Asynchronous and Weld/CDI Events and @Observes(during=TransactionPhase.AFTER_COMPLETION) in Glassfish 3.1
First of all let me state, that the following code example worked just fine in GF 3.0.1. The troubles started when we switched to GF 3.1.[详细]
2023-03-01 08:27 分类:问答Apache MyFaces CODI PageBean: "Argument bean must not be null"
I\'m currently experimenting a little with Apache MyFaces CODI. I managed to create a simple working Typesafe-Navigation using @Page and an action Method which returns a Class.[详细]
2023-03-01 04:43 分类:问答Inject String with qualifier in CDI
I\'m trying to do simple thing. Inject qualified String (or File) in CDI. So I have a qualifier: @Retention(RetentionPolicy.RUNTIME)[详细]
2023-02-27 03:32 分类:问答JSF beans instantion: Are only the beans referenced in the view instantiated?
I\'m guessing that if I have 6 requestscoped beans, only those referenced by the current view ( 开发者_运维百科for instance by using #{foo.bar}) are instantiated. Is that assumption correct? In that c[详细]
2023-02-23 01:14 分类:问答Weld 1.0.1-Final: Conversation Scope bean keeps recreated even after beginning conversation?
Im currently using : Apache tomcat 7 JBoss Weld servlet 1.0.1-Final empty beans.xml <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class> in the web.xml[详细]
2023-02-22 09:33 分类:问答Seam bijection and Weld
I\'m developing a JAVA EE 6 app. I\'m using CDI extensively, My question is, are @Inject and @Produces the same as @In and @Out for Seam? Are @In and @Out annotations still used now that we开发者_如何[详细]
2023-02-22 06:58 分类:问答Get Java EE 6 interceptors working (Weld on GlassFish 3.1)
I\'m working on a project where I want to use Interceptors to log usage of a ManagedBean. As I read in the specs and in many examples it should be possible with the current CDI implementations. The co[详细]
2023-02-22 02:19 分类:问答