Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
What is a "Data Object "?

What is a "Data Object "?

2004-01-02       - By Chad Woolley

 Back
Reply:     1     2     3     4     5     6     7     8     9  

Ashraf,

First, please ignore my previous message where I said you only posted the UML
diagram.  Your text came across as an attachment and I couldn't read it in my
digest (which is in some unreadable mime format) or on sun's site.  Plus, there
may be duplicates, because when I tried to post from the web form, the page hung
but the post still went through.  That must have been what happened to you too.
 This isn't a very impressive site for sun, they should just do it like Apache
's.

Anyway, thanks for your response.  I've got some comments and questions, which I
included inline below.

ashraf galal wrote:

> Chad;
>
> It is the implementation of the business object pattern.
>
> Term:  Business Object:
>
> An object that implements business logic and/or business data.
>
> Business data and business logic are implemented in coarse-grained objects
called business objects.
>
> In J2EE, business objects are implemented as session or entity beans.
>
> In some cases, a business object could be an arbitrary java object that
provides some services.
> See attached document for class and sequence diagrams
>
> I do think that these  diagrams must answer most of your questions.
>
> We might implement the business object using the composite entity pattern
(you are right) or DAO or other different implementation.

This code example is in the "Business Object" chapter, and the UML diagram you
attached is from the chapter.  I would think they would call it "Business
Object" in the code sample if it is an occurence of that pattern.  In other
places in the book, if a pattern uses itself "recursively", it uses the same
name.

Maybe that is the case, though.  Maybe it is just a "simple" business object
that doesn't have much logic in it.  It still doesn't make sense to call it
something different, though.


> Regarding your question �Can the Presentation Tier directly
> instantiate and use "Data Objects"? �
>
> We always use the business delegate pattern to decouple the tier and hide the
implementation details. It is better not to use it directly from client tier
(my opinion).

Now you lost me.  How is this related to the Business Delegate pattern?  if it
was used on the client, it would probably be passed through a Business Delegate,
but that doesn't tell me anything more about what a "Data Object" is or how it
is used.

Thanks for your response!

Chad

===================================================================Companion
Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.