Re: persistent JDBC connections with a daemon

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Eric Frazier <ef(at)kwinternet(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: persistent JDBC connections with a daemon
Date: 2003-01-12 00:01:33
Message-ID: 1042329693.2324.1.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Eric,

Just create a class, put a main in it, and loop forever?

That's all there is to it, unless I'm missing something.

Dave
On Sat, 2003-01-11 at 14:59, Eric Frazier wrote:
> Hi,
>
> I have a very small Java application that connects to a remote host's DB and
> does a simple query. I don't want to install a big framwork like Tomcat just
> to do this one task, but it is pretty slow as it is running though a CGI
> wrapper, and the startup time of the JVM is pretty noticeable.
>
> I do know that there is a daemon tools project from the Jakarta project, and
> that there is also a Posix libary for Java. But I can't seem to find an
> example of anyone acutlay using those to make a java daemon. The whole
> reason I am using Java at all is because of JDBC, I tend to think that Java
> itself can take a flying leap, except that I just drool over JDBC, love it,
> love it! So if any of you have any pointers or URLs that would be great.
>
>
> Thanks,
>
>
> Eric
>
> (250) 655 - 9513 (PST Time Zone)
>
> "Inquiry is fatal to certainty." -- Will Durant
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
Dave Cramer <Dave(at)micro-automation(dot)net>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-01-12 00:24:43 Re: Sequence
Previous Message Simon Mitchell 2003-01-11 23:41:22 Re: persistent JDBC connections with a daemon