Home arrow Site Administration arrow Connect Lotus Domino Server through Standalone Application with CORBA

Connect Lotus Domino Server through Standalone Application with CORBA

This article discusses Lotus Domino Notes, especially how to access to the documents stored in it with CORBA. This feature allow developers to write standalone applications that will use documents of Lotus. Moreover, the developer won't have to learn CORBA because the Lotus Domino Server has already mapped all interfaces, so we are pure users of an API. This article assumes you already have installed a Lotus Domino Server, configured the IIOP properly, and that you know how to create nsf database files.

TABLE OF CONTENTS:
  1. Connect Lotus Domino Server through Standalone Application with CORBA
  2. Start Working with Documents
  3. Looking for Documents
  4. Working with Received Mails
  5. Deleting Attachments
  6. Conclusion
By: Alex Soto Bueno
Rating: starstarstarstarstar / 17
September 14, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

What is Lotus Domino?

Lotus Domino is a documental database server, which include additional services such as a web server, mail server, LDAP server for users, a client designer to make applications for Lotus Notes, and connectivity to other database management systems.

The API

First of all we have to configure Lotus Domino Server because it can accept IIOP requests. After this, we suppose we have already developed the database in Lotus Domino, (this article does not cover this topic), we have to download (from IBM site or see in resource link at the end of this article), the API to connect. The API called NCSO.jar or NCSW.jar. This API has classes and a lot of interfaces that represent all the objects and connections that we may have in a Lotus Notes. 

Get the Database

The first step we take, is get a connection from database.

Session s = NotesFactory.createSession(Ip,Usr,Passwd);
Database database = s.getDatabase("","firstfact.nsf");

We create a session object. To create it, we must specify the IP of the server, the username, and the password. After this, we must return an interface of the database we want to work -- in this case firstfact.nsf. 



 
 
>>> More Site Administration Articles          >>> More By Alex Soto Bueno
 

blog comments powered by Disqus
   

SITE ADMINISTRATION ARTICLES

- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup
- Install and Optimize PlayOnLinux on Ubuntu a...
- Top Wordpress Plugins for e-Commerce
- Top WordPress Plugins to Fight Spam
- Top Six Drupal Modules to Prevent Spam
- Install XAMPP on Windows
- Manage Backups for WordPress Files and Datab...
- WordPress Security Tips
- How to Back Up WordPress Files and Databases


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 8 - Follow our Sitemap

Dev Shed Tutorial Topics: