我可以开始掌握并完全掌握 Java 的 Spring 2.5 的教程Hibernate(带有其他一些框架)
我正在尝试在有限的时间内(也许不到 2 天?)完全掌握 Java 的 Spring 2.5 和 Hibernate 框架,想请问这个社区您是否可以指出我可以从哪里开始掌握两个框架。我理解完全掌握这两个框架需要时间,但是如果您能指出一些教程,向初学者解释注释、xml 映射以及我需要掌握 Spring 和 Hibernate 的许多基本知识,那可以吗?最近几天才尝试了解?
我已经尝试过很多次谷歌搜索,并浪费了三天时间试图弄清楚并理解这些概念,但似乎我什么也没理解。
主要问题之一是我只能使用以下内容:Eclipse、Maven、Jetty、MySQL,而不能使用 Tomcat 或 Ant 等其他内容。
我正在使用 Linux Mint 10 / Ubuntu 10.10 来快速学习这一点(是的,我的时间有限@_@)。
我先谢谢你了。
I'm trying to fully master and fully grasp Java's Spring 2.5 and Hibernate framework for a limited amount of time (maybe in in less than 2 days?) and would like to ask this community if you can point out where I can start in mastering both frameworks. I kind of understand that it takes time to fully master both frameworks but would it be alright if you can point out tutorials where annotations, the xml mapping, and many of the basic things I need to grasp Spring and Hibernate are explained to a beginner who only tried to understand within the past couple of days?
I've tried googling bunch of times and wasted 3 days already trying to figure out and understand the concepts but it seems I understood nothing yet.
One of the major problems is that I could only use the following: Eclipse, Maven, Jetty, MySQL and can't use others like Tomcat or Ant, etc.
I'm using Linux Mint 10 / Ubuntu 10.10 in learning this in short time (yeah, I am in a limited amount of time @_@).
I thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Spring 参考文档(针对 2.5.x) 是一个非常好的获取有关如何使用框架功能的概述和示例的地方。不过,我建议使用最新版本的 Spring(3.0.5 是当前的稳定版本,3.1 很快就会发布)。
Hibernate 文档 也是如此(在那里选择您的版本)。
我知道参考文档并不那么受欢迎,但尤其是 Spring 人员在整理口语示例方面做得非常出色。他们还有一个名为“Green Beans”的博客文章系列,其中介绍了 Spring特点一一列出。也许这应该是您的起点,以及他们的示例项目 SVN 存储库 - ” Petclinic”项目同时使用了 Spring 和 Hibernate。
The Spring Reference Documentation (for 2.5.x) is a very good place to get an overview and examples on how to use the framework's features. I would recommend using a recent version of Spring, though (3.0.5 is the current stable release, 3.1 will be out soon).
The same goes for the Hibernate docs (choose your version there).
I know that reference docs are not that popular, but especially the Spring guys do great work putting together speaking examples. They also have a blog post series called "Green Beans" which introduces Spring features one by one. Maybe this should be your starting point, together with their sample projects SVN repository - the "Petclinic" project uses Spring and Hibernate together.
我推荐 Chris Richardson 的POJOs in Action。它已经有几年历史了,但仍然可以满足您的需求。
I'd recommend POJOs in Action, by Chris Richardson. It's a few years old but it still covers what you need.
在阅读了大量博客并对人们建议的配置这些项目的各种不同方式感到沮丧之后,我最终创建了一个非常基本的示例项目,它集成了 Spring 3.0.5、Hibernate 和 Ehcache。它还可以轻松启用 JMX。看看...
https://github.com/lookfirst/fallback
After reading a ton of blogs and getting frustrated by all the different ways people suggest configuring these projects, I finally just created a very basic example project which integrates Spring 3.0.5, Hibernate and Ehcache. It also enables JMX easily. Take a look...
https://github.com/lookfirst/fallback
我会推荐 spring 框架工作参考文档。其次,下载 Spring 源代码,设置项目,浏览内部结构,尝试使用 spring 下载提供的示例,谷歌帮助获取 spring 示例或教程。
你将成为大师!
I would recommend spring Frame work reference docs. secondly, download the Spring Source Code, set up the project, go thru the internals, try sample given with spring download, google help for spring samples or tutorials.
You Will be the Master!