EJB – Packaging Applications
Requirement of Packaging applications using EJB 3.0 are similar to that of J2EE platform. EJB components are packaged into modules as jar files and are packaged into application enterprise archive…
Requirement of Packaging applications using EJB 3.0 are similar to that of J2EE platform. EJB components are packaged into modules as jar files and are packaged into application enterprise archive…
Inthis guide we will discuss about Web Services of EJB. EJB 3.0 provides an option to expose session EJB as a webservice. @WebService annotation is used to mark a class…
In this guide we will discuss about Exception Handling of EJB. EJBs are a part of enterprise applications which are normally based on distributed environments. So, apart from the normal…
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…