Hi, I'm building a JSP/JavaBean application, and am trying to figure out how to configure Resin1.1.2 web server. What is entailed in 'configuring' Resin to enable a JavaBean to communicate with an Oracle database via JDBC? Modification of .bat files or command-line prompts? The inclusion of certain lines of code within the jsp page or Bean itself? What extra steps will give the Bean the security privileges necessary to access the database over a local network? Any perspectives are welcome!
Resin has built-in database pooling, so the first step is to configure Resin for your database. That means editing resin.conf to put the jdbc url into the db-pool directive. Once this is done, it's just a matter of adding a few lines of code to your bean to get a connection from Resin's connection pool. There should be an example in the Resin help pages which are available when you start Resin.