我应该下载哪个版本的 eclipse?
我想用eclipse学习struts2。我应该下载哪个版本的 eclipse?
我的背景是作为 ac# 开发人员,所以我对 java 不太了解,但我很想学习。
我正在查看 Eclipse 网站 http://eclipse.org/downloads/ 我想我是什么想要的是其中之一,但我不确定:
- 适用于 Java EE 开发人员的 Eclipse
- 适用于 Java 开发人员的 Eclipse
- 经典 Eclipse
我已经做了一些搜索,大多数教程似乎假设您已经安装了所有内容。我在这里什么都没有开始。
I'd like to learn struts2 with eclipse. Which version of eclipse should i download?
My background is as a c# developer, so i don't really know much at all about java but i'm keen to learn.
I'm looking on the eclipse site http://eclipse.org/downloads/ and i think what i want is one of these, but i'm not sure:
- Eclipse for Java EE developers
- Eclipse for Java developers
- Classic Eclipse
I've done a bit of searching around, and most tutorials seem to assume you've already got everything installed. I'm starting with nothing here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Struts 是一个构建在 JSP/Servlet API 之上的 Web 框架。获取Java EE Eclipse。它附带了 Web 开发所需的所有插件,在每个伟大的 WTP 和几个默认的应用程序服务器插件下。普通的 Eclipse 版本缺少这个。
启动项目时,首先通过
Servers
视图将应用程序服务器集成到您的 Eclipse 环境中(显然您需要先在您的平台中下载并安装有问题的应用程序服务器,然后只需指向其安装即可路径,我建议使用 Apache Tomcat)。然后创建一个动态 Web 项目
,从列表中选择集成的应用程序服务器并继续! :)Struts is a web framework built on top of JSP/Servlet API. Get Eclipse for Java EE. It ships with all plugins needed for web development, under each the great WTP and several default appserver plugins. The normal Eclipse version lacks this.
When starting a project, first integrate the appserver in your Eclipse environment through the
Servers
view (obviously you need to download and install the appserver in question in your platform first, then it's just a matter of pointing its installation path, I can recommend using Apache Tomcat). Then create aDynamic Web Project
, pick the integrated appserver from the list and go ahead! :)Eclipse for Java Developers 足以满足您的需求。使用 Struts 不需要 EE 功能。我还建议使用 Jetty 作为 Web 容器,使用 Maven 进行依赖管理。
哦,当然你应该先安装 JDK。获取最新的 JDK 6 版本。不是捆绑包之一,只是 JDK,它在此 页面< 的捆绑包下方列出/a>
Eclipse for Java Developers is sufficient for your needs. The EE functionality isn't required to use Struts. I also recommend using Jetty for a web container and Maven for dependency management.
Oh, and you should install the JDK first of course. Get the latest JDK 6 build. Not one of the bundles, just the JDK, which is listed below the bundles on this page
我发现 Eclipse Java EE 版本非常适合 Web 内容。它知道实际运行 struts 代码所需的 WAR 文件。主要的障碍是放置所有使用的库,以便它们最终位于 WEB-INF/lib 中。
I have found that the Eclipse Java EE version is good for Web stuff. It knows about WAR files which you will need to actually run your struts code. The major hurdle is getting all the used libraries placed so they end up in WEB-INF/lib.