beautypg.com

Figure 3-6, Implementing business logic in the database – Apple WebObjects 5 User Manual

Page 36

background image

36

The Enterprise Objects Advantage

Apple Computer, Inc. January 2002

C H A P T E R 3

Enterprise Objects

It improves back-end portability.

Database vendors have different ways of

implementing logic. If you have to support more than one database and you’re
using WebObjects, you don’t have to implement the logic multiple times and
thus suffer maintenance problems.

Java is a good development language.

With WebObjects, you program in Java,

an industrial-strength language designed from the ground up to be
object-oriented. The programmable variants of SQL usually have some
object-oriented features, but are basically procedural languages.

Figure 3-6

Implementing business logic in the database

Application

Relational

Database

Business logic