Huyong wrote:

 >  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?


This is a question better posted to the WebLogic newsgroups on the
news server at www4.weblogic.com .

Also, you can find the answer to this in the WebLogic developer's
documentation at:
   http://www.weblogic.com/docs45/resources.html

In WebLogic, connection pools are set up in the weblogic.properties
file in the WebLogic home directory.  If you look in this file,
you'll see a line similar to:

weblogic.jdbc.connectionPool.demoPool=\
        url=jdbc:cloudscape:demo,\
        driver=COM.cloudscape.core.JDBCDriver,\
        initialCapacity=1,\
        maxCapacity=2,\
        capacityIncrement=1,\
        props=user=none;password=none;server=none

This sets up a connection pool called demoPool, to a database
called demo, using the Cloudscape JDBC driver.

This is what many of the WebLogic examples use.  The WebLogic
properties file has many of the necessary settings for the
examples and tutorials already entered but commented out.

When you set up a new database in Cloudscape, you specify the
directory where the database is located.

You can view the database structure using the Cloudview GUI
provided with the Cloudscape eval (comes with WebLogic).

For more information on using the Cloudscape tools, see:
   http://www.cloudscape.com/support/doc_20/doc/html/coredocs/booksol.htm

Hope that helps,
Paul

===========================================================================
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".

Reply via email to