Home > Ask the Domino Experts > Transitioning from Domino to J2EE Questions & Answers > Migrating LotusScript and @Formula to Java/J2EE
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Migrating LotusScript and @Formula to Java/J2EE

Alex Homsi EXPERT RESPONSE FROM: Alex Homsi

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


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


>
QUESTION POSED ON: 09 August 2004
How can I migrate LotusScript and @Formula language to Java/J2EE? Which J2EE component can replace LotusScript and @Formula? Thanks.

>
@Formula migration is much simpler than LotusScript. You can have a library of Java functions that reproduce the Domino @functions using native Java. The problem, more generally speaking, is not the language translation, but rather the Domino object model (the LotusScript API and certain @functions such as @DbColumn, @DbLookup, @DbName, etc.) that does not exist in the J2EE world. Outside of Domino, there is only one third-party framework that offers a port of the Domino "Note" concept by using XML instead of the proprietary "Note" format in Domino, and reproduces the NSF store, Domino object model and @functions in native Java.

It is important to understand porting the document-centric database/document/view paradigm to relational is a difficult exercise. Absent of a third-party framework, you would need to manually construct the relational data model and tables, corresponding to each form, and then write SQL Queries in lieu of views and SQL Select, Insert, Update, Delete using JDBC in your JSP forms. The problem with this method is that Notes documents not only contain data, but also metadata such as creation date, modification date, readers, authors, $REF (for response documents), workflow control fields, etc. This metadata would require special handling in the target relational data model, which can be more or less tedious depending on how much of this metadata should carry over in the target J2EE application.

The J2EE community has recognized the need for a document management API standard and there is a proposed specification of an API (JSR 170) to satisfy this need in the future. Unfortunately, this JSR is still a couple of years away, and it's not specifically meant to provide an alternative to the Domino object model. Nevertheless, it's a promising first step from the JCP towards document-centric development in J2EE.

Do you have comments on this Ask the Expert question and response? Let us know.


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



RELATED CONTENT
Transitioning from Domino to J2EE
Software for migrating from LotusScript to J2EE
Going to J2EE but keeping the mail
Using WebSphere for 'smaller' Domino applications
Web info on transitioning from Domino to J2EE
Migrating Lotus Notes database to UDB
Tools for Domino to J2EE migration
Concerns about moving to WebSphere and the future of Domino
Converting Notes applications to J2EE
Converting NSF data into relational data
When is the .NET version of Flowbuilder coming out?

LotusScript
LotusScript agent parses ACL to Microsoft Notepad
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
Run or restart Notes/Domino agents via text messages
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management

Lotus Notes Domino Deployment and Migration Advice
Build your own Domino multi-server test environment
IBM Lotus to end Notes/Domino 7.x support
How to upgrade to Lotus Notes 8 and retain Lotus Notes 7
Resolve Notes 8 migration error: 'Database has not been opened yet'
Understanding a Lotus Notes Smart Upgrade rollout
How to export data from a Lotus Notes database to a CSV file
How to install Lotus Notes on Linux CentOS-4
How to install Lotus Domino Server on SUSE Linux
How to perform an in-place upgrade of Lotus Domino server hardware
Moving a remote user mail database to new Lotus Domino server

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



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
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 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts