Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by rgwest61 (Initiate)
on May 13, 2016 at 14:21 UTC ( #1162963=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1162963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-06-26 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (86 votes). Check out past polls.

    Notices?