Skip to main content

What is the expected behavior of java2iiop when an interface is derived from another project?

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name:VisiBroker Java
  • Product Version: 5.x & 6.x
  • Product Component: java2iiop
  • Platform/OS Version: All
  • JDK/Compiler Version: JDK1.3.x and JDK1.4

If project A describes a CORBA interface in Java and project B has a CORBA interface in Java that derives from project A's interface, will project B's build generate all project A's stubs/operations files as well.

Resolution:

Yes. If Project B has interface derived from Project A, all Stub's/Operations file will be generated for Project A. This is the expected behavior of java2iiop. The reason being compiler does not read Java source code (java files) but Java bytecode to generate IIOP-complaint stubs and skeletons.


#java2iiop
#Java
#VisiBroker
#Security