Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

How to use CORBA in Perl?

( #11624=categorized question: print w/ replies, xml ) Need Help??
Contributed by Anonymous Monk on May 15, 2000 at 17:59 UTC
Q&A  > network programming


Description:

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?

Answer: How to use CORBA in Perl?
contributed by djantzen

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.

Answer: How to use CORBA in Perl?
contributed by princepawn

An alternative I saw posted to CPAN recently was COPE: corba objects for Perl. I havent tried it, but you might check it out.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others musing on the Monastery: (4)
    As of 2014-09-21 08:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (167 votes), past polls