EJB and connection pool doubt!

Hello!

I would like to know what i need to configure an ejb3 using jdbc connection pool.

InitialContext ctx =new InitialContext();

DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/WebRadio");

con = ds.getConnection();

I have configured a connection pool in the server already but ,

do i have to cofigure any xml file in the ejb, i'm using it but it's not working when i try to insert something in the db. Thanks for any help!!

[542 byte] By [Sonecaa] at [2007-10-3 4:18:47]
# 1
You must be more specific. Tell about errors or exceptionsCan you get your datasource? Can you connect by your self to your database?
aranzugliaa at 2007-7-14 22:20:31 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
I 've got no exceptions and my project runs normally the only problem is that i can't insert data in db, i have made the connection pool in the server and look up its jndi, my doubt is , have i to do something in the xml descriptors files?
Sonecaa at 2007-7-14 22:20:31 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...