Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Originally posted by pascal betz:
[...] (how many times have you written the same stupid try/catch/finally PreparedStatement-ResultSet stuff over and over in your code ?)
Joao Vitor Lacerda Guimaraes<br />SCJP 1.4, SCJP 5.0<br />Belo Horizonte - Minas Gerais - Brazil
Originally posted by John Todd:
Hi all.
I heared a lot about Spring framework and hibernate and I really want to play with them.
but I have some questions :
1. are they an easy to learn technologies ?
thanks.
Originally posted by John Todd:
Hi all.
I heared a lot about Spring framework and hibernate and I really want to play with them.
but I have some questions :
2. can I relay on their documentation to learn these technologies.
I don't want to spend some money right now on some books.
thanks.
Originally posted by John Todd:
Hi all.
I heared a lot about Spring framework and hibernate and I really want to play with them.
but I have some questions :
3. is hibernate a replacement for JDBC and spring a replacement for EJB ?
thanks.
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. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds. Hibernate also allows you to express queries using native SQL or Java-based Criteria and Example queries. Hibernate is now the most popular object/relational mapping solution for Java.
Java/J2EE application framework based on [Expert One-on-One J2EE Design and Development] by Rod Johnson. Includes JavaBeans-based configuration, an AOP framework, declarative transaction management, JDBC and Hibernate support, and a web MVC framework.
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
LOL. You will still need some try/catch/finally in Hibernate2 to manage the Session (to solve the HibernateExceptions ;-)). This is changed only in Hibernate3 where HibernateException is now runtime exception
Originally posted by pascal betz:
Ali
if you use Springframeworks HibernateTemplate, then you do not have to care for the checked Exceptions. HibernateTemplate (API) only throws DataAccessException (API) (check also all the subclasses) which is a Rutime Exception.
pascal
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |