Introduction to Bean Building: A Stateless Session Bean
In the previous chapter, we used JDeveloper to create a container-managed persistent entity bean automatically for us. At that time, we merely used the bean as a sort of magic data access object and didn't examine it in detail. For bean types other than CMP, JDeveloper produces some common boilerplate code, but by itself, this code has no functionality and we'll need to add some code of our own in order to complete the bean.
To become familiar with the details of EJBs and the process of developing, packaging, and deploying them—and before moving on to the issues of persistence—we'll start with a simple Hello, world example, using a stateless session bean.
First we'll add a new project, HelloWorld, ...
Get Java™ Oracle® Database 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.