[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Getting ResultSet via IDL (Corba)

Posted on 1997-09-16
3
Medium Priority
?
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 400 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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 tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

650 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