On 14/08/11 05:12, David Johnston wrote:
On Aug 13, 2011, at 11:57, c k<shreeseva.learn...@gmail.com> wrote:
Dear Postgres users,
from last few months I am reading and searching for can postgresql used as
application server? As postgresql supports many languages like pl/perl,
pl/python etc, supports dblink like functions to connect to other postgresql
servers and now features are in development to use external data. Postgresql
works well on many operating systems and has a stable and good quality code. As
many users are using plpython or plperl to work on many types of data and to
implement logic that can be useful in web application management.
So i am thinking if I can use postgresql as web application server.
Few points that supports this opinion:
1. multiple languages support for stored procs and triggers.
2. can connect to other postgresql servers or databases
3. it is easy to manage stored procs or triggers than managing web application
in other servers.
4. data and logic/processing can be separated. One postgresql can be used as
application server and another as database.
5. stable, mature and open codebase.
I request to users and developers give your suggestions and opinions.
Waiting for your replies.
Thanks and regards,
Chaitanya Kulkarni
Code yourself a nice "hello world" application that can accessed by a web
browser and outputs in HTML using only PostgreSQL. IF you can actually do that simple
task you will then be in a better position to decide if such an architecture is worth
expanding upon.
The better question to ask is why wouldn't you want to use something like
Tomcat or Apache+Programming Language?
David J.
Hi,
I see from other posts that you are using Python (A lovely language, but
one that does not scale well for my own purposes -- unfortunately) so
this is most likely not relevant to your current situation.
However, for those people who would consider Java, then consider using
JBoss 7, it is very fast and will support very sophisticated web front
ends while allowing very powerful logic written in Java, and can easily
be configured to use PostgreSQL.
The combination of JBoss http://www.jboss.org/overview.html and JEE
(Java Enterprise Edition), is well suited to large projects that can
benefit from multi-core processors and massive amounts of RAM. My own
humble development machine has a mere 4 cores and 8GB, but production
machines can easily use a terrabyte of memory and many more cores.
Eclipse is an IDE that is well suited for developing applications in
Java, and can be configured to develop applications for JBoss.
Cheers,
Gavin
I have written a script to install JBoss 7 (a lot easier than for JBoss
4 and earlier!) and convert it to use PostgreSQL 9.1 beta3. This I am
using to revise my JEE knowledge and get to grips with version 6 of JEE.