首页 > IT基础架构 > 网络安全 > The Power of Three - Eclipse, Tomcat, and Struts

The Power of Three - Eclipse, Tomcat, and Struts

原创 网络安全 作者:nmtcolin 时间:2008-04-11 23:01:40 0 删除 编辑

Java(TM) Boutique - The Power of Three - Eclipse, Tomcat, and Struts


As a programmer it's important to be productive, and as any other craftsman you need good tools to be productive. In this article I'll present a set of tools, which can really help you get your job done. What's more, they're all free, open source, and well documented. I've been using these tools in several real-life projects and have found that they often outdo expensive development tools. This is because they're simple to install, simple to use, reliable and have good performance.

The names of the tools are Eclipse, Tomcat, and Struts.

You've probably heard about all of them, and maybe you have used them in your work, but anyway: here's a short description of each:

  • Eclipse is an IDE from, which can be used for programming in Java and many other programming languages.
  • Tomcat is a J2EE web server from the Apache Jakarta project
  • Struts is a framework--also from Apache Jakarta--for building MVC-type servlet applications

So, these tools are made for making web applications based on the servlet specification. They don't cover EJB's, since Tomcat is not an EJB-server, and standard Eclipse does not cover EJB's.

Eclipse has a project type for Java development, but strangely enough not for Java web application development. A Java web application is characterized by a special directory structure (war-file structure), and a set of specialized files: jsp-files, XML configuration files, servlets, etc. To fill this gap, a very nice Eclipse plug-in from is at hand. It not only gives us the web application project but also a way of managing the Tomcat server from within Eclipse. Below we'll see how to install and use this plug-in.

Struts gives you a way of building modular, de-coupled web applications. How Struts is included in Eclipse is another topic that'll be covered later in this article.

How to debug Jsp, servlet etc.

[@more@]The Sysdeo Tomcat plug-in:

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
radarlab 金融其实很简单!


  • 博文量
  • 访问量