Enterprise Java Beans
The previous chapter showed how to implement persistent objects using JPA and how to query them with JPQL. The persistence layer is developed using objects that encapsulate and map their attributes to a relational database, thanks to annotations. The idea is to keep the entities as transparent as possible and not intermingle them with business logic. Entities can have methods to validate their attributes, but they are not made to represent complex tasks, which often require an interaction with other components (other persistent objects, external services, etc.).
KeywordsBusiness Logic Remote Method Invocation Java Messaging Service Remote Interface Enterprise Java Bean
Unable to display preview. Download preview PDF.