I'm doing a new web app and just starting out w/ spring and wondering if I should use Spring JDBC or Hibernate. I've not used either one before, but have done ejb2's w/ JDBC that I've done manually, lots of work, but very flexible. I haven't done this in a while now and remember ejb's as being quite heavy.
My current web app will have some 40 pages (using freemarker and Spring MVC) and all database driven so I'm looking for speed because each page request will hit the database. I'm hoping I can find some suggestions about what might be the best practice now to handle this. I really need speed because this site is expected to have lots of concurrent users logged in.
Any help much appreciated.
Not the right forum to address this: http://java.sys-con.com/read/180386.htm
Ok, a little help :-).
You can either use this: http://trailblazer.demo.jboss.com/EJB3Trail/
Or do a plain simple Spring style web app - no EJBs, just their DAOs (HibernateSupportDAO, ...) and Spring's transaction demarcation handling.