Domino R5 and Enterprise JavaBeans: A Caffeinated Combination
by Rose Kelleher by Jack Tang


from THE VIEW, November/December 1999, Volume 5, Issue 6



Domino developers have access to a wide range of enterprise integration tools, including DECS and JDBC for relational databases, Domino’s own servlet support, the new Enterprise Solution Builder -- and now Enterprise JavaBeans (EJBs). Enterprise JavaBeans are server-side objects, written in Java, that live in a special environment provided by an EJB server. This article answers the questions of what Enterprise JavaBeans are, why Domino developers might want to use EJBs, when they make good design sense -- and how to create and deploy them. Using a sample Web-based application (available for free download from THE VIEW’s website), the authors reveal some of the possibilities that open up when you integrate Domino R5 with WebSphere’s Enterprise JavaBeans environment.



Would you like to see the full version of this article?

If you are an electronic license holder to THE VIEW, please log in to view this article.

If you would like information about becoming an electronic license holder — and having 24/7 unrestricted access to all articles and content in THE VIEW Online Knowledgebase — click here to see the available subscription options.

Or call 1-781-751-8813 to speak directly with a subscription and licensing specialist about customized access for you and your team.



Free downloads:
Domino R5 and Enterprise JavaBeans: A Caffeinated Combination

Domino/EJB Example Files

These files accompany the article "Domino R5 and Enterprise Java Beans: ACaffeinated Combination." This article is about using Domino R5 with
WebSphere EJBs.

JavaAgent.exe
This Domino R5 Java agent uses an EJB to update a DB2 database. This agentis included in the workflow database, DMClubWorkflow.nsf. It processes credit applications that have been reviewed and either approved or denied.

DMClub.zip (88K zip/384K nsf)
This Domino R5 database acts as a Web shopping cart, using JavaScript and cookies to track users' selections. The order form points to a servlet,
but other than that, it's independent of the rest of the example files.

MusicClubServlet.exe
The aforementioned servlet, which processes order forms.

DMClub.exe
The SQL script to create the DB2 database.

DMClubWorkflow.zip
This Domino R5 database is based on the R4 Approval Cycle template, with some additions, most notably the EJB agent described above.

DMClubMisc.zip (213K)
Everything else: The source code and javadoc files for the EJBs and supporting classes, the properties file, and the jar files for the deployed
EJBs.

From the authors: "Feel free to use and modify these files for any purpose, provided you don't blame us if anything bad happens. We don't care if you
acknowledge us in your source code or anything like that. But please note that setting up WebSphere and deploying EJBs is kind of complicated, and we're not prepared to provide detailed instructions or technical support."



DMClub.exe