Re: Best practice for using Ibatis in Web application

2008-12-03 Thread Larry Meadors
I'm looking at google guice + stripes + ibatis (ashamed to say it was Brandon and Nathan's idea though). Virtually zero configuration. It just works. Larry

Re: Best practice for using Ibatis in Web application

2008-12-03 Thread Rick
@Ashish You can look at Larry's old struts-spring-ibatis for basic web app setup: http://learntechnology.net/content/ibatis/spring_ibatis.jsp @Larry I did liked guice when I looked at it, but how does it help with iBATIS - I doubt it comes with and sqlMapClientTemplate? On Wed, Dec 3, 2008 at

Re: Best practice for using Ibatis in Web application

2008-12-02 Thread Kai Grabfelder
for me combining Spring with iBATIS is pretty much my standard way for using iBATIS in web applications. The webframework differs (may it be Wicket, Stripes or Struts) but iBATIS and Spring dependency injection always stays the same ;-). See the jpetstore (an example contained in the Spring

Re: Best practice for using Ibatis in Web application

2008-12-02 Thread Rinaldo
I agree with Kai, for me Spring and Ibatis are the better way to use Ibatis in a web Application. Regards -- Rinaldo Bonazzo Il giorno mar, 02/12/2008 alle 22.24 +0100, Kai Grabfelder ha scritto: for me combining Spring with iBATIS is pretty much my standard way for using iBATIS in web

Re: Best practice for using Ibatis in Web application

2008-12-02 Thread Zoran Avtarovski
+1 Spring and ibatis make life much simpler when used together. Z. I agree with Kai, for me Spring and Ibatis are the better way to use Ibatis in a web Application. Regards

Best practice for using Ibatis in Web application

2008-11-07 Thread Ashish Kulkarni
HiIs there any standard way or best practice for of using Ibatis in web application, This is how i use it In my InitServlet which is loaded when the application starts, i create instance SqlMapClient and save it in ServletContext. And in other servlets where i need to get data from database, i get