Solved

Getting ResultSet via IDL (Corba)

Posted on 1997-09-16
3
322 Views
Last Modified: 2011-08-18
I want my applet (it runs in AppletViewer -> jdk 1.1) to
get the ResultSet which was made on the server. I'm using CORBA (VisiGenic 2.5). How should my .idl file look like (returning types of methods) and how should be appropriate methods in server class and in client class declared?
0
Comment
Question by:brat072297
  • 2
3 Comments
 
LVL 4

Expert Comment

by:russgold
ID: 1226991
How is the ResultSet on the server currently defined?
0
 

Author Comment

by:brat072297
ID: 1226992
ResultSet is Java interface. At the moment I convert the results
to the CORBA structure-sequence. Then they're pushed to the client. I want to skip the converting part.
0
 
LVL 4

Accepted Solution

by:
russgold earned 200 total points
ID: 1226993
Probably the simplest approach is to use Visibroker's java2idl compiler to create an IDL file automatically from your Java interface. You can then use the TIE method to associate a CORBA object with a corresponding Java implementation.  This requires the client to obtain the information in your ResultSet via method calls.

You may be able to do even better, perfomance-wise, by using VisiBroker's Caffiene product, which allows you to pass Java objects by value; this is not currently standard CORBA, but it works - and the OMG is working on a standard way to do exactly this (expect the standard to be pretty close to Caffiene).
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

777 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