Is there any easy way to convert code written in Lotusscript to Java?
I have an application written in Lotusscript for Lotus Notes that my clients wants converted to a web application. Rather than move to XPages (or make the Notes db web-enabled), my clients prefers that I create a Java web application instead (Spring or another web framework, for example).
Any ideas or thoughts on this topic much appreciated, thanks :)
It would be a monumental task, since:
That's all I can think of offhand. Hope it helps!
If your client prefers to eliminate the need of the Domino server/license, and insists on java, then manually converting the code [or its functionality] to java is your only option.
However, if the Domino server will remain, you can strategically combine the use of the LS2J classes and the methods available in the java.lang.class (class) to call the Domino/LotusScript functions [AND AGENTS] plus instantiate Domino/LotusScript objects from java. This is the preferred method vs. re-writing the LotusScript code/agents.
Another approach is to use the Web Service Provider/Consumer services or convert/create the existing Notes Db to a Composite Application [with Domino Designer version 8+]. This allows you to "export" the .jar files/code and use them external to Domino.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.