?
Solved

Getting ResultSet via IDL (Corba)

Posted on 1997-09-16
3
Medium Priority
?
328 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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 …
Suggested Courses

801 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