Dave,
I'm new to all of this. But it seems to me that the advantages of EJB's
become
apparent when you think in terms of distributed applications and code
re-use, or
real OOP. IMHO you move away from this when you start combining tiers, and
it
seems like that's what your friend is doing.
My 2c's.
Craig H.
-----Original Message-----
From: Randy Stafford [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 07, 2000 3:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Entity Classes
See http://www.c2.com/cgi/wiki?BusinessObject.
Best Regards,
Randy Stafford
Senior Architect
GemStone Professional Services
> -----Original Message-----
> From: Dave Ford [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 06, 2000 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: Entity Classes
>
> This question is ejb related, in the since that ejb defines the concept of
> "entity beans". However, I am more interested in the idea of "entity
> classes" generally. By Entity Class, I mean a class that mirrors (or
> abstracts) a record in the database. But not necessarily an EJB Entity
> Bean.
>
> I have a friend who does VB/database programming for a living. He is very
> good and his customers like his work very much. However, he doesn't really
> use classes that mirror his database tables. (Yes, VB does have classes).
> He
> pretty much puts all of his code in the VB Form. This code, then, directly
> performs SQL statements against the database. His position is that entity
> classes, just add extra unneeded layer.
>
> Some people, on the other hand, like to create classes (like Company,
> Person, Invoice) that model the database entities, and have those classes
> hide (or abstract) the database from the VB Form.
>
> So my question is this: Are people, outside of EJB, generally using entity
> classes? Are entity classes more pain than their worth? Does CMP make them
> less of a pain?
>
> Dave
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".