Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl equivalent to a JavaBean

Reply
Thread Tools

Perl equivalent to a JavaBean

 
 
kbass
Guest
Posts: n/a
 
      10-11-2003
Is there a module within Perl that has the equivalent functionality of a
JavaBean?
I would like to use this functionality within CGI without having to go using
Java. Thanks!

Kevin


 
Reply With Quote
 
 
 
 
Malcolm Dew-Jones
Guest
Posts: n/a
 
      10-12-2003
kbass () wrote:
: Is there a module within Perl that has the equivalent functionality of a
: JavaBean?
: I would like to use this functionality within CGI without having to go using
: Java. Thanks!

That depends on what you mean by "equivalent functionality". What are
youy trying to accomplish?
 
Reply With Quote
 
 
 
 
kbass
Guest
Posts: n/a
 
      10-13-2003

"Malcolm Dew-Jones" <> wrote in message
news:...
> kbass () wrote:
> : Is there a module within Perl that has the equivalent functionality of a
> : JavaBean?
> : I would like to use this functionality within CGI without having to go

using
> : Java. Thanks!
>
> That depends on what you mean by "equivalent functionality". What are
> youy trying to accomplish?


I am attempting to create a module that would allow me to encapsulate
functionality such as retrieving, updating, inserting and deleting data from
a database table. Before creating this module, I wanted to see if there was
a current module that handled this type of functionality or had some of this
functionality so that I would not have to reinvent the wheel. I could
perform this tasks using a JavaBean with JSP but I was hoping to use Perl
instead.

Kevin


 
Reply With Quote
 
David Oswald
Guest
Posts: n/a
 
      10-13-2003
Did you even look at CPAN or the Perl core modules? Good grief. You just
described practically what Perl does best. See the O'Rielly book,
"Programming the Perl DBI."


"kbass" <> wrote in message
news:gqmib.5606$...
>
> "Malcolm Dew-Jones" <> wrote in message
> news:...
> > kbass () wrote:
> > : Is there a module within Perl that has the equivalent functionality of

a
> > : JavaBean?
> > : I would like to use this functionality within CGI without having to go

> using
> > : Java. Thanks!
> >
> > That depends on what you mean by "equivalent functionality". What are
> > youy trying to accomplish?

>
> I am attempting to create a module that would allow me to encapsulate
> functionality such as retrieving, updating, inserting and deleting data

from
> a database table. Before creating this module, I wanted to see if there

was
> a current module that handled this type of functionality or had some of

this
> functionality so that I would not have to reinvent the wheel. I could
> perform this tasks using a JavaBean with JSP but I was hoping to use Perl
> instead.
>
> Kevin
>
>



 
Reply With Quote
 
Tintin
Guest
Posts: n/a
 
      10-14-2003

"kbass" <> wrote in message
news:gqmib.5606$...
>
> "Malcolm Dew-Jones" <> wrote in message
> news:...
> > kbass () wrote:
> > : Is there a module within Perl that has the equivalent functionality of

a
> > : JavaBean?
> > : I would like to use this functionality within CGI without having to go

> using
> > : Java. Thanks!
> >
> > That depends on what you mean by "equivalent functionality". What are
> > youy trying to accomplish?

>
> I am attempting to create a module that would allow me to encapsulate
> functionality such as retrieving, updating, inserting and deleting data

from
> a database table. Before creating this module, I wanted to see if there

was
> a current module that handled this type of functionality or had some of

this
> functionality so that I would not have to reinvent the wheel. I could
> perform this tasks using a JavaBean with JSP but I was hoping to use Perl
> instead.


It's spelt DBI in Perl.


 
Reply With Quote
 
Juha Laiho
Guest
Posts: n/a
 
      10-14-2003
"Tintin" <> said:
>"kbass" <> wrote in message
>news:gqmib.5606$...
>>
>> "Malcolm Dew-Jones" <> wrote in message
>> news:...
>> > kbass () wrote:
>> > : Is there a module within Perl that has the equivalent
>> > : functionality of a JavaBean?
>> >
>> > That depends on what you mean by "equivalent functionality". What
>> > are youy trying to accomplish?

>>
>> I am attempting to create a module that would allow me to encapsulate
>> functionality such as retrieving, updating, inserting and deleting
>> data from a database table.

>
>It's spelt DBI in Perl.


No, the DBI equivalent in Java would more or less be JDBC.

Bean is a form of class that in its most simplistic form just has a few
instance variables, and accessor methods for them. So, what is called
here is a class that would have accessor methods for set of attributes,
and would use database as the persistence layer for that data.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javabean referencing Application variables Todd Peterson Java 2 09-11-2003 10:39 PM
Creating a page-level ErrorBuffer JavaBean Andy Java 0 07-30-2003 10:26 AM
Re: Use one javabean for each table? tom Java 0 07-24-2003 09:20 PM
Re: Use one javabean for each table? A Bag Of Memes Java 0 07-24-2003 05:45 AM
Missing JavaBean.. Andrew Thompson Java 4 07-07-2003 07:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57