In our development environment currently we are using mokeEJB and we are
planning to switch to OpenEJB.
As I am new to OpenEJB and I have some doubts regarding the OpenEJB.

1) In my openejb.xml I have given the resource as 
        <Resource id="MySqlDS" type="DataSource">
             JdbcDriver  com.mysql.jdbc.Driver
             JdbcUrl     jdbc:mysql://localhost:3306/test
             UserName    root
             Password    root
        </Resource>
   How can I lookup this resource in my servlet which is called while
startup itself (I am using Tomcat.)
 
 2) In our current application we are accessing the DataSource as
        DataSource ds = (DataSource)context.lookup("java:/MySqlDS"); is it
possible to get the datasouce object like this in OpenEJB?

-- 
View this message in context: 
http://www.nabble.com/DataSource-Look-up-using-Tomcat-tp16485977p16485977.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to