Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id AE49E632C20; Fri, 30 Jan 2009 09:01:16 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78195-02; Fri, 30 Jan 2009 09:01:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from intern.proventis.net (intern.proventis.net [87.234.204.123]) by mail.postgresql.org (Postfix) with ESMTP id D8431632A22; Fri, 30 Jan 2009 09:01:12 -0400 (AST) Received: from server1.proventis.net (unknown [192.168.22.250]) by intern.proventis.net (Postfix) with ESMTP id BC85B2C1A3; Fri, 30 Jan 2009 14:01:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by server1.proventis.net (Postfix) with ESMTP id E88EDC440C3; Fri, 30 Jan 2009 14:01:01 +0100 (CET) Received: from server1.proventis.net ([127.0.0.1]) by localhost (server1.proventis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19710-05; Fri, 30 Jan 2009 14:01:01 +0100 (CET) Received: from [192.168.22.130] (tmarkus.proventis.net [192.168.22.130]) by server1.proventis.net (Postfix) with ESMTP id 45B5FC440C0; Fri, 30 Jan 2009 14:01:01 +0100 (CET) Message-ID: <4982FA0D.2090909@proventis.net> Date: Fri, 30 Jan 2009 14:01:01 +0100 From: Thomas Markus Organization: proventis GmbH User-Agent: Thunderbird 2.0.0.19 (X11/20081209) MIME-Version: 1.0 To: Reg Me Please Cc: pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org Subject: Re: PGSQL and Javascript References: <200901301240.37112.regmeplease@gmail.com> In-Reply-To: <200901301240.37112.regmeplease@gmail.com> Content-Type: multipart/mixed; boundary="------------020901050607070506090509" X-Virus-Scanned: by amavisd-new at proventis.net X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/1087 X-Sequence-Number: 143172 This is a multi-part message in MIME format. --------------020901050607070506090509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit look at apache cocoon for serverside javascript (rhino engine) you can direct access java classes. write all db stuff in java and access it from js var dao = Packages.my.own.package.DAOController.findAll(); Packages.java.lang.System.out.println(dao.myproperty); regards thomas Reg Me Please schrieb: > Hello all. > > Is there a way to directly access PGSQL from a Javascript application? > With no application server intervention, I mean. > Just like libq allows access from C/C++. > > --------------020901050607070506090509 Content-Type: text/x-vcard; charset=utf-8; name="t_markus.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="t_markus.vcf" YmVnaW46dmNhcmQNCmZuOlRob21hcyBNYXJrdXMNCm46TWFya3VzO1Rob21hcw0Kb3JnOnBy b3ZlbnRpcyBHbWJIDQphZHI6OztaaW1tZXJzdHIuIDc5LTgwO0JlcmxpbjtCZXJsaW47MTAx MTc7R2VybWFueQ0KZW1haWw7aW50ZXJuZXQ6dC5tYXJrdXNAcHJvdmVudGlzLm5ldA0KdGVs O3dvcms6KzQ5IDMwIDI5IDM2IDM5OSAyMg0KeC1tb3ppbGxhLWh0bWw6RkFMU0UNCnVybDpo dHRwOi8vd3d3LnByb3ZlbnRpcy5uZXQNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K --------------020901050607070506090509--