Lotus Notes XPages for design and Oracle (or other RDBMS) for data

前端 未结 4 1746
慢半拍i
慢半拍i 2021-01-18 23:11

I plan to make an web application using XPages for the design (plus the Lotus Notes Elements), but instead of storing the data in Lotus Notes, I will store the data in a RDB

4条回答
  •  独厮守ぢ
    2021-01-18 23:55

    The XPages environment doesn't have any particular support for relational data sources, but there are two viable options depending on how cautious your organization is about using recent and beta software and how much support code you're willing to write.

    For the former case, the XPages Extension Library (http://extlib.openntf.org/) is adding in relational database support for the 8.5.3 release of Domino, which is scheduled to come out at the beginning of next month. I'm not in the 8.5.3 beta, so I haven't seen this in action, but the video on their page looks promising and the Extension Library is high-quality in general. So if you're willing to deploy 8.5.3 when it comes out and use the Extension Library, it'll likely do just what you want.

    If you won't be immediately upgrading or don't want to deploy the Library, you can write your own code using JDBC drivers; there's an example of this technique here: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpage_integration_rdb.htm . While you can't, for example, just pass a RecordSet to a Repeat control on an XPage, if you're willing to write your own ORM, you could make your objects implement the List interface use Java-Bean-style naming, which would let you use them in standard controls and write expression language like "#{someRecord.someField}".

提交回复
热议问题