I have two thoughts on this. First is that it may be easier or more natural to do the integration work via the pre-existing Java classes. You didn't mention what the other system was using so there isn't much to go off of. I'm not sure how you normally get server systems to interoperate but there are a variety of interchange methods including SOAP, XML-RPC, CORBA, invent-your-own-language. Most of my work uses the standard Lotus Domino RPC so I can't speak to the efficacy of these new-fangled XML based interop methods.

Now on to the perl part. My guess is that there's a C or C++ API to your database as well. My first inclination would be to write some XS code to access the C api. Second would be to use the C++ api (only because I haven't tried C++ XS yet). The issues you run into here are generalized to your skills with C and C++ and whether it will be any good or not. XS works great and it's how many of the fancy modules on CPAN work. XS is also ugly and you need to somewhat familar with Perl's internals.

So here's a third idea. Consider Inline::Java, Inline::CPP or Inline::C. Some smart people have done all the magic work up front so you don't have to. The Inline::Java module is marked as very alpha and is something I'd use for an project I'm responsible for. The other Inline modules are more mainstream and are more likely to eat your dog and sell your cat. They're probably worth your time (again assuming you are going to use the C or C++ integration options I'm assuming you have around)


In reply to Re: Java/Perl Lingo by Anonymous Monk
in thread Java/Perl Lingo by jens

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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.