Click to See Complete Forum and Search --> : JDBC and JAVA Server


Kiran
August 19th, 1999, 12:16 AM
I'am required to develop a JAVA web application in
10 days(September 1st 1999). The details of the application are as follows.
It is a three tier architecture. The GUI is a this client applet. The backend database is oracle 8. The middle tier should consist of a server that processes the requests from the applet. You should be able to run the applet from
anywhere. The GUI consists of simple functions
like insert, delete, update, save, query etc.
The database is a remote data base.

I've got two problems. Firstly, how do you connect to a remote database using the getConnection function. The database server name is 'ardent' and the database name is 'adnt'.
Secondly, how do you go about developing the server. (sockets, RMI, URL ???)
I would really appriciate if you could provide me with the source code. Please help ...

My email ID is pkiran27@yahoo.com

August 22nd, 1999, 05:30 PM
Hi.

I expect that someone will gives you some advice, but seems not to do.

Actually, since I don't work this project directly, I just explain the scratch of my company e-commerce site, but not published yet.

1) Web server - Netscape web server.
2) Client and part of server - Javascript
3) Java server applicatoin of connection between Javascript and Oracle 8. (RMI)

But this combination has some problem - IE runs too slow to query the database.

Socket programming is a basic concept of RMI and Servlets. That is, Socket works on the background of RMI.. I suppose.
I think that Applet seems to be dangerous if you use Java 1.2 because IE and NS can't support all of applet.
We must check applet functionality of both IE and NS at least. Otherwise, the cusomter will be angry.

As a result, Javascript + Java RMI + Oracle + Netscape Server, but IE runs too slow.
or Java applet, written the lower version (1.1.6 ?) + RMI + Oracle + Netscape Server.

To be sure, Java is a good language. But I hate these situations that we must check its functionality to both IE and NS at
the commercial level of web development. So waste a time.

If anyone has a good idea, let us know.

Regards.
-Masaaki Onishi-