Scenario: 1) create maven ear project, create war project inside 2) add beans.xml to war project`s WEB-INF/
I am migrating my Seam 2 powered application to CDI and one of the things that is critical for me to retain is the error handling.In Seam 2, I simply replaced the default exception handler with my own
I would like to have a central weld container that holds all my services and so on. This container would however be wrapped by a second con开发者_C百科tainer which contains local settings. The goal is
I was reading a Wikipedia article about Java EE application servers here: http://en.wikipedia.org/wiki/Java_Platform,_Enterprise_Edition#Java_EE_5_certified
How can I use JSR-299 CDI to inject (not annotated) beans fro开发者_如何学JAVAm external libraries?
I\'ve got an app that is trying to use @EJB annotation to inject remote references to EJBs in my ejb.jar file.I\'m getting inconsistent results.In one case, I have a listener in web.xml that gets call
I am trying to replace standard logger initialization by some injection 1-st. I was trying to use weld weld loggingin stateless bean/webservices
I\'m using the new JSF2 <h:link> tag, with a nested <f:param> to link to a page using a get request.However, the conversation id (cid) is propagated via the query parambeters of the link t
Since EJB 3 we have embeddable EJB containers, JPA implementations can be used without an application server, there is Weld for contexts and dependency injection and so on. Since on many systems is on
I came from the Spring camp , I don\'t want to use Spring , and am migrating to JavaEE6 , But I have problem testing DAO + JPA , here is my simplified sample :