"object view"

T

Tom Anderson

what is ment by "object view" in Java terminology? (refering to:
"Coarse-grained business objects that represent an object view of
persistent storage and are shared by multiple users are usually
implemented as entity beans.",

It means "not using JDBC directly".

tom

--
The Gospel is enlightened in interesting ways by reading Beowulf and The
Hobbit while listening to Radiohead's Hail to the Thief. To kill a dragon
(i.e. Serpent, Smaug, Wolf at the Door) you need 12 (disciples/dwarves)
plus one thief (burglar, Hail to the Thief/King/thief in the night),
making Christ/Bilbo the 13th Thief. -- Remy Wilkins
 
M

Matko Klaic

Tom Anderson said:
It means "not using JDBC directly".

tom

--
The Gospel is enlightened in interesting ways by reading Beowulf and The
Hobbit while listening to Radiohead's Hail to the Thief. To kill a dragon
(i.e. Serpent, Smaug, Wolf at the Door) you need 12 (disciples/dwarves)
plus one thief (burglar, Hail to the Thief/King/thief in the night),
making Christ/Bilbo the 13th Thief. -- Remy Wilkins

Tnx a lot Tom!

Matko Klaic
 
L

Lew

Matko said:
what is ment by "object view" in Java terminology? (refering to:
"Coarse-grained business objects that represent an object view of persistent
storage and are shared by multiple users are usually implemented as entity
beans.",
http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html)

It means viewing, or relating to, the entities in your application as objects.

Databases (well, relational ones anyway) have a table view of entities, or
alternatively a set view. Sets and objects are not the same kind of view.
The purpose of an object-relational mapping (ORM) layer is to reconcile those
two views.

No one uses entity beans any more. Use the Java Persistence API (JPA).
 
L

Lew

I was in that delusion that JPA entity beans are entity beans nowadays.

<http://www.oracle.com/technetwork/articles/javaee/jpa-137156.html>
takes pains to say "EJB 2.1 entity beans" vs. "EJB 3.0 entities", and,
"Note that in the Java Persistence API, what used to be called entity
beans are now simply called entities."

<http://publib.boulder.ibm.com/infocenter/ieduasst/v1r1m0/topic/
com.ibm.iea.wasfpejb/wasfpejb/6.1/EJB3Applications/
WASv61_EJB3FP_JPAExamples/player.html> says, "... unlike an EJB 2.1
entity bean, a JPA entity is a concrete, not abstract, class."

Anyway, I meant "entity bean" in the old, EJB 2.1 sense, not the new,
POJO sense.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top