• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is DTO,DAO,Mappers and BAO

 
pawni jain
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Can anybody tell me about DTO,DAO,Mappers and BAO???

Also tell me is it better to use hibernate or spring??

Thanks.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Can anybody tell me about DTO,DAO,Mappers and BAO???

Sun have a page. Otherwise google is your best bet.

Also tell me is it better to use hibernate or spring??

Hibernate and Spring do different things. Its not an either/or question.
[ April 24, 2008: Message edited by: Paul Sturrock ]
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:

Hibernate and Spring do different things. Its not an either/or question.

[ April 24, 2008: Message edited by: Paul Sturrock ]


I have a few tutorials on DAOs with Hibernate that you might find interesting:

Creating Simple DAOs with Hibernate

Advanced Data Access Objects with Hibernate, JPA and Generics

As far as Hibernate or Spring, it's best to use them together when a project calls for both of them. On projects that only need Hibernate, you should only use Hibernate. On projects that only need Spring, you should only use Spring. Using Hibernate or Spring when you don't need them is frowned upon, although I have seen it done.

Check out hibernate.org or www.springframework.org to learn more about Spring and Hibernate.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic