Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

What options I have in Perl as Compare to Java

by ps2931 (Initiate)
on Jun 28, 2014 at 17:42 UTC ( [id://1091558]=perlquestion: print w/replies, xml ) Need Help??

ps2931 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks, Can anyone tell me what options I have in Perl as compare to Java technologies/libraries, one can use for a Project.

In Jave I've:

Framework: Spring
ORM Framework: Hibernate
Application server: Jboss/Glassfish
Development Tool: Eclipse/Netbeans
Logger: Log4J
Build Tool: Ant/Maven
Mail related things: Java Mail API
XML: JDOM/dom4j
Reporting: Jasper Reports
Authorization & Authentication: JAAS
Naming and Directory services: JNDI

And, kindly give me one or two best options not 99 for which CPAN is notoriously famous for.
/ps2931
  • Comment on What options I have in Perl as Compare to Java

Replies are listed 'Best First'.
Re: What options I have in Perl as Compare to Java
by tobyink (Canon) on Jun 28, 2014 at 19:00 UTC

    Framework: Spring

    Spring is a massive framework. People use it for many things. Depending on what you use it for, there are many different Perl modules you want to try out.

    Start with Moose. If you want an IoC container, add in Bread::Board. For database access, use DBI and possibly DBIx::Class. For web-based MVC development, add in Catalyst. For testing, Test::More and its friends.

    ORM Framework: Hibernate

    DBIx::Class.

    Application server: Jboss/Glassfish

    For web-based applications, use any web server supported by Plack, such as Starman. For other applications, most Perl programmers tend to get by without this sort of thing at all. Ubic may be of interest I suppose.

    Logger: Log4J

    Log::Log4perl.

    Build Tool: Ant/Maven

    ExtUtils::MakeMaker or Module::Build.

    Mail related things: Java Mail API

    Either Mark Overmeer's Mail::Box framework, or RJBS's more loosely coupled mail modules (Email::Simple, Email::Sender, etc). If your needs are very, very basic, also consider Mail::Sendmail.

    XML: JDOM/dom4j

    XML::LibXML for general XML processing. If you need to marshall/unmarshall objects to XML, then XML::Rabbit marries XML::LibXML with Moose.

    Reporting: Jasper Reports

    ???

    Authorization & Authentication: JAAS

    ???

    Naming and Directory services: JNDI

    ???

Re: What options I have in Perl as Compare to Java
by LanX (Saint) on Jun 28, 2014 at 18:09 UTC
    Well first LMGFY :)

    Regarding many buzzwords you listed, please explain what they are supposed to mean in Perl's context ...

    ( I don't wanna google again° ... :)

    Cheers Rolf

    (addicted to the Perl Programming Language)

    °) This is not a java board after all.

Re: What options I have in Perl as Compare to Java
by Old_Gray_Bear (Bishop) on Jun 29, 2014 at 08:24 UTC
    Any problem that can be coded in Java can also be solved with Perl code.

    The are problems that can be coded in Perl that can not be easily addressed with Java. Write code in the language best suited to the problem domain, be it Perl, Java, or FORTRAN 74.

    The answer to your question is 'mu'.

    ----
    I Go Back to Sleep, Now.

    OGB

Re: What options I have in Perl as Compare to Java
by DrHyde (Prior) on Jul 02, 2014 at 10:10 UTC

    > And, kindly give me one or two best options not 99 for which CPAN is notoriously famous for.

    You appear to assume that there is a one-to-one mapping between Java libraries and perl libraries. That isn't the case. You need to tell us what you are doing with those Java libraries before we can tell you what the perl equivalents are *for what you are doing*, and even then there may not *be* equivalents because we have tools that work completely differently to achieve the same result.

    Also you need to explain what those Java things are. You appear to assume that we know what you are talking about. I for one have no idea what "Spring" is, aside from being a season, a type of onion, and something that goes "sproing".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1091558]
Approved by tobyink
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-05-18 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found