http://www.perlmonks.org?node_id=11624

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: (network programming)

After download an see the CORBA::MICO module, I can't get any idea on how to use CORBA in Perl. How map IDL methods to Perl class methods?

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: How to use CORBA in Perl?
by djantzen (Priest) on Dec 28, 2002 at 02:08 UTC

    When building a CORBA-based application, the link between your IDL files and your own code is bridged by an IDL compiler. In the COPE package, this compiler is called idl2perl.

    The compiler will parse the IDL and use it to generate code required to support method invocations between objects. The generated code fits into two general categories: client-side stubs, and server-side skeletons. (Note that the specific files generated will vary according to ORB implementation.)

    As a programmer, your job at this point will be to supply the server-side behavior, generally contained within a class named "Class_impl", where "impl" indicates that it is the implementation. Your client objects will compile and link to the stubs, and invoke methods upon remote objects as though they were running within the same process.

Re: How to use CORBA in Perl?
by princepawn (Parson) on May 18, 2000 at 22:23 UTC
    An alternative I saw posted to CPAN recently was COPE: corba objects for Perl. I havent tried it, but you might check it out.