Announcement Announcement Module
Collapse
No announcement yet.
a question using spring + SLSB + hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    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

    Comment

    Working...
    X