• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question on Hibernate & JPA Training

 
Ranch Hand
Posts: 77
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Richard,

I have few questions.
1.What IDE is used while explaining Hibernate ? Does this course explains Hibernate manually too without using an IDE, so that the learner can understand what is happening exactly in the background whenever every line of code is executed ?
2. As Spring does half of the work of what is done by Hibernate , does this course include integration of spring with hibernate ?
3. What is the difference between Hibernate & JPA ?
4. Is it necessary to have JDBC knowledge to learn this course ? What are the pre requisites for learning this course?
5. As Hibernate deals with data base , does this course explain about the database table relationships ,procedures,etc because a java developer may not have much knowledge on databases concepts.

Thank you,
Shiva
 
Virtual Pair Programmers Rep
Posts: 29
7
Hibernate Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shiva, thanks for your questions, hope I can help:

1.What IDE is used while explaining Hibernate ? Does this course explains Hibernate manually too without using an IDE, so that the learner can understand what is happening exactly in the background whenever every line of code is executed ?



As with all of our courses, we stay IDE neutral. Of course we have to use an IDE for simplicity (we don't want to use notepad), but we don't use the IDE for any tricks - everything we do would work in any IDE or indeed a text editor. We chose Eclipse just as a random one, and we prefer you to use it for the course just to make it easier to support you if you have problems. But it really doesn't matter too much.

2. As Spring does half of the work of what is done by Hibernate , does this course include integration of spring with hibernate ?



Yes, it does - there are several chapters towards the end of the course that show how Hibernate integrates with regular web applications and with Spring. We go into quite a lot of detail here.

3. What is the difference between Hibernate & JPA ?



Oooh that's a good one! Hibernate came first, and was implemented by an independent software developer (Gavin King). It was incredibly popular and became very widely used. But then there was a feeling that Object/Relational Mapping should be a Java standard, so JPA was developed as an official standard specification of what a Java ORM should be.

The Hibernate people were themselves on the JPA committee, and JPA ended up looking very similar to Hibernate - it's model and way of working are pretty much identical.

So:

"classic" Hibernate is the original, you can tell if you are using classic by the classes "Session" and "SessionFactory" being in use.

JPA is a standard that anybody can implement, and there are several working implementations of JPA that you can switch between. Confusingly, Hibernate was re-worked as a JPA implementation, so if you wish you use JPA, you might choose to have Hibernate as the implementation "behind the scenes". So your code will use the JPA classes Entity and EntityManager, but the JAR files on your classpath are actually Hibernate.

So that we cover them both, we begin with classic Hibernate to describe the basic concepts, and then after a few chapters we switch to using JPA. But mainly, most of what we cover is equally applicable to classic Hibernate AND JPA.



You don't need JDBC, although it will help. The pre-requisites are: "You will need some Java programming knowledge - you will need to be able to create classes and objects, and understand the basic syntax. No database knowledge is required as an overview of SQL is given."

5. As Hibernate deals with data base , does this course explain about the database table relationships ,procedures,etc because a java developer may not have much knowledge on databases concepts.



Yes, there's a full chapter giving an overview of SQL, and everytime we hit something a bit harder (such as the difference between inner and outer joins), we explain this!

Thanks Shiva, I hope that helps!
 
Shiva Gajjala
Ranch Hand
Posts: 77
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply Richard . I am looking forward to attend the training.

Regards
-shiva
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic