java 尝试学习 spring 或 struts 框架的前提是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2943097/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 23:35:05  来源:igfitidea点击:

What is the prerequisite when try to learn the spring or struts framework?

javaspringstruts2prerequisites

提问by LockOn

I think these technologies are really prior to java industry

我觉得这些技术真的早于java行业

采纳答案by jasonmp85

I'm not sure about struts, but for Spring, it helps to know about dependency injection and inversion of control, XML, and JavaBeans.

我不确定 struts,但对于 Spring,了解依赖注入和控制反转XMLJavaBeans 会有所帮助。

If I had to recommend a book, it would be Spring in Action

如果我必须推荐一本书,那就是Spring in Action

UPDATE

更新

It's been pointed out to me that Spring in Action is about Spring 2.0, which it is. Spring 2.0 is almost four years old. Spring's first-party documentation makes wonderful reading. Check out the reference documentationfor great prose and the Javadocsif you need more in-depth information.

有人向我指出 Spring in Action 是关于 Spring 2.0,它就是。Spring 2.0 已经快四年了。Spring 的第一方文档非常棒。如果您需要更深入的信息,请查看优秀散文和Javadoc参考文档

回答by Sid

A good knowledge of Core Java, Servlets and JSP is pretty much more than enough you need..

对 Core Java、Servlets 和 JSP 的深入了解足以满足您的需求。

回答by krock

In my opinion, the Spring in Action book is a bit behind the times now (Spring 2.0) and doesn't include any of the nifty new features in 2.5 or 3.0. I would start with the spring documentation.

在我看来,Spring in Action 书现在有点落后于时代(Spring 2.0),并且没有包含 2.5 或 3.0 中的任何漂亮的新特性。我将从spring 文档开始。

回答by Wiretap

Only in reference to Spring. If your not familiar with dependancy injection, then spend a bit of time reading. I'd also suggest that your java knowledge includes being comfortable with Annotations, Reflection and even Aspect orientated programming. Most Spring books fail to keep pace, so unless your forced to use a particular version Spring 3.0 should be your starting point as this has many additions which can save a lot of time.

仅参考 Spring。如果你不熟悉依赖注入,那么花点时间阅读。我还建议您的 Java 知识包括熟悉 Annotations、Reflection 甚至面向 Aspect 的编程。大多数 Spring 书籍未能跟上步伐,因此除非您被迫使用特定版本,否则 Spring 3.0 应该是您的起点,因为它有许多可以节省大量时间的补充。

回答by NITIN ARYA

In reference to spring it is mandatory to have a little knowledge of J2SE, J2EE(Servlets, JDBC little bit), XML Schema and rest of the things you can learn while studying Spring Framework. Most of all JAVA knowledge is required :)

关于 spring,必须对 J2SE、J2EE(Servlets、JDBC 小点)、XML Schema 和其他在学习 Spring Framework 时可以学到的东西有所了解。最需要JAVA知识:)