Hello guys ,
We are trying to migrate from JBoss to Glassfish here , and we need a connection pool.
On / In JBoss we have a "protocolo-ds.xml" in our deploy directory like this / that:
[code]
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/ProtocoloDS</jndi-name>
<connection-url>jdbc:oracle:thin:@192.168.2.29:1521:ORCL</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>pro</user-name>
<password>pro</password>
<min-pool-size>1</min-pool-size>
<max-pool-size>10</max-pool-size>
<idle-timeout-minutes>2</idle-timeout-minutes>
<blocking-timeout-millis>15000</blocking-timeout-millis>
</local-tx-datasource>
</datasources>
[/code]
Every programmer have a JBoss in your pc , so to enable the datasource we have only to copy this file to him deploy directory. Have a similar way in glassfish ?
Thanks in advice.
[Message sent by forum member 'guikeller' (guikeller)]
http://forums.java.net/jive/thread.jspa?messageID=210851