开发者

Which version of eclipse should i download?

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:

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.


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 a Dynamic Web Project, pick the integrated appserver from the list and go ahead! :)


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜