Home > Domino Tips > Domino and WebSphere Strategies > How to access Domino data from WebSphere application server
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DOMINO AND WEBSPHERE STRATEGIES

How to access Domino data from WebSphere application server


Sue Hildreth
05.25.2005
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


With many Domino professionals having to deal more and more with the Java-based WebSphere platform in their IT environments, they need to know how to access Domino data from WebSphere Application Server. Fortunately, there are lots of choices for accomplishing this.

One way is through the WebSphere Portal and portlets. This involves either turning various Domino functions into portlets or using IBM's packaged Domino portlets. Two other methods are Domino Java Server Pages (JSP) tag libraries and the Domino XML Language (DXL). As we noted in last month's column, DXL, a Domino-extended version of XML, enables developers to generate XML from Domino elements such as forms, views and documents for use in a Web application. Domino JSP tag libraries allow Domino professionals to create JSPs without needing much knowledge of Java.

But there are still other methods for bringing Domino functions and data to the fore. This article will list five additional ways of accessing Domino 6 data or functions from WebSphere Application Server 5. For more details on these methods, read the IBM redbook Patterns: Custom Designs for Domino and WebSphere Integration.

Domino Objects for Java: Local Access -- Domino Objects for Java is a high-level method of interfacing that is best-suited for small and mid-scale systems. Local Domino Objects for Java can be used when a component of a WebSphere application needs to access Domino data on a local server. A copy of the Notes client must be installed on the same system that is used by Domino Objects for Java. Either the database being accessed must be located on the same node as the requesting system or port 1352 (the standard Notes port) must be open between the node and the Domino database server.

Domino Objects for Java: Remote Access -- The remote access Domino Objects uses Common Object Request Broker Architecture (CORBA) for requests to and from the Domino server, and the Internet Inter-Orb Protocol (IIOP) as the transport protocol. Remote access Domino Objects for Java is best-suited for situations that require maximum flexibility in network topology and in using Java components to programmatically access Domino databases.

Domino Collaboration Objects (DCOs) -- For developers who want to access some Domino system capabilities without having to be fluent in back-end Domino Java classes, the DCOs offer an alternative that provides specific functionality in the form of Java beans. With DCOs, you can access functions such as user login, sending an e-mail or creating a calendar entry. However, only those functions that are published as DCO Java beans can be used. Functions not available have to be added using the full Domino object model.

Web services -- By wrapping a Domino function in Web services, and hosting it in WebSphere Application Server, it can be made available to a range of other applications. The Patterns redbook gives, as an example, a Web service that provides user information contained in the Domino directory, or a Web service that aggregates data from a Domino database and an ERP application. The benefits of using Web services are that they're widely known, based on open standards, and can interoperate with other Web services provided from other platforms. However, implementing Web services can be complex, requiring the use of several standards such as Simple Object Access Protocol (SOAP), Universal Description, Discovery and Integration (UDDI) and the Web Services Description Language (WSDL).

Lotus Domino Driver for JDBC (LDDJ) -- If all you need to do is access data in a Domino database, you can use JDBC and the Lotus Domino Driver for JDBC. Although this approach requires no experience with the Domino Object Model, the LDDJ is not a full implementation of JDBC and does not support all SQL statements. Furthermore, it can only be used on the Windows platform, and it requires Notes or Domino on the same system executing the JDBC calls.

Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

Sue Hildreth is a contributing writer and editor based in Waltham, Mass. You can reach her at SueHildreth@comcast.net.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
IBM WebSphere
WebSphere is a world of trouble, Domino readers say
WebSphere Portal primer
IBM releases HR accelerator for SAP and WebSphere
Portalizing Notes/Domino applications with IBM WebSphere Portlet Factory
Mainsoft enables .NET applications to run on WebSphere Portal
Routing mail between Lotus Domino and IBM Workplace users
Workplace Forms add XML future to WebSphere-Domino environments
Security considerations for a Domino WebSphere system
New and Notesworthy: November 2005
No middling in IBM's master plan

Java for Lotus Notes Domino
Top 10 Lotus Notes/Domino development tips of 2009
Top 10 Lotus Notes/Domino coding and development tips of 2008
Java code inserts data from Notes documents into a SQL table
Java code shortens strings in a SQL table
How to execute a stored procedure in Lotus Notes Domino using Java
Top 10 Lotus Notes Domino programming and development tips of 2007
How to return an HTML representation of a Lotus Notes rich-text field
Shrink Lotus Notes databases with many attachments
Converting Lotus Notes Domino Web pages to PDF files with a Java agent
Developing Eclipse plug-ins for Lotus Notes and Domino -- 7 tips in 7 minutes

Domino and WebSphere Strategies
Portalizing Notes/Domino applications with IBM WebSphere Portlet Factory
Integrating Lotus Domino and IBM Workplace applications
Routing mail between Lotus Domino and IBM Workplace users
Workplace Forms add XML future to WebSphere-Domino environments
Security considerations for a Domino WebSphere system
Using WebSphere and Lotus Domino to create ebusiness sites
Making Domino applications work with IBM Workplace
IBM's Tony Higham fields questions about WebSphere Portal
Salaries rising for WebSphere-related skills
Automatically start a WebSphere instance

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts