Re: jsp postgres installation/configuration howto url

Поиск
Список
Период
Сортировка
От Michael Teter
Тема Re: jsp postgres installation/configuration howto url
Дата
Msg-id 20030428152826.21553.qmail@web10008.mail.yahoo.com
обсуждение исходный текст
Ответ на jsp postgres installation/configuration howto url  (Joseph Syjuco <joseph@asti.dost.gov.ph>)
Список pgsql-sql
For simple demonstration purposes, JSP+Postgres (or any jdbc-enabled db) is
very simple.

I'm not aware of a HOWTO, but here's a little advice:

Install PostgreSQL.  Start postmaster with "-i" option.
Download the postgresql jdbc driver (from http://jdbc.postgresql.org).

Look on java.sun.com for jdbc tutorial.
Use a connection string similar to this to connect to your database:
Connection db = DriverManager.getConnection( "jdbc:postgresql://127.0.0.1:5432/mydatabase", "myusername",
"mypassword")

For testing purposes, doing this in JSP is just like doing it in a simple java
program.

When you get ready to have multiple users, I recommend modifying your webapp
to use DDConnectionBroker to pool your database connections.

MT

--- Joseph Syjuco <joseph@asti.dost.gov.ph> wrote:
> I would like to experiment using jsp with postgres and i need help on
> the url of a simple tutorial on how to configure jsp and postgres.
> Thank  you so much
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



В списке pgsql-sql по дате отправления:

Предыдущее
От: rute solipa
Дата:
Сообщение: Re: replace function
Следующее
От: rute solipa
Дата:
Сообщение: help query