Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Several Connection to Oracle8i

Thread view: 
pierrerama@keromail.com - 13 Jun 2007 08:11 GMT
Hello,

Excuse for my bad english.

I would like make an multitask application (not web application). This
application could ask several request in a same time.
The problem, with an only connection, it's not possible, because the
second request waits the first request ended.

How resolving this issue? If I create an pool connexion on the server,
could I transfer a connection to another computer via RMI?

Is it correct?

Thanks for advance.
stefanomnn - 13 Jun 2007 10:02 GMT
On 13 Giu, 09:11, pierrer...@keromail.com wrote:
> Hello,
>
[quoted text clipped - 11 lines]
>
> Thanks for advance.

you should centralize on server methods who acces database:
you have getting a new connection for each request, a lot of
containers provide a connection pool, to help you for thiis goal!
Real Gagnon - 13 Jun 2007 12:33 GMT
> How resolving this issue? If I create an pool connexion on the server,
> could I transfer a connection to another computer via RMI?

Oracle JDBC driver has a built-in connection pool.

See http://www.rgagnon.com/javadetails/java-0545.html

Bye.
Signature

Real Gagnon  from  Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.