EJBs (Session and Entity EJBs) consist of 4 and 5 parts respectively :
1. A remote interface : A client interacts with it
2. A home interface : used for creating objects and for declaring business methods
3. A bean object : An object, which actually performs business logic and EJB-specific operations
4. A deployment descriptor : An XML file containing all information required for maintaining the EJB
or a set of deployment descriptors (if you are using some container-specific features).
5. A Primary Key class : only Entity bean specific.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.