× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe

I try to keep my posts short and to the point. One of my developers, an 18
year old school leaver, could create a suite of classes including the
administration and retrieval of iSeries data (using strongly typed classes
and data caching on a Windows Server) after 2 weeks training. I don't
consider her a poor programmer and from my view point productivity is way,
way up.

I do use ASP.NET but the same model can be replicated on other platforms. I
have an open mind that's why I keep moving forward.

Maurice


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Joe Pluta
Sent: 08 July 2008 20:37
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Mapping SQL Result Sets to Browsers

Maurice O'Prey wrote:
There is no degradation in performance when using business objects (used
correctly), in-fact there is an improvement in performance in my
experience!

You still haven't told us what you consider a business object. I was
using the term specifically in conjunction with the concept of an ORM
like Spring, in which the database access is delegated to a framework.
If you hand-write each business object class, then you can avoid all
those pitfalls, but it's not easy and while programmer productivity is
*nicreased* for *consumers* of the objects, productivity is *decreased*
for the poor guys who have to hand-write all those classes.

What language do you use? How do you handle foreign key instantiation?
How do you specify that a calculation is done once when the object is
retrieved as opposed to every time the getter method is invoked? Do you
cache instances? Do you make dirty instances visible between sessions?
Do you perform notifications when database changes occur?

The blanket statement that "there is no degradation in performance" has
no meaning until you begin to address those questions. I am not saying
that you can't design a good business object framework. I'm just saying
that you *can* design one that performs poorly, and that there are
things to look out for.

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.