Chapter 3. Beginning Java EE 6 – EJBs

In the previous chapter, we learned some basics about how to set up and deploy a HelloWorld application on JBoss AS 7. In this chapter, we will go a little deeper and learn how to create, deploy, and assemble Enterprise JavaBeans, which are at the heart of most Enterprise applications.

In greater detail, here is what you will learn in this chapter:

  • What the new EJB 3.1 features introduced by the Java EE 6 specification are
  • How to develop a singleton EJB
  • How to create stateless and stateful Enterprise JavaBeans
  • How to add schedulers and timers to your application
  • How to make use of asynchronous APIs in an EJB project

EJB 3.1 – new features

Based on the Enterprise JavaBeans (EJB) specification, Enterprise JavaBeans ...

Get JBoss AS 7 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.