Questions tagged [idlj]

The IDL to Java compiler that reads an IDL file and translates it, or maps it, to a Java interface.

The IDL to Java compiler that reads an IDL file and translates it, or maps it, to a Java interface. It generates Java source code from IDL files. The generated code include server-side bindings and client-side bindings. For binding details, see the OMG IDL to Java Language Language Mapping Specification. Some previous releases of the IDL to Java compiler were named idltojava.

6 questions
3
votes
2 answers

How to declare/use forward reference to struct in CORBA IDL?

I have the following CORBA IDL 3.2, which attempts to declare a mutually recursive structure: module SE { interface SE { typedef unsigned short MenuItemID; // a small integer representing a unique menu item enum MenuSubaction {…
Ira Baxter
  • 88,629
  • 18
  • 158
  • 311
2
votes
1 answer

Idlj compiler is missing (Linux/JDK 11)

Can't find idlj tool for compiling .idl files. Checked /usr/bin and /usr/lib/jvm/java-11-jdk. Isn't it bundled with the JDK? How to add the idlj compiler? P.S. I'm more of a Python guy, and don't use Java a lot. So I'm sorry if it's a dumb…
Pasha Kuz
  • 23
  • 3
1
vote
1 answer

how to use idlj-maven-plugin to generate java files

I have one project called common. I tried to generate java source code from IDL files using idlj-maven-plugin, but failed again and again. I have multiple files under Idl/ folder which is at the same path as pom.xml. I have another project called…
liya
  • 46
  • 7
1
vote
1 answer

How do I create an array in IDL?

struct Car { string model; boolean reserved; }; interface gestion{ Car consult(in string model); }; I want to make the consult method return an array of Cars, do I need to create another struct and put a car array in it?
0
votes
2 answers

How to add resources created by idlj-maven-plugin to the generate-sources phase

I am trying to generate source files by using the idlj-maven-plugin. I have configured the plugin in the following way: org.codehaus.mojo
0
votes
1 answer

idlj parameter invalid argument -td mac?

Im trying to follow a tutorial to do a CORBA assignment. project -Client/HelloClient.java -Server/HelloServer.java -Hello.idl I do the first step, trying to compile the IDL (from the project root), and it fails. $ idlj –td Client –fclient…
jsky
  • 2,103
  • 5
  • 34
  • 50