in reply to Re: Dazed/Confused from previous posts on how to call Java method from Perl
in thread Dazed/Confused from previous posts on how to call Java method from Perl

My apologies the database connection attributes (driver, url, username, password) are contained in a configuration file which is read and the associated attributes for the provided application id and retrieved and stored in the ConnectionProperties object. The Username and password values are encrypted and stored in the configuration file for security reasons. They are then decrypted before storing in the ConnectionProperties object. I still need detailed/specific code/instructions on what is needed to call the indicated class method. Thanks again for your time.

  • Comment on Re^2: Dazed/Confused from previous posts on how to call Java method from Perl

Replies are listed 'Best First'.
Re^3: Dazed/Confused from previous posts on how to call Java method from Perl
by iguanodon (Priest) on May 14, 2016 at 03:46 UTC
    Can you parse the config file and decrypt the credentials from the Perl program? If you absolutely need to get the connection attributes from the Java object I have to echo what Paladin said - look into Inline::Java, but I haven't done this myself.