Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Enterprise Perl Beans (EPB)

by Anonymous Monk
on Sep 27, 2000 at 06:21 UTC ( [id://34143]=monkdiscuss: print w/replies, xml ) Need Help??

Is there any effort going on for a Perl equivalent to Java's EJB? It seems EJB's idea is not language specific. How about Enterprise Perl Bean? Also anyone implemented EJB component in Perl? Can you do that? Thanks. Fred

Replies are listed 'Best First'.
RE: Enterprise Perl Beans (EPB)
by pschoonveld (Pilgrim) on Sep 28, 2000 at 12:42 UTC
    Well, my "all about the enterprise" friend, this is only somewhat true. Beans, by definition, are a java contruct. They are classes that can theoretically be reused and are 'easy' to connect to. EJB's are an extension of that which adds persistance among other things.

    Beans have the capability (given the correct container to run them in), to connect to other languages via CORBA/IIOP. So, essentially we do not require 'beans'. In order for this idea of modules to connect to outside programs (someone likened beans to modules, and that is about the closest perl construct) we need a CORBA implementation (there probably already is one) and a handler series in order to make things work smoothly.

RE: Enterprise Perl Beans (EPB)
by princepawn (Parson) on Sep 27, 2000 at 16:38 UTC
    Well, as a Perl programmer, I really dont know about Java's EJB. If you could give a short summary of what it is, how it works, and its benefits, I would be in a better position to comment.
RE: Enterprise Perl Beans (EPB)
by Adam (Vicar) on Sep 27, 2000 at 22:53 UTC
    JavaBeans are very simillar to Perl Modules. They are small pieces of code that are maintained separately and usually serve a simple purpose. For example, say I have a web page that accesses a database. I can put all the specifics for that database conection in a bean. Now my web page can use JSP to run that code without having to know/expose the details of the database connection to anyone. You can accomplish the same goal by writing your own modules.
      But EJB has this design objective of location transparency. It's based on some RPC and naming service. I don't see a basic Perl module mechanism would be able to support this.

        May be it is possible to implement this mechanism using POE?

        Or why not use COPE (COrba for PErl)?

        -- brother ab

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-24 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found