Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Adding Logic to Enterprise Objects

Now, let's take a closer look at the way we have modeled the Post entity.

The timestamp attribute is exactly that, a timestamp. It is not meant to be a random date or one that you can set. It is to mark the time and date when a post is made. As such we can automate this. But to do that we have to write our first bit of Enterprise Objects logic. (You might have noticed that so far, we have developed basically a codeless application.)

Creating a Custom Class for Enterprise Objects

Until now, entities have been informally referred to as classes, so that it would be easier to conceptualize.

In reality, however, they don't have to be separate classes. Each of our Enterprise Objects uses a generic class to draw their ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book