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

Looking at java I see what is its biggest strength for big companies i.e. the notion of application servers and of course as a consequence the technolgy that allow the programmer to !!just write!! what he has to do and leave almost all that is uninteresting and not cool enought to the application-server i.e. caching, transaction control, clustering, security,logging, beaning of the pieces of code, messaging, remote execution etc...
So that the programming work become more like a lego-game..
On the other hand java-"beaning" if i can say that doesnt seem so easy (i.e. alot of xml descriptions and other non-entertainig activites).
So I was wondering is there similar framework for perl existing or in process of development.
what u think.. perl6 now is going to have a good-VM and other stuff that can help in this direction...dont u think perl has to stay "the duct tape of the Internet"


PS. I've just gleaned the documentaion of EJB and Jboss, so I'm not a specialist there.
But the idea is good enought to be stolen :").
From the docs..the creation of beans is not a very pleasant process (alot of .xml files, writing of Local and Remote interface for the bean. Interesing thing is that java community tries to remove alot of this grunt work with ANOTTATIONs in the new EJB-3 /something that remarkably looks like perl6-notes :")/ )

Replies are listed 'Best First'.
Re: Perl and EJB ?
by CountZero (Bishop) on Jul 02, 2005 at 19:56 UTC
    Did you look at PerlBean?

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

      PerlBeans seem more like template-code generation than what EJB are used for..
      The idea of EJB is that u program the algorithm (or if u want to say : buisness logic) in java-classes, define their interface and put it in app-server ..
      After your code is up and running there (in some servers u can dynamicly plug/unplug modules), u write some client wich can in standard way find and create instances of this class anywhere on the Internet and call its methods in your app as it is local object.
      At the same time app-server can create/pool many instances of the class in a scalable manner.
Re: Perl and EJB ?
by neniro (Priest) on Jul 02, 2005 at 20:16 UTC
      Catalyst and Maypole are tied to Appache web server. They are good for MVC work.
      In fact ejb-app-servers may use MVC frameworks as a front-end, but one of ideas behind it is to split two tier application (web<->db) to three tier! (web<->app<->db)..In fact they can act as two tier too..
      What I want to say is that MVC is a part of the whole picture.. and also that app-server is not tied to just web-model, it also can be used as a normal client-server app.. i.e u can access this app-server not only with web browser, but with Desktop app.
        Catalyst and Maypole are tied to Appache web server

        Erm. No they're not. Web applications maybe, but not Apache.

Re: Perl and EJB ?
by PodMaster (Abbot) on Jul 03, 2005 at 05:17 UTC
      Probably best not to point people at P5EE any more, since it's a dead project.