Using Domino Classes from J2EE EJBs
Now we'll look at using the Domino Java classes within an EJB. Access via an EJB may be appropriate if the Domino resources are accessed in the same way across different servlets or JSPs or the access is part of a larger transaction. The first question to address is what type of EJB to use. Out of the three EJB types now available—session, entity, or message-driven—we have only two practical choices: session or message-driven EJBs. Using Domino classes from entity EJBs would require us to provide Bean Managed Persistence using Domino databases, and would be difficult at best since the Domino database is document-oriented and not relational.
We first focus on accessing Domino from a session EJB. To avoid confusion ...
Get IBM WebSphere and Lotus Implementing Collaborative Solutions 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.