• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java connection Object to PERL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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
https://github.com/gitpan/DBD-JDBC/blob/master/example/testPerlServlet.pl
Not very clear about this example

Option2: Use JDBI Api
http://jdbi.org
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.
Thanks

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic