Java Reference
In-Depth Information
Implementing the Business
Tier with Session Beans
Most enterprise applications have a number of common requirements such as
transactions, security, scalability, and so forth. Enterprise JavaBeans ( EJBs ) allow
application developers to focus on implementing business logic, while not having to
worry about implementing these requirements. There are two types of EJBs, Session
Beans and Message-Driven Beans. In this chapter we will be discussing Session
Beans, this type of EJB greatly simplify server side business logic implementation.
In the next chapter we will discuss Message-Driven Beans, which allow us to easily
implement messaging functionality in our applications.
Previous versions of J2EE included Entity Beans as well, as of Java EE 5,
Entity Beans have been deprecated in favor of the Java Persistence API.
The following topics will be covered in this chapter:
• Introduction to Session Beans
• Creating a Session Bean with NetBeans
• EJB transaction management
• Implementing aspect oriented programming with interceptors
• EJB timer service
• Generating Session Beans from JPA entities
Search WWH ::

Custom Search