Solved

JDBC

Posted on 1998-05-26
2
153 Views
Last Modified: 2010-08-05
Hello,
     I am trying to develop a program that will be able to pick up a set of numeric data from
a file and display graphs on a real time basis. I am wondering whether to write this program in Java or Perl.
Can someone give some advice on what would be the best way to approach this problem. Since it involves a database, would I have to use excel and write a java applet that will pick up the data from the excel file ?
I would greatly appreciate it if someone could give some advice on how to approach this problem.
Waiting for a response.
Jeetandra
 
0
Comment
Question by:jmahtani
2 Comments
 
LVL 6

Expert Comment

by:jpk041897
ID: 1221490
Java contains a library called JDBC wich allows you to use a JDBC or ODBC driver to acces data.

As long as your data is inside any ODBC compliant product (Excell and Text file included) you will be able to access the data frome either a Java applet or application. (Applet access is a bit more complicated due to security restrictions but can also be done).

Weater to use Perl or Java should realy depend on several factors:

Your time frame to finish the app.

Your knoledge of Perl and Java/C++

If the app will be accesed as a remote application over the CGI paradign.

The Hardware platform (Java has heavy VM requirenments which could negativley affect an NT or Win95 based server)

Your experience with the languages.

If you could post some more information taking these factors in mind, I would be able to give you a more detailed recomendation.
0
 
LVL 4

Accepted Solution

by:
evijay earned 100 total points
ID: 1221491
The best solution to this problem is to use Corba technology mixed with JDBC.
You write a set of corba components that use jdbc to access database.
The client applets get handle to these corba components and install their callbacks (clients are also corba components here). The server components on noticing change in data in database (which you implement by writing some polling mechanism to database flags), invoke client callbacks.

More info can be found in

Client/Server Programming with Java and Corba  by Robert Orfali


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Eclipse IDE - Cannot copy/paste from console output 8 127
Java Timer (static) 9 36
servlet doXXX methods 3 36
MySqlDump not dumping triggers 1 17
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now