• 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

Three questions about ORM and Spring Framework

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two statements, but not sure whether they are
correct or not. I have a question. Here you are:

1. CMP and BMP were used together to work with objects
in memory but persist objects in hard disk as
relational datbase before the popularity of ORM tool,
like Hibernate or OJB.

2. EJB vendor like weblogic, oracle, websphere, sun,
jboss, each implements Enterprise Container including
CMP, but developers have to code the Deployment
Descriptors for session bean, CMP by themselves.

3. Spring Framework is an alternative to EJB
Container. I am wondering whether Spring Framework and
Hibernate can be used together or not?

Thanks in advance.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


1. CMP and BMP were used together to work with objects
in memory but persist objects in hard disk as
relational datbase before the popularity of ORM tool,
like Hibernate or OJB.


Entity beans are an ORM technology themselves.


2. EJB vendor like weblogic, oracle, websphere, sun,
jboss, each implements Enterprise Container including
CMP, but developers have to code the Deployment
Descriptors for session bean, CMP by themselves.


Yup. Unless they use a suitable IDE that does it for them (RAD for example)


3. Spring Framework is an alternative to EJB
Container. I am wondering whether Spring Framework and
Hibernate can be used together or not?


Yes. Support for Hibernate comes out the box. You can use Spring, or just use Hibernate directly for your persistence layer.
 
reply
    Bookmark Topic Watch Topic
  • New Topic