使用 Spring、Hibernate 学习 Java EE 的资源
我有.NET C#背景,想学习Spring和Hibernate。请给我指出相关网站、教程、书籍等。
I am from .NET C# background and want to learn Spring and Hibernate. Please point me to relevant sites, tutorials, books etc.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请不要购买其中一本“Hibernate、Spring、J EE X - 快速而痛苦”或类似的书。它会让你脑子里的框架变得混乱,你不知道如何独立地使用它们。
首先看看 spring 框架,它是最通用的,并且有很棒的在线文档:
http://www.springsource .org/documentation
然后对于 ORM,我强烈建议查找 JPA2,因为它比 hibernate 有更多更好的功能(并且错误更少)。从此处下载 Glassfish 3 Java EE 6 应用程序服务器:
http://glassfish.java.net/downloads/3.1-final.html
,它已经附带了 Eclipselink JPA2 实现,并获取由 JPA2 规范创建者之一编写的“掌握 JPA2”一书,这非常棒。
Please oh please don't buy one of those books "Hibernate,Spring,J EE X - quick and painelss", or something like that. It will jumble the frameworks in your head and you won't know how to use them independent of one another.
Look at spring framekwork first, it's the most generic of all, and it has great online documentation:
http://www.springsource.org/documentation
Then for ORM, i would strongly recommend looking up JPA2 as it has alot more nicer features (and less bugs) than hibernate. Download Glassfish 3 Java EE 6 application server from here:
http://glassfish.java.net/downloads/3.1-final.html
, it already comes with Eclipselink JPA2 implementation, and get the book "Mastering JPA2" it's written by one of the JPA2 specs creator and it is great.
我个人建议我们的初级开发人员访问此网站 http://springbyexample.org/
I personally point our junior developers to this site http://springbyexample.org/
Manning 的 Spring in Action 对我来说非常有用。 Apress 的 Spring Enterprise Recipes 也是一个不错的选择。除此之外,我发现在线文档最有用。
Manning's Spring in Action was quite useful to me. Apress' Spring Enterprise Recipes is also a fine pick. Other than those, I find the online documentation most useful.