Solved

Getting ResultSet via IDL (Corba)

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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 …

746 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

10 Experts available now in Live!

Get 1:1 Help Now