Results 1 to 8 of 8

Thread: Anyone using Hibernate?

  1. #1
    Join Date
    Jun 2002
    Posts
    648
    Rep Power
    0

    Default Anyone using Hibernate?

    Anyone using Hibernate? I am thinking of checking it out to see how useful it is. I hear that it goes well with other frameworks like Struts, Tapestry, etc.

    Any advice?

    "Hibernate is a powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework"

    www.hibernate.org

  2. #2
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default Re: Anyone using Hibernate?

    I heard a lot about it but never tried it. My head is buried in .Net i havn't gotten a chance to get back to java yet.

  3. #3
    Join Date
    Jun 2002
    Posts
    648
    Rep Power
    0

    Default Re: Anyone using Hibernate?

    Quote Originally Posted by leoandru
    I heard a lot about it but never tried it. My head is buried in .Net i havn't gotten a chance to get back to java yet.
    Well, Don't bury it too deep Sounds like you miss Java...anyway... What have you heard about Hibernate? Good things? Bad things?

  4. #4
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default Re: Anyone using Hibernate?

    Basically it was a close friend of mine that mentioned he had the Eclipse plugin. bascically he said it was sweet, but that was about it, unfortunately the convo was short. Your the second person that mentioned it. I intend to do some java programming this weekend on some personal projects so i'll definately check it out.

  5. #5
    Join Date
    Jun 2003
    Posts
    159
    Rep Power
    0

    Default Re: Anyone using Hibernate?

    Quote Originally Posted by RobyG
    Anyone using Hibernate? I am thinking of checking it out to see how useful it is. I hear that it goes well with other frameworks like Struts, Tapestry, etc.
    I and a few friends of mine have been evaluating it. In principle we like it however, we were trying to schedule some "hammer" tests to see how it holds up under load.

    When we complete these test I will let you know.


    Was there anything specific you wanted to ask?
    I have within me the blood of kings....take me to the leader of your world.

  6. #6
    Join Date
    Jun 2002
    Posts
    648
    Rep Power
    0

    Default Re: Anyone using Hibernate?

    The results of your tests will be helpful to me. I have done some more research/readup on Hibernate...looks really good. From what i have read, it should hold up under load.

  7. #7
    Join Date
    Jul 2004
    Posts
    11
    Rep Power
    0

    Default Re: Anyone using Hibernate?

    "Hibernate is a powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework"

    I was evaluating it sometime ago.

    Note that Hibernate is not a standard but is open source. The standard for object/relational persistance was/is JDO. Hibernate was created before the JDO standard and hence as mentioned does not conform to the standard. There has also been heavy debate in the java community into the continuation of the JDO standard as EJB 3 is suppose overlap. I had stopped following it for some time so I am not sure on the current status of things.
    With the below links you can find information on JDO, EJB 3 respectively so you can see how everything is related.

    http://www.jdocentral.com/
    http://java.sun.com/developer/techni...beans/ejbease/
    http://java.sun.com/j2ee/persistence/faq.html


    One more point is that if you are going to use something like JDO or hibernate the real power will come with having a tool to aid in the creation of the xml configuration files. I think there is an eclipse plug- in for such a tool for hibernate. Note also that because JDO is a standard, you in theory should be able to have your xml configuration files and be able to switch between JDO implementations. If you use Hibernate and they have not conformed to the JDO 2.0 standard then you will not have the option to later change to another vendor or use another implementation.

    Good luck

  8. #8
    Join Date
    Oct 2004
    Posts
    4,814
    Rep Power
    24

    Default

    Ok I finally removed myself from .Net and has dug myself deep into Java again. Im creating a caching http proxy and decided to use Hibernate for cache objects.. So what do I think about Hibernate.. Two words! its slow.. really slow. I searched around on the net to see if a can find an ORDBMS. I found one and in my opinion it is much better alternative to Hibernate (If Object persistence is what you want). Well at least for what I was coding. Its name is DB4O (Database For Objects) Can be used in Both Java and .Net, its free and opensource as an embedded database.

    DB4O -> http://www.db4o.com/

    Some Interesting Bench -> http://www.db4o.com/about/productinf...on/benchmarks/

    DB4O does the job for me.. They is no need for a relational mapper for my Objects. And I could see and feel the speed improvement once I switched.
    Originally I was using HSQLDB and Hibernate which was fast cause operations were in memory but didn't behave well because of the lack of ACID support so I switched to Derby and Hibernate and that is where I hit the slow barrier.
    Last edited by leoandru; Aug 21, 2005 at 09:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •