EJB – Query Language
EJB Query Language is quite handy to write custom queries without worrying about underlying database details. It is quite similar to HQL, hibernate query language and is often referred by the…
EJB Query Language is quite handy to write custom queries without worrying about underlying database details. It is quite similar to HQL, hibernate query language and is often referred by the…
In EJB 3.0, persistence mechanism is used to access the database in which the container manages the database related operations. Developers can access database using JDBC API call directly in…
EJB 3.0 provides option to define database Entity relationships/mappings like one-to-one, one-to-many, many-to-one, and many-to-many relationships. Following are the relevant annotations − One-to-One − Objects have one-to-one relationship. For example, a…
Security is a major concern of any enterprise level application. It includes identification of user(s) or system accessing the application. Based on identification, it allows or denies the access to…
In this guide we will discuss about Transactions of EJB A transaction is a single unit of work items, which follows the ACID properties. ACID stands for Atomic, Consistent, Isolated,…
In this guide we will discuss about Blobs/Clobs of EJB. EJB 3.0 provides support for Blob and Clob types using @Lob annotation. Following java types can be mapped using @Lob…
In this guide we will discuss about Embeddable Objects of EJB. EJB 3.0 provides option to embed JAVA POJO (Plain Old Java Object) into an entity bean and allows to…
In this guide we will discuss about Interceptors EJB. EJB 3.0 provides specification to intercept business methods calls using methods annotated with @AroundInvoke annotation. An interceptor method is called by…
In this guide we will discuss about Dependency Injection of EJB. EJB 3.0 specification provides annotations, which can be applied on fields or setter methods to inject dependencies. EJB Container…
In this guide we will discuss about Timer Service of EJB. Timer Service is a mechanism by which scheduled application can be build. For example, salary slip generation on the…