I tried to use CDI for my struts action running on glassfish. But java dependency injection does not work for it. It works for JSF but not struts.
I have many EJBs with my business methods. These methods use @RolesAllowed annotation to check if user can execute this method.
I\'m learning Java EE 6. I\'ve seen how much progress it has achieved in this release of the umbrella specification. EJBs 3.1 are far easier and more lightweight than previous versions, and CDI is ama
I\'m developing a Java EE 6 application deployed on glassfish, I keep reading tutorials about how to send emails but they seem either outdated or too complicated. I was hoping that may be in this spec
I\'m trying to force JPA/Hibernate to generate and use only lowercase tablenames. I\'ve implemented a NamingStrategy like this:
I\'ve been working in Glassfish 3, JPA and Java EE 6.In a web container you can just inject the Entity Manager into an EJB and let that handle your transactions, rollbacks, etc.What do I do in a deskt
One of the beauties with Java EE 6 is the new dependency injection framework - CDI with the Weld reference implementation - which has prompted us to start migrating internally to JSR-330 in an impleme
I am getting a LIE when using the JAX-WS @Path and the @Stateless (or @RequestScoped) annotation. The code:
I have got an EAR with two plain libraries. One of them being scala-library. If I deploy the EAR with Netbeans it works as expected. While this is OK for development the final produc开发者_Go百科t sho
I am a beginner in Java EE 6 and now trying to learn Java EE 6 with help of a book \'Java EE 6 novice to professional\'. It is using maven to build a project, but when I tried to compile the downloade