An EJB server will always ask you go get the connection from the
server's connection pool which will in turn go into the JDBC connection.
(Though in EJB 1.1. world you will see DataSource looking through JNDI,
e.g. java:/comp/env/jdbc/demoPool.)
So jdbc:weblogic means the WebLogic JDBC driver, JTS is the transaction
server, and demoPool is some pool. Somewhere in the WebLogic
configuration file there will be an association between demoPool and
some real JDBC driver.
arkin
> Huyong wrote:
>
> Hi,
> I use Weblogic as my EJB server.I wonder where the database of
> Entity EJB locates.
> In the example of beanManager provided with Weblogic,there is a
> function:
> public Connection getConnection()
> throws SQLException
> {
> return DriverManager.getConnection("jdbc:weblogic:jts:demoPool");
> }
> What does "jdbc:weblogic:jts:demoPool " represent? How can I view the
> database structure and data of it?
>
> Thanks in advance.
> Huyong
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".