• Post Reply Bookmark Topic Watch Topic
  • New Topic

is a perl script good to do this?  RSS feed

 
Jaideep Kshirsagar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to PERL scripting.
I have a requirement where in I have to

1. query the database
2. based on result set, create objects of a JAVA class
3. cache these objects in Hashtable and
4. return the Hashtable.

Can a perl script do this for me?

Rgds,
Jai
 
Abhinav Srivastava
Ranch Hand
Posts: 354
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are talking two different languages here - Java and Perl. You can't create a Java object using perl, you can sure call a java program using perl or maybe maybe maybe something more with JNI.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All of the steps are relatively easy to do in Java. Why would you want to introduce Perl into it?

There are ways of mixing Perl and Java if you're set on doing that, e.g. JPL .
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!