Subject | Re: [Firebird-Java] Re: Firebird connection slow through Internet |
---|---|
Author | Steven Jardine |
Post date | 2005-07-14T15:31:43Z |
nagypapi wrote:
connecting to the www server via Java? It may be that a brower is using
cached pages and when you connect in Java you have to do a DNS lookup.
I would probably start by looking at the DNS configuration of the
machine you are using and make sure any of those issues are resolved
first.
BTW, We implemented a work around for the slow connection bug in
Jaybird 2.0 beta 2. JDK5.0 should now connect quickly when using a raw
ip address.
Steve
>Jdk 1.4 doesn't have the slow socket connection bug (at least withCorrect. This bug was introduced in JDK 5.0.
>me).
>
>I know this isn't firebird-java related anymore (kick me), but I wasI am not sure about this. It sounds like a DNS issue. Are you
>wondering maybe you experienced people could give me a hint why
>connecting to a computer's www server takes just a few seconds, while
>connecting to the same computer's fbserver takes much more. Both are
>TCP sockets aren't they? Btw, connecting to a non fbserver java socket
>takes quite a while too.
>
>
connecting to the www server via Java? It may be that a brower is using
cached pages and when you connect in Java you have to do a DNS lookup.
I would probably start by looking at the DNS configuration of the
machine you are using and make sure any of those issues are resolved
first.
BTW, We implemented a work around for the slow connection bug in
Jaybird 2.0 beta 2. JDK5.0 should now connect quickly when using a raw
ip address.
Steve