Defining EJB 3.1 Views (Local, Remote, No-Interface)
This post will talk about possible ways of defining EJB views using annotations (I’ll just mention about using EJB Deployment Descriptor at the end.) I’ll focus on the most current EJB 3.1 views...
View ArticleEJB Inheritance is Different From Java Inheritance
Despite the fact that EJB inheritance sometimes uses Java inheritance — they’re not always the same. Just as you could read in my previous post, EJB doesn’t have to implement any interface to expose a...
View ArticleTypes of Entity Managers: Application-managed EntityManager
JPA specification defines few types of EntityManagers / Persistence Contexts. We can have: extended and transactional-scoped EntityManagers, container-managed or application-managed EntityManagers. JTA...
View ArticleJPA and CMT – Why Catching Persistence Exception is Not Enough?
Being in EJB and JPA world using CMT (Container Managed Transactions) is very comfortable. Just define few annotations to demarcate transaction boundary (or use the defaults) and that’s it – no...
View ArticleUsing JGroups Directly From JBoss AS 7 Component
JGroups is Bela Ban‘s piece of software for reliable message exchange that is highly configurable and can use either TCP or UDP as a transport protocol. Basically – you run the JGroups on number of...
View ArticleJava EE 7: JMS 2.0 With Glassfish v4
Java EE 7 has been recently accepted by the Executive Committee. This means that soon we should have Java EE 7 application servers available on the market. One of the specifications that constitutes...
View ArticleAsynchronous CDI Events
Few days ago, during our regular code review, one of my colleagues raised a question what would happen — and if it’s even possible — when a CDI Observer (so a method with parameter annotated @Observes)...
View Article
More Pages to Explore .....