Jaidev Haridas

Greenhorn
+ Follow
since Feb 27, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jaidev Haridas

I have a java bean object (derived from JPanel). When I save this bean object in JDK1.2.2 and read it back using JDK1.3.1, a InvalidClassException is thrown.
Is there any way to maintain my file to be deserialized even when the jdk version changes? I have overridden the read and write Object methods and do not call defaultRead or write method. I also maintain a constant serialVersionUID. But, it sees the JPanel id and throws the exception.
Please let me know if there is any solution for this problem.
Thanks in advance,
Jaidev
22 years ago
What is the best way to have an application/applet use JDBC? If a 3 tier approach is used- what are the options for the middle tier-client communication and which of them is the best (in terms of performance/scalability etc.)?
From very little I know, the options are SOAP and RMI. Are there any more.
Thanks in advance,
Jaidev
I have managed to get to load a class at runtime using the URLClassLoader. But the same technique failed when I tried in an applet and loaded the html file using this applet(because URLClassLoader was introduced in 1.2 and the browsers don't have them yet!). Can anyone tell me how to achieve this. The class I need to load is in a jar file and I have no clue at compile time about the class or the place where this jar is stored (so I cannot use -cp with javac).
Thanks in advance,
Jaidev
23 years ago
This app puts up its own UI components needed for CAD systems and it does some CAD drawings. This library for drawing is huge and difficult to port.
Thanks,
Jaidev
23 years ago
Well... I have no choice in the matter. This is the whole deal-
We have a java application that hosts client app's UI. It worked fine till now 'cause all the client apps were in Java. But now we have a legacy app written in c++ which uses win32 apis and hosts its UI in a windows frame. Now, the easiest way to use the java app is to replace the Windows frame with java's frame. If this not possible- its a lot of work to port this legacy code to Java.
Thanks,
Jaidev
23 years ago
I wanted to know how to get about creating UI using win32 APIs in native code. This requires obtaining the java frame's (or panel's) handle and using that as the parent when creating buttons etc, in native code.
Well... I could get a handle to canvas but failed to obtain the handle to the frame or panel. Therfore, I was forced to put a canvas just for this. Moreover, when I tried to put a button on the canvas, the UI was not responsive at all and the only way to end the application was to use task manager!
Any help will be appreciated.
Thanks in advance,
Jaidev
23 years ago