Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by foramit

  1. foramit

    Edit or View Resultset from Database - Design Question

    I have a JSP page which display a resultset from database, that look something like this Name1 Age1 Address1 City1 State1 I want to display this result set and also display a edit and View button such as Edit View Name1 Age1 Addres1 city1 state1 Edit View Name2...
  2. foramit

    JNDI Looup in Servlet- Design Question

    Thanks for reply.<p> So now I have the following DbHelper.java public class DbHelper { public static Connection getConnection(String jndiName){ System.out.println(jndiName); try { Context ctx = new InitialContext(); DataSource datasource =...
  3. foramit

    JNDI Looup in Servlet- Design Question

    I will appreciate if someone answers/clarifies my following questions. I am using Tomcat Connection pooling. 1. If I understand correctly- with Connection Pooling - Server will take care of opening the connections with DB So if the Max users allowed is 10, it means that at any given time 10...
  4. foramit

    Design Question - JSP- Bean + Servlet

    I am trying to understand what is the best design approach for my application - that will be mainly ding entry of data thru JSP Pages, and retriving Data. My questions specifically is. I am using tomcat Connection pooling. 1. Where should I place my code that does context Lookup? I read...
  5. foramit

    Tomcat - Database Connection Pooling- Question

    Truthfully, I dont know the answer to your question as I dont know much about it. What are the different types? Can you prvide me some info ? OR where can I look up? All I I want to do is Define a Datasource by going in Tomcat Admin ( under data source). MYSQL and ODBC driver And once done...
  6. foramit

    Tomcat - Database Connection Pooling- Question

    I was reading on tomcat forum. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html If you scroll to the part under PostGreSQl it as a topic "2b. Application-specific resource configuration" Would you know what exactly they mean by that ? Thanks for your...
  7. foramit

    Tomcat - Database Connection Pooling- Question

    I am considering to use a Shared hosted Environment for my website- currently in very early stage ( Tomcat,MYSQL and JSP) I know that in shared environment, we do not get access to server.xml file if I want to use Connection Pooling. Is there an alternative way that I can use ? Or do I need...

Part and Inventory Search

Back
Top