Ejb3 Basics: Deploying Message Driven Beans

Farewell to lazy auto queue generation in JBoss 5 MDB’s were never so easy to deploy and manage when ejb3 first came out. In Jboss 4, all you have to do was annotate a class with @MessageDriven, sprinkle some meta data here and there, stick it in the oven and wham! Instant “I cant believe [...]

Posted on February 2, 2010 at 12:37 am by Ant · Permalink · Leave a comment
In: Java, Jboss · Tagged with: , , , , , ,

Ejb3 basics: Entities

Entity Beans? Better than 2.1, I promise. Ejb3 Entity beans are a type of enterprise java bean construct used to model data used by the ejb framework. The basic idea is to manipulate simple java objects, which represent in concrete terms your database data, and then have the framework handle as much of the plumbing [...]

Posted on January 29, 2010 at 12:47 am by Ant · Permalink · One Comment
In: Java · Tagged with: , ,

Ejb3 Basics: Bean Managed Transactions

I’m Lazy, why would I want to do my own transaction management? While its true that the ejb3 container is usually pretty smart about persisting and handling transactions, its also not as smart as a real human being and probably isn’t able to handle complex database transactions and rollbacks. This is where bean managed transactions [...]

Posted on January 14, 2010 at 4:50 pm by Ant · Permalink · 2 Comments
In: Java, Jboss · Tagged with: , , , , ,