Joined: Tue Nov 13, 2007 7:25 am Posts: 8 Location: Bhubaneswar
|
I'm using Struts & Hibernate in my project. But the problem comes when I'm trying to deploy the project into our Server & access it by more than 100 people simultaneously. Its the case of failure of pooling.
After that I've tried to implement C3P0 connection Pooling. But the doubt is how can I implement C3P0 with Struts & Hibernate in my Web application.
When using simple DBCP Connection Pooling with StrutsDAO design pattern we need to initialize that in our custom ActionServlet class which extends ActionServlet of Struts.
In Hibernate I've clubbed the C3P0 codes into hibernateCfg.xml file. But how to initialize that ???? How can it handle the pooling ???
Any views, any suggestions are widely appreciable.... So members please help.....
_________________ Regards
Lalit Narayan Mishra
|
|