Solved

Getting ResultSet via IDL (Corba)

Posted on 1997-09-16
3
324 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
diffSum example 4 50
Oracle SQL syntax check  without executing 6 75
even odd program using while loop 3 60
tomcat not starting 6 68
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 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