Home > Articles > Programming > Java

Creating a Session Bean

  • Print
  • + Share This
What does a session bean do? Mark Wutka addresses this and more in this sample chapter from Special Edition Using Java 2, Enterprise Edition. Learn about a "Hello World" session bean, how to create a stateless session bean as well as a session bean that does some work, and how to troubleshoot.
This sample chapter is excerpted from Special Edition Using Java 2, Enterprise Edition, by Mark Wutka.
This chapter is from the book

What Does a Session Bean Do?

A session bean represents a conversation between a client application and an EJB container. Session beans typically implement business logic and often interact with a number of entity beans to perform an operation. A session bean isn't required to use entity beans, however. It communicates directly with the database if it needs to.

  • + Share This
  • 🔖 Save To Your Account