Results 1 to 2 of 2

Thread: a question using spring + SLSB + hibernate

  1. #1
    Join Date
    Jan 2005
    Posts
    9

    Default a question using spring + SLSB + hibernate

    hi everyone. i'll develop application in weblogic and the architecture is spring + SLSB + hibernate.. but i don't know how call a hibernate method.
    so i thouht two kinds of way
    1. using spring ORM

    2. using sessionFactory of hibernate

    which is the better architecure? and where can i find a good information?
    have a good day

  2. #2
    Join Date
    Aug 2004
    Location
    Amsterdam, Netherlands
    Posts
    450

    Default

    It's not either Spring ORM or sessionFactory or Hibernate. Spring facilitates the use of Hibernate (in case you have chosen Hibernate as your ORM tool).

    So first make a choice for a specific ORM tool (Hibernate, JDO, TopLink, iBatis, whichever suits your needs) and then use Spring to facilitate the use of it (resource management, transaction-session synchronisation, etcera).

    I think you should have a look at the petclinic sample application. It uses Hibernate (without SLSB though).

    regards,
    Alef
    Alef Arendsen
    SpringSource
    http://www.springsource.com

Similar Threads

  1. Replies: 5
    Last Post: Feb 3rd, 2009, 05:19 AM
  2. Replies: 3
    Last Post: Aug 16th, 2007, 12:10 PM
  3. A Spring Class Loader?
    By azzoti in forum Architecture
    Replies: 8
    Last Post: May 7th, 2005, 04:02 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 7
    Last Post: Aug 21st, 2004, 03:42 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
  •