Greetings. Please forgive my complete lack of knowledge about this topic. The only experience I have with Lotus Notes is that I was an Author on the PLATO system in the late 70’s and early 80’s where Notes was originally created. 
I have a prospect who is using an IBM multivalue database/application-server called Universe, and they are avid users of Lotus/Domino. I’m an expert with these multivalue databases, which is why they asked me and my company for Domino integration with their back-end. We can get into Universe with COM, .NET, Java, and other methods.
It’s my understanding that Lotus Script is much like VBA (I said I know nothing here). What I’m wondering is, can we use Lotus Script in Domino Server to generate NSF pages, deriving data via COM access to Universe?
I’m completely open with this prospect about our skillset and we are just trying to determine the best methods to communicate with the back-end using available skillsets. The prospect has competence with Domino Designer and uses this for all of their pages, but we’re not sure on our side if Designer does server-side coding as well as HTML for client-side pages, or if Lotus Script or VBA can be used in this IDE.
I’ll be happy to provide more info to obtain the best possible advice. Depending on the responses we will also consider contracting for services from forum members. Really a reference to a HowTo or other docs would be most appreciated - we prefer learning how to fish rather than having fish tossed to us.
Thank you kindly.
Subject: Script or COM to build NSF pages?
There are several ways to accomplish this depending on how the data is going to be accessed and manipulated, and how much data should be available to Notes users.You didn’t mention what client will be used to access the data: web browser or Notes client?
The easiest solution would be to synchronize the Universe database with a Domino database on a scheduled basis. This can be done using DECS/LEI or your own solution.
You can also run QueryOpen/WebQueryOpen LotusScript/Java agent which performs ODBC/COM/whatever lookup and fetch appropriate data when user clicks the document to open it.
If nothing of the above works, you can create a Visual Basic dll file and call it from your LotusScript.
Subject: RE: Script or COM to build NSF pages?
This is the connection path I’d like to see. Please tell me if this is the way things are actually done on a Domino Server:
Data is retrieved, a new NSF page is built and returned to the client.
Asynchronous replication of an enterprise data environment is not practical, this must be a realtime operation. If VBA is not available (I’m still assuming LotusScript is equivalent to VBA?) then Java can be used to access Universe as well. And rather than a COM connection through a library, ODBC can be used if necessary.
I know NSF pages can be generated at run time, I just don’t know the mechanics of making that happen. If someone says “yes, it’s just like ASP and the pages can be maintained entirely in Domino Designer”, then we’re in business.
Spacibo Andrei.
Tony
Subject: RE: Script or COM to build NSF pages?
You can not generate dynamic pages in same way as you do using ASP. Well, actually you can using LotusScript agents, but I never seen agent solution to be used in such way.Rather than building a whole page, you can dynamically set some fields on the form which in many cases is similar to generating a completely dynamic page.
ODBC/JDBC is probably the easiest solution to read and write data from SQL databases. This can be done with build-in tools (DCR, DECS, LEI, @DBLookup/@DbCommand) or with LotusScript/Java. You can of course also you Java servlets.
You should install Domino Designer client and maybe hire a Domino consultant for 1 day to help you find the right solution for your particular project.