Summary
This article described EJBs and answered the following questions:
-
What is an entity bean?
-
What is a session bean?
-
What is the difference between bean managed persistence (CMP) and container managed persistence (CMP)?
-
What is the difference between stateless session beans and stateful session beans?
-
What are the components that make up an entity bean?
-
What is a deployment descriptor?
-
How do I compile an entity bean?
-
How do I deploy an entity bean?
-
How do I use an entity bean?
There are still many questions that need to be answered, and I'll attempt to provide these answers in subsequent articles. But, for now, I wanted you to get your feet wet and get a little experience actually developing your first entity bean.