jQuery in Action, 3rd edition
The moose likes Distributed Java and the fly likes CORBA ImplBase file not generated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "CORBA ImplBase file not generated" Watch "CORBA ImplBase file not generated" New topic

CORBA ImplBase file not generated

Bashar Abdullah

Joined: Mar 29, 2005
Posts: 14

i am totally new to CORBA and am kind of stuck in a project with it. I have gone through several examples on CORBA, and all of them agree to the fact, when I compile the IDL file, it should generate the ImplBase.java file.

I have gone through the example I have and ran the idlj command, got six files but did not get the one mentioned above. Below is the IDL file I used:

module clock {

// Defintion of CORBA enabled service
interface SystemClock {
long long currentTimeMillis();

and the command is: idlj -td src -pkgPrefix clock com.deitel.advjhtp1.idl -fall systemclock.idl

idlj version is 3.1 I have confirmed that. I get the following files:


Can anyone please help.

Vijayakumar Chandran

Joined: Apr 13, 2005
Posts: 2
you may be using higher version of JDK, i.e.,1.4 or more than 1.4.

JDK 1.4 uses a POA (Portable Object Adapter) and generates a file called "<idl name>POA.java"
JDK 1.3 uses a BOA (Portable Object Adapter) generates a file called "<idl name>ImplBase.java" instead.

The BOA�s main purpose is to allow an object server to interact with the ORB. A server process uses the BOA to tell the ORB when an object is ready to perform operations. The BOA has been deprecated by the OMG and replaced by the POA. So the Later versions of Jdk from Jdk1.4 supports POA bydefault and generates "POA.java" instead of "ImplBase.java"
Anyway here is the command to create ImplBase.java "idlj -fall -oldImplBase <idlfile>" using JDK 1.4 or higher.

The Portable Object Adapter (POA) supercedes the Basic Object Adapter (BOA) as the primary way of making implementation objects available to the ORB for servicing requests.

you can try these simple examples from sun site to play around

hope this suffices.

Bashar Abdullah

Joined: Mar 29, 2005
Posts: 14
Thanks very much. I had doubts about the JDK Version.

Thanks for the link as well
M Joraid

Joined: Apr 13, 2012
Posts: 2
Can someone please tell how to overcome this problem ?? Please .
I agree. Here's the link: http://aspose.com/file-tools
subject: CORBA ImplBase file not generated
It's not a secret anymore!