java Programming Glossary: mydatasource
Using a JNDI datasource created by another application with Tomcat http://stackoverflow.com/questions/1940546/using-a-jndi-datasource-created-by-another-application-with-tomcat jdbc oracle initContext.rebind jdbc oracle myDataSource MyDataSource If I use a lookup in this application the dataSource.. dataSource BasicDataSource initContext.lookup jdbc oracle myDataSource everything works fine and I can use my dataSource to getConnection.. But if I do the same lookup than previously I don't find myDataSource whereas there is still the previous application in tomcat and..
JDBC MySql Connection Pooling practices http://stackoverflow.com/questions/2313197/jdbc-mysql-connection-pooling-practices public class DatabaseBean private DataSource myDataSource public DatabaseBean try Context ctx new InitialContext ecwinsDataSource.. ecwinsDataSource DataSource ctx.lookup jdbc myDataSource catch NamingException ex ex.printStackTrace public Connection.. IllegalAccessException Connection connection myDataSource.getConnection System.out.println Succesfully connected connection..
What causes a NotSerializableException in Tomcat 7? http://stackoverflow.com/questions/6893833/what-causes-a-notserializableexception-in-tomcat-7 schema mvc spring mvc 3.0.xsd bean id myDataSource class org.apache.tomcat.dbcp.dbcp.BasicDataSource property name.. property name dataSource ref myDataSource property name annotatedClasses list value com.project.model.User..
|