Spring/Struts 2 配置 - 任何傻瓜'指导?
我是实际 Java 编程的初学者。我不太了解 Spring 中的这些基本内容 - 使用它进行 jdbc 调用(没有任何 ORM)、邮件 api、配置记录器。我想,我对让这些东西正常工作所需的配置(漫长、耗时)感到有点害怕。
任何人都可以推荐 Spring/Struts 2 配置入门指南,或者一些来自您日常经验的实用笔记,帮助您更好地理解配置部分。
I'm a beginner in practical real-world java programming. I don't really understand these basic things in Spring - using it for jdbc calls (without any ORM), mail api, configuring logger. I think, I got a bit scared with the configurations (long, time-consuming) that're required to get these things working.
Can anyone recommend dummies guide to get started with Spring/Struts 2 configurations or some practical notes from your day-to-day experiences on how to understand configuring part well..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你试过这个吗?
http://static.springsource。 org/spring/docs/3.0.x/spring-framework-reference/html/jdbc.html
它不适合傻瓜,但你需要的一切都在那里。您可以复制并粘贴大量内容来开始操作(例如配置)。既然您不需要 ORM,那么 JDBCTemplate 就是您的朋友。
Have you tried this?
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/jdbc.html
Its not for dummies, but everything you need is in there. You can copy and paste a lot of it to get going (like configuration). Since you don't want ORM, JDBCTemplate is your friend.
AppFuse 是一个很棒的使用 Struts2/Spring 的 Web 应用程序模板项目。
它几乎拥有您想要的一切 - 请浏览 http://appfuse.org 上的快速入门指南/display/APF/AppFuse+QuickStart。
AppFuse is a great webapp template project that uses Struts2/Spring.
It pretty much has everthing you would want - go through the quickstart guide at http://appfuse.org/display/APF/AppFuse+QuickStart.