1

我是在 JAVA 中创建 Web 应用程序的新手,我有点困惑。在谷歌上搜索了一段时间后,我认为最好的框架是 Spring MVC。我不想创建任何花哨的东西,只是稍微熟悉一下 Web 应用程序的创建。我知道没有一个正确的选择,但你会建议我使用 Spring MVC 吗?如果不是,最好的选择是什么?你有什么资源可以让我开始使用 Spring MVC 吗?关于春天我必须知道什么?博客、文档?

4

3 回答 3

1

您可以在此处对 Java Web 框架进行很好的比较:

The Curious Coder 的 Java Web 框架比较:Spring MVC、Grails、Vaadin、GWT、Wicket、Play、Struts 和 JSF

我个人更喜欢 Spring MVC。

您可以从以下位置找到一堆废弃的 Spring 教程:

  1. 春天官方网站
  2. JavaBrains
  3. 教程点
于 2013-11-15T07:24:27.370 回答
0

Well, like every other question in software development, the response starts with it depends. It depends on what application you want to build.

As for resources...you can start from here or here. The one that I preferred when getting started with spring was: this - step by step (as kindly posted in comments Atul - thank you, Atul) the step-by-step is just for spring 2.5. If you like a more hands-on approach and just check code samples, you can check the spring samples repo.

于 2013-11-15T07:17:04.530 回答
0

考虑到您是 Java Web 应用程序的新手,您还可以查看http://www.playframework.com/,它更容易上手。根据我自己的经验,您可以专注于问题,而不必弄乱配置。

于 2013-11-15T07:23:56.350 回答