File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Perl and the fly likes Java connection Object to PERL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Perl
Bookmark "Java connection Object to PERL" Watch "Java connection Object to PERL" New topic

Java connection Object to PERL

suma kan

Joined: Aug 22, 2013
Posts: 1

I have seen this topic discussed in many forums but i dont see a simple example which helps me out.
I am looking at passing Java database connection object to PERL script(Which sits on a Linux box)
I dont want to create a new connection because do nt want to send password to perl

Option 1: Use DBD:JDBC
Not very clear about this example

Option2: Use JDBI Api
Create a datasource.Pass the data source to DBI.
IS there a way to pass the DBI object to perl and execute queries

I think there would be people who have acheived it very easily.
If someone can share some examples it will be really helpful.

I agree. Here's the link:
subject: Java connection Object to PERL
jQuery in Action, 3rd edition