Discussion Locked

Hey Justin, article for ya. - Using Java class's in Perl

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

All languages have their strong points. When I can combine various language strong points, I am always interested. Thought you might be also.

I want to talk to the Java coder here to see what he thinks about this also.

[url]http://www.perl.com/pub/a/2006/12/21/using-java-classes.html[/url]

Dan

2 replies

by jslarochelle

...code wanting to use a Java library. However, unless the Java library is very complex it might be cleaner just to rewrite the library in Perl. If the library is too complex and/or you don't really have a lot of Perl code that you want to reuse it might be more interesting to use one of the other languages supported by the Java platform. For example you could use Groovy or JRuby. The syntax of a language like Groovy might be more friendly to someone working in Perl and the integration of Groovy with Java is really good (it compiles directly to Java byte code).
JS

by danlm

Is the pool of reusable code that is out there. cpan and others for Perl. I look at the ability of using java class's in Perl as another addition to that pool of reusable code.

I guess that's my point, not so much that I will always use it. But it's there for me to use.

Dan

This discussion is closed to new replies.