How to integrate J2EE applications with Domino

Source: Internet
Author: User
How to integrate J2EE applications with Domino
Domino, Application
1. Domino and notes overview Lotus Notes was first launched in 1989, providing a brand new way for effective team collaboration because it allows team members to easily distribute up-to-date information and share ideas. In 1995, when Lotus was involved in the Internet, web application functions were added, and the server was renamed Domino from notes. Since then, the notes brand has been dedicated to desktop clients. The Domino programming model has been continuously improved over the years, and formula language is the first Programming Language . In version 6, there are some new features and performance enhancements to supplement this language.
Domino 6 provides mail, bookmarks, Personal Address Book, discussion, group studio, Lotus smartsuite library, Microsoft Office library, document library, Resource Reservation, reservation, and extended mail functions. In terms of security, The PKCS #11 Smart Card standard, single sign-on, And X.509 certificates are supported. Programming Languages provide formulas, LotusScript, Java, JavaScript, and other interfaces. It supports windows, Aix, Solaris, Linux, HP-UX, AS/400, S/390, and other platforms. Standard protocols support HTTP, POP3, IMAP4, SMTP, LDAP v3, and other specifications. At the same time, new enhancements are provided to enable staff to make better use of existing resources, and users can also benefit from productivity.
Currently, Domino fully supports the J2EE structure and can be integrated into the J2EE environment. JDBC ctor Ctor is provided to allow J2EE servers to use JDBC connections; Domino JSP custom tags is provided to make it easier to build pages that manipulate Domino.
Interface provided by Domino
Solution 1: Use the Lotus Notes JDBC driver;
Solution 2: Use Lotus connector classes;
Solution 3: Use diiop (CORBA );
Solution 4: Use Lotus XML Toolkit (dxl );
Solution 5: Use custom tag converion kit (DCT );
Solution 6: Use LotusScript extensions Toolkit (LSX );
Solution 7: Use Web Service;
Other integration technologies:
Solution 8: Use web page integration technology;
Solution 9: Use existing portlets;
1.1. Use the Lotus Notes JDBC driver
Lddj (Lotus Domino driver for Java, also known as Lotus Notes JDBC driver) is a type 2 JDBC driver that allows developers to use Java Program Access the Domino/Notes database just like accessing a relational database. Lddj is the JDBC driver of Type 2. Therefore, local Notes application support is required. It can only run on Windows platforms in Lotus dominor5 and R6.
The JDBC Method uses standard Java Database Technology Domino to provide JDBC drivers and its behavior can look the same as that of standard relational databases. However, although some SQL extensions allow access to data with hierarchies, this method limits the benefits of using Domino.
You can download the domino JDBC driver from the official Lotus Website:
Http://www.lotus.com/products/rn... 659fdc? OpenDocument
1.2. Use Lotus connector classes
Lotus connector classes provides some Java classes to access Domino/Notes data. You can import the lotus connector classes Class: Lotus. lcjava. * In a Java program .*.
1.3. diiop (CORBA) Technology
Lotus Domino toolkit for Java/CORBA provides three jars, namely, DCO. jar, ncso. jar and notes. jar, provides a variety of APIs to ensure convenient access to the domino database content, and has certain processing capabilities for data elements. This toolkit is named toolkit for Java/CORBA because it uses different technologies to process local Notes databases and remote databases.
Access the local Domino/Notes application (the Portal Server and Domino/Notes are on the same machine), and the Java program uses Domino APIs (in notes. jar) calling Domino actually accesses the domino backend implemented in C ++. Code . Java uses JNI to access the domino class in DLL.
You can use Domino CORBA/IIOP APIs (in ncso. Jar) to call it on different machines. You no longer need to install the Notes client or Domino. The target Domino server needs to start the HTTP and diiop services. Domino uses the CORBA technology to implement Java program access to remote objects.
Domino connection object (DCO. Jar) encapsulates many objects connected to Domino, facilitating external calls.
Bea provides diiop-based workshop control. Integration with Domino can be easily implemented in WebLogic
In addition, you can use email control to access emails on the Domino server on WebLogic portal8.1.
1.4. Use Lotus XML Toolkit (dxl)
Domino/Notes provides Lotus XML toolkit to access Domino data in XML format, including documents, RTF fields, and some design elements. Lotus XML toolkit provides Java APIs.
1.5. Use custom tag converion kit (DCT)
Domino R6 provides a set of custom JSP tags that developers can use to develop JSP pages, flexibly define the display format of notes data, and perform data access, input, and process control. Correspondingly, DCT can convert existing views and forms in the Notes database into JSP files. After the conversion, the effect will simulate the display format of the view and form in the Notes client. This tool only supports Windows platforms and requires domno R6 support. Currently, DCT is still part of the IBM Alpha Project and has not yet been officially released.
1.6. Use LotusScript extensions Toolkit (LSX)
LSX is developed based on the Lotus C ++ API to extend the functions of Lotus script:
1. enables the Notes application to interact with other products in the Lotus family, such as Lotus 1-2-3.
2. Enable the Notes application to interact with other existing application systems
3. Make the Notes application interact with the operating system.
LSX is compiled into a dynamic link library (for other types of shared libraries on non-Windows platforms), which can be called by Lotus script in notes.
1.7. Web Service technology
Domino6 provides Web Service encapsulation and provides Web service interfaces for Lotus applications using Lotus script and Java technologies. You can build a Portlet that uses Web services to access Lotus Domino.
For details, refer to Article : Develop portlets that use web services to obtain data from remote systems
1.8. Web page Integration Technology
When a domino application is a web-based application, some or all of the web pages to be integrated are packaged into A Portlet, which is connected to the domino OA system through HTTP, obtain the relevant content and transmit it to the browser at the front end. The operations performed on the Portlet are the same as those performed on the domino OA system.
This method has the following benefits:
The implementation is relatively simple, and the existing user interface can be fully utilized to greatly improve the development efficiency.
It does not add new loads to the domino OA system.
1.9. Integrate Domino applications with existing portlets
You can use the ready-made portlets provided by compoze (which has now been acquired by BEA) to integrate Domino applications. These portlets can integrate basic Domino services, including sending and receiving emails, calendars, to-do matters, and contacts, you only need to enter the username and password on Domino by using portlets for the first time, and then you only need to log on to the portal to access these integrated Domino services for a login experience.
The biggest feature of integration in this way is that it is simple and requires no code to be written. You only need to directly install the connection configuration to complete integration between the portal application and Domino Notes. The disadvantage is that you can only integrate four functions: sending and receiving emails, calendar, to-do list, and contacts. If you want to integrate your own Domino application, you can't do anything about it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.