Understanding Enterprise JavaBeans
Enterprise JavaBeans is an architecture that allows you to perform transactional, component-based distributed computing. EJBs are commonly confused with JavaBeans. JavaBeans are software components that run on the client side and implement client-side GUI interfaces, whereas EJBs are software components that run in a server. EJBs can be one of two types:
Session beans— Used to implement session tasks. For example, a session bean can include methods that query the customers table.
Entity beans— Used to implement business entities. For example, an entity bean can represent a row in the customer table.
Note
Session beans can be used instead of stored procedures because they implement the same functionality and have ...
Get e-Commerce Applications Using Oracle8i and Java from Scratch 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.