连接 Eclipse、Websphere 和 DB2

发布于 2024-12-13 09:38:56 字数 152 浏览 2 评论 0原文

我想知道 Java、Eclipse 和 Websphere 的哪些版本相互兼容。我尝试过一遍又一遍地安装 Websphere 和 DB2,并且曾遇到过一次 java 版本问题和几次 webspere 配置问题。您能告诉我需要使用哪些版本以及应该如何在我的系统上设置整套服务吗?此要求是尽快。

I would like to know which versions of Java, Eclipse and Websphere are compatible with each other. I have tried installing Websphere and DB2 over and over again and have faced issues with the java version once and with the webspere configs a few times. Can you tell me what versions i need to use and how i should go about setting up the entire set of services on my system? This requirement is ASAP.

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

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

发布评论

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

评论(3

木落 2024-12-20 09:38:56

Eclipse一般自带JRE,所以不需要配置Java。

我认为 WebSphere 也带有它自己的 Java(我认为是 J9)。

DB2 不需要 Java 来运行,但它还附带了 JRE 来执行 Java 存储过程。

为了连接 Eclipse 和 DB2,您将使用 JDBC,并且它不关心版本。如前所述,您可以使用 Data Studio 附带连接到一堆数据库所需的元素。

WebSphere 也使用 JDBC 连接到 DB2,因此这里也不存在问题。最终,您必须包含必要的 jar 来连接到数据库。您可以通过下载 IBM DataServer 客户端

最后,如果您想从 Eclipse 控制 WebSphere,那是另一回事,问题仅与配置有关。

Eclipse normally comes with a JRE, so there is not need to configure Java.

I think WebSphere comes also with its own Java (J9 I think).

DB2 does not need Java to run, but it also comes with a JRE to execute Java Stored Procedures.

In order to connect Eclipse with DB2, you will use JDBC, and it does not care about versions. As previously said, you could use Data Studio that comes with the necessary elements to connect to a bunch of databases.

WebSphere also uses JDBC to connect to DB2, so there is not a problem here neither. Eventually, you have to include the necessary jars to connect to the database. You can get them by downloading the IBM DataServer client.

Finally, if you want to control WebSphere from Eclipse, that is another thing and the problem is only about configuration.

沦落红尘 2024-12-20 09:38:56

如果您喜欢使用 Eclipse 作为 Java 开发环境,我建议您使用 IBM Data Studio v3.1。它是一个 Eclipse IDE,它是免费的,并且内置了许多用于数据库开发和管理的工具。它将与所有当前支持的 DB2 for LUW、DB2 for z/OS、DB2 for i5/OS 甚至甲骨文。 Ir 还支持所有当前版本的 WebSphere Application Server(我认为是 v6 及更高版本)。您不必担心 Java 级别,因为它附带受支持的 JDK。您可以从 DB2 下载它Express-C 站点。根据您的需要,您可能需要“Data Studio IDE”。同时,您可能还希望获得 DB2 Express-C,这是一个免费的 DB2 版本,它具有其他更高价值的 DB2 版本的所有功能。

If you like to use Eclipse as your Java development environment I recommend that you get IBM Data Studio v3.1. It is an Eclipse IDE, it is free and it has a lot of tools for database development and administration built in. It will work with all currently supported versions of DB2 for LUW, DB2 for z/OS, DB2 for i5/OS and even Oracle. Ir also supports all current versions of WebSphere Application Server (I think v6 and higher). You don't have to worry about Java levels as it comes with supported JDK. You can download it from the DB2 Express-C site. For your needs you will probably want "Data Studio IDE". While there you may also want to get DB2 Express-C a free version of DB2 that has all of the functionality of the other higher value editions of DB2.

忆离笙 2024-12-20 09:38:56

对于运行时要求(例如操作系统和数据库),请从 此处开始

对于 Eclipse,我认为 Web Tools Project 仅支持 WAS 6.0 和 WebSphere Community Edition。您将需要 Rational 品牌的 Eclipse 版本(Rational Application Developer)之一来拥有 WAS 6.1、7.0 或 8.0 的本地测试环境。

For the runtime requirements (e.g. OS and Database), start here.

For Eclipse, I think only WAS 6.0 and WebSphere Community Edition are supported by the Web Tools Project. You'll need one of the Rational branded Eclipse versions (Rational Application Developer) to have local test environments for WAS 6.1, 7.0, or 8.0.

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