使用netbeans 6.9和Lotus Domino R8 java

发布于 2024-10-10 16:12:01 字数 717 浏览 8 评论 0原文

我想创建一个 Java 前端来添加/管理 Lotus Notes 数据库中的内容,我的笔记本电脑和 R8 客户端上有 domino 服务器 8.5,但如何配置 Netbeans 6.9,以便可以在 Netbeans 应用程序中使用 domino Java 类。第一步是建立与本地或服务器数据库的连接。

我还认为 R8 只支持 Java 1.4,所以我必须使用 domino 编译器,如果是这样我该怎么做。我搜索了 Google,但尽管我发现大量的点击量是针对旧版本的 Netbeans 的,而且 R5/R6 注意到了这一点。

1 月 10 日:我报名参加了开放大学 M257 Java 课程,并正在 24 小时内学习 Java(SAMS、Rogers & Cadenhead),所以我对 Java 非常陌生。本例中的根本问题是 Domino 似乎支持旧版本的 Java,但如果我此时能够从 NetBeans 获得与 Lotus Domino 的任何连接,我会很高兴。

1 月 11 日:在第一个答案之后,我查看了我的 domino 服务器notes.ini,找不到任何可能与 Java 相关的设置,它只有 HTTPJVMMaxHeapSize=64MHTTPJVMMaxHeapSizeSet=1,我还仔细检查了服务器文档,因此如果版本是可配置的,那么它是如何完成的并不明显。我正在使用 Notes 8.0.2 FP6,根据帮助中的配置,它也运行 Java 1.6,所以也许编译器不会成为一个大问题?

I want to create a Java frontend to add/manage content in a Lotus notes database, I have domino server 8.5 on my laptop and R8 client but how do I configure Netbeans 6.9 so I can use the domino Java classes in my Netbeans application. the first step is to establish connectivity to the local or server databases.

I also think that R8 only supports Java 1.4 so do I have to use the domino compiler, and if so how do I do this. I searched Google but although I found loads of hits far too many were for older versions of Netbeans and R5/ R6 notes which.

10th Jan: I'm signed up for the Open university M257 Java Course and am working through Learn Java in 24 hours (SAMS, Rogers & Cadenhead) so am really very new to Java. the underlying issue in this case is that Domino appears to supporting an older version of Java but am happy if I can get any connectivity to Lotus Domino at this point from NetBeans.

11th Jan: Following first answer I had a look in my domino server notes.ini and couldn't find any setting that might relate to Java, it only had HTTPJVMMaxHeapSize=64M and HTTPJVMMaxHeapSizeSet=1, I also carefully checked the server document so if version is configurable its not obvious how its done. I'm using Notes 8.0.2 FP6 which according to configuration in help is also running Java 1.6 so maybe compiler isn't going to be such a big issue?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸵鸟症 2024-10-17 16:12:01

默认情况下,Domino 8 1.4 编译器级别为 1.4,但您可以通过服务器的 ini 文件更改将其更改为 Java 5 (Domino 8.x) 或 Java 6 (Domino 8.5x)。

至于如何在外部 IDE 中引用 Notes Java 类,有很多适用于 Eclipse 的说明,这些说明应该可以轻松移植到 Netbeans。基本上,您想要在 IDE 中注册 Domino JVM(您是对的,Domino 使用它自己的 JVM),并且需要在项目中引用 Notes Java API(请参阅 Domino 服务器安装中的 Notes.jar)。

Domino 8 1.4 compiler level of 1.4 by default, but you can change that to Java 5 (Domino 8.x) or Java 6 (Domino 8.5x) via an ini file change for your server.

As to how you reference the Notes Java classes in an external IDE, there are a lot of instructions out there for Eclipse which should be easily ported to Netbeans. Basically, you want to register the Domino JVM in your IDE (you're right, Domino uses its own JVM), and you will need to reference the Notes Java API in your projects (see Notes.jar in your Domino server installation).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文