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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
|
|