473,385 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

which jdk i should opt for pgsql8.2 to implement jdbc interface

18
hi all,
i am in urgent need of some expert suggestions regarding which jdk i install for my
linux (EL4) , so as i write programs and applications to interact with pgsql8.2 databse server through JDBC.
i went on
sun developers network
there are a lot of options-
1. JDK 6u1
2. JDK 6u1 with Java EE
3. JDK 6u1 with NetBeans 5.5.1
i am confused which one i opt.
my motto is to launch a database server using pgsql8.2 with JDBC as client interface.could any one of u plzzz suggest what to do next.i have already upgraded to pgsql8.2.
with regard
mamoon
May 28 '07 #1
5 1590
JosAH
11,448 Expert 8TB
hi all,
i am in urgent need of some expert suggestions regarding which jdk i install for my
linux (EL4) , so as i write programs and applications to interact with pgsql8.2 databse server through JDBC.
i went on
sun developers network
there are a lot of options-
1. JDK 6u1
2. JDK 6u1 with Java EE
3. JDK 6u1 with NetBeans 5.5.1
i am confused which one i opt.
my motto is to launch a database server using pgsql8.2 with JDBC as client interface.could any one of u plzzz suggest what to do next.i have already upgraded to pgsql8.2.
with regard
mamoon
You mean the Postgres SQL database right? Just the latest jdk will do fine (6u1).
It depends what you want to do, if you want to build enterprise applications you
need JEE also. It also depends *how* you want to develop your applications.
If you like the Netbeans IDE install that one too, but for standalone applications
all you need is the JDK 6u1; your database comes with the version 4 jdbc
implementation.

kind regards,

Jos
May 28 '07 #2
mamoon
18
You mean the Postgres SQL database right? Just the latest jdk will do fine (6u1).
It depends what you want to do, if you want to build enterprise applications you
need JEE also. It also depends *how* you want to develop your applications.
If you like the Netbeans IDE install that one too, but for standalone applications
all you need is the JDK 6u1; your database comes with the version 4 jdbc
implementation.

kind regards,

Jos
hi Jos,
thanks
i have to launch a database on www. for that i want that JDBC should be client interface interacting with pgsql database server on my system on user request. you plz tell me the following queries:
1. jdbc programming will be in JAVA, isnt it?
2. i have to make quey form or search page in HTML.
3. how would i connect user's query to my jdbc program in order to fetch something from database?
please make clear the basic architecture of this plan.
with warm regard
mamoon
May 28 '07 #3
JosAH
11,448 Expert 8TB
hi Jos,
thanks
i have to launch a database on www. for that i want that JDBC should be client interface interacting with pgsql database server on my system on user request. you plz tell me the following queries:
1. jdbc programming will be in JAVA, isnt it?
2. i have to make quey form or search page in HTML.
3. how would i connect user's query to my jdbc program in order to fetch something from database?
please make clear the basic architecture of this plan.
with warm regard
mamoon
Yep, jdbc programming is just Java programming. You connect to your database
by either loading your driver given the correct URL to your database, or your
use a DataSource object for that. Jdbc doesn't care where your database is
located as long as it can reach it through the supplied URL.

On the other hand, your database doesn't care where your query comes from
and how it was composed. Jdbc simply submits the sql statement and fetches
the results (if any).

If you want to compose a sql query using html forms, you're free to do so.
Given the short description you supplied I guess a Servlet container (TomCat?)
handles the submitted form, your business logic composes the query and
passes it on to the database; the results can be send back to the client in
html format.

kind regards,

Jos
May 28 '07 #4
mamoon
18
Yep, jdbc programming is just Java programming. You connect to your database
by either loading your driver given the correct URL to your database, or your
use a DataSource object for that. Jdbc doesn't care where your database is
located as long as it can reach it through the supplied URL.

On the other hand, your database doesn't care where your query comes from
and how it was composed. Jdbc simply submits the sql statement and fetches
the results (if any).

If you want to compose a sql query using html forms, you're free to do so.
Given the short description you supplied I guess a Servlet container (TomCat?)
handles the submitted form, your business logic composes the query and
passes it on to the database; the results can be send back to the client in
html format.

kind regards,

Jos
thanks alot Jos for basic understanding you supplied. would you suggest me any site or source from where i may learn the basics as well as advances regarding my work.
mamoon
May 28 '07 #5
JosAH
11,448 Expert 8TB
thanks alot Jos for basic understanding you supplied. would you suggest me any site or source from where i may learn the basics as well as advances regarding my work.
mamoon
Maybe you can just start here and work your way up from there.

kind regards,

Jos
May 28 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Choubey | last post by:
hi everybody, Iam a java programmer actually i want to know how the Connection object is created through DriverManager.getConnection when DriverManager class is not implements Connection...
8
by: Zheng Da | last post by:
I don't know where should I ask the question, so send the email to this group. I choose this group, because I want to write the program with c++ :) I want to write a program which support...
1
by: BARTKO, Zoltán | last post by:
Hello folks, I have installed PgSQL8 beta4 via pginstaller to WinXP. I must tell you I am more familiar with Linux, so maybe my problem is trivial to solve: I made myself a table with...
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
34
by: Guch Wu | last post by:
Boost has many terrific libraries. But I want to know whether they are ready for using in real projects. Which of them are mature enough, or just only in progress?
2
by: ABC | last post by:
Can I create an Interface which have a method have variate type parameters? I want create an Interface named IDataEditable which have two methods: LoadRecord and SaveRecord. As the LoadRecord...
3
by: kavallin | last post by:
I wonder if anyone has compared the db2 universal jdbc driver type 2 and 4 with the legacy db2 driver. Which one is the best to use ? I'm working in a project where the envm looks like this ...
5
by: bz | last post by:
Hi, I create a class that retrieves a number of records from database. Internally, the class store the returned data in a datatable / datareader. I would like to bind a listbox to that class (to...
6
by: greenxiar | last post by:
How to get the function from "rewrited interface implement"? interface I { int Value { get; } } class A : I { int I.Value { get { return 1; } } } class B : I { int I.Value { get { return 2;...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.