Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java and Perl (JPL??)

Status
Not open for further replies.

dmazzini

Programmer
Jan 20, 2004
480
US
Hi mates

I have been using perl almost for 3 years. I am planning to start working with Java, due to the fact that I really need powerful graphical interface (its not really the case, because I could use Tk or Win32::GUI). The case is there are as well some Java libraries are already built for some other people. Some processes are being executed using java commands and other reasons.....

But, I would like to "reuse" my Perl skills, specially because I have a lot of templates ready to implement. I have tested scripts for Database connection to the Oracle Databases, unix scripting, many SQL query already done etc. I can say, if I can use my perl code on this project I would save a lot of time.

Any advices how to develop a Java application running on windows, it access a Oracle Database running on Unix Server with an specific Network Management System.

Let's say that I know very well how the develop apilcation using perl and the Unix Server and the NMS...So, just I need to develop a java application (windows Operating System) with a very nice graphical user interface that will reuse some java libraries already created and it will access this Unix and NMS system.

Did you follow me...???

Searching on the net how to start integrating these two great languages, I found something called "JPL". It's basically Java in which the methods can optionally be implemented by Perl code.

Do you have any experience with JPL?
Advices or recommendation guys??

Thanks in advance.







dmazzini
GSM System and Telecomm Consultant



dmazzini
GSM System and Telecomm Consultant

 
I am sorry, but my first reaction is "yuk".
I imagine that this JPL uses C/C++ interfaced with perl to use Java's JNI (Java Native Interface).
I can only think of the bugs, and performance problems with constantly switching contexts between perl, C and Java.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Syntax is cheap - meaning that you can use your perl skills in a pure java environment. But it's not syntax that you really want to re-use, it's your capability to develop creative solutions. So..

Think of your skills as programming skills, not just perl. :)

And do it in all java :)
 
Regarding the comment:

Think of your skills as programming skills, not just perl. :)

It seems to be out of place, when you don't even know my skills and background.

To be honest with you I am not a pure IT guy, I am not just focus on programming, I am focus in GSM, Wireless networks and Telecommunications. FYI, I know as well how to program in different languages as Bourne Shell, c-shell, power builder, sqlplus, awk, perl, Tk, VB and so other things. I like to learn new things everyday

I know Java is powerful, thats why I want to start using it. Just I wanted to find out the way how to reuse some scripts already developed in Perl and integrate it with Java if it is possible.

h0h0h0, Remember that Tek-Tips Forum, is an open forum where you can make question, advices etc, as well you can offer solutions, ideas etc. Don't be rude with your answer next time.

Thanks sedj and Dianceht for your replies guys. I will consider it.





dmazzini
GSM System and Telecomm Consultant

 
My answer wasn't a knock against you dmazz. Not sure how you even took it as a negative comment?

I broadened my answer from "no you can't reuse perl scripts" to one that could encourage you to "re-use your skills" in the java world. :)
 
>..., Remember that Tek-Tips Forum, is an open forum where you can make question, advices etc, as well you can offer solutions, ideas etc. Don't be rude with your answer next time.
The world of rudeness must be upside-down looking from the satelite. Really amazing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top