Spring MVC示例Web应用 [英] spring MVC sample web app

查看:84
本文介绍了Spring MVC示例Web应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个可以轻松实现的示例Spring MVC 2.5 Web应用程序:

I'm looking for an example Spring MVC 2.5 web app that I can easily:

  • 在Eclipse中设置为项目
  • 部署到本地应用服务器(使用Ant/Maven)

Spring发行版中包含几个示例应用程序("petclinic"和"jpetstore"),但是它们不提供任何Eclipse项目文件(或生成它们的方法).对于我的需求来说,它们似乎也有些复杂.需要设置本地数据库.

There are a couple of example applications included with the Spring distribution ('petclinic' and 'jpetstore'), but they don't provide any Eclipse project files (or a way to generate them). They also seem a bit complicated for my needs, e.g. require a local database to be setup.

推荐答案

虽然没有专门下载的应用程序,但

While not specifically an app you can download, Developing a Spring Framework MVC application step-by-step covers creating a spring application in Eclipse with an ant build script, complete with unit tests.

这符合以下要求:

  • Spring MVC 2.5
  • Eclipse中的项目
  • 使用Ant部署到本地应用服务器
  • 使用HSQL(无需安装本地数据库)

这篇关于Spring MVC示例Web应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆