[Objectbridge-developers] connection questions
Brought to you by:
thma
From: Melzer, S. <Ste...@Pa...> - 2001-06-02 00:42:41
|
Hello, my name is Steven Melzer and I am new to both ObjectBridge and persistence in general. I have been looking for a persistence solution for our web based database storage. We are an Oracle shop using Weblogic as our application server. I downloaded ObjectBridge and built a very simple example using MySQL on my local machine at home. It worked well. But I have several questions when it comes to integrating it with WebLogic: 1) It seems that the ConnectionManager holds its own pool of connections. I wish to use WebLogic's DataSource as a connection pool. I can see how to change the source to do this, but i did not want to modify core code without some feedback. 2) The ConnectionManager is a singleton class holding connections. However, I never see these connection being released anywhere. I check StatementForClass and StatementManager, but I cannot find a connection.close(). If the connection is maintained in the ConnectionManager and never released, then the entire application in WebLogic will share the same connections. If our app has hundreds of simultaneous users, then the single connection is going to be a major bottleneck. This goes back to the first question above. thanks in advance, steve Steven Melzer E-Business Technology 813.351.2215 ste...@pa... |