Site Administration Connect Lotus Domino Server through Standalone Application with CORBA |
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); 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.
blog comments powered by Disqus |