I recommend JPA/Hibernate first. (Hibernate implements JPA so you learn both JPA and Hibernate APIs). That way you know how to work with the database. After that EJB and Spring. Knowing both will help in the long run. Luckily the concepts from one will expedite learning the other.
Jack Robertson wrote:Thanks, any book to recommend?
For EJB you may have the EJB 3 In Action (by Manning) which I have used, is a really good one. You may have a good coverage of JPA in the book itself. And for the Hibernate I think you can refer the documentation/API reference. I know there are more books for Hibernate/Spring too, but I cannot comment on them as I have not used any.
Jeanne Boyarsky wrote:EJB 3 in Action covers JPA as well so I'd go with that. For Spring, Spring in Action is good as well.
So which one should I learn first, ejb,struts,hibernate or spring?
posted 9 years ago
laura ding wrote:If I were you, I will learn Framework at first.
Agreed. I only asked cause one of my former teachers said EJB is like the guide for the frameworks but when I did my own research online they don't seem to share too much in common. Anyways just for the framework part, which one shall I study first? Can I learn spring first cause lots of java jobs seem to favour spring over the other two?