Java from LotusScript

     

As long-time Domino developers are aware, LotusScript is the interpreted, object-oriented programming language provided by Lotus across its product family, including Domino, Lotus123, WordPro, and Freelance. In order to accommodate the many Domino programmers with primarily LotusScript skills, Lotus has provided a LotusScript extension (LSX) called LS2J, which allows Java classes to be invoked from within LotusScript code. Using the LS2J LSX, it is possible, at least in theory, to implement many of the techniques we discussed here within LotusScript.

The LS2J LSX, however, allows only primitive arguments to be passed to or returned from the Java classes. This limitation makes it difficult to work with basic items such as strings or date/time values since they are encapsulated by classes in Java. In addition, since Domino agents can be coded in Java, and LotusScript programs can easily invoke Java agents, one can simply invoke the Java specific code for J2EE processing as agents from LotusScript. Given that, we feel that using the LS2J LSX to invoke J2EE components from LotusScript provides no real advantage, except perhaps to pure LotusScript programmers who lack Java skills.



IBM WebSphere and Lotus Implementing Collaborative Solutions
IBM(R) WebSphere(R) and Lotus: Implementing Collaborative Solutions
ISBN: 0131443305
EAN: 2147483647
Year: 2003
Pages: 169

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net