🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7285

Re: ejbs & business model question.....

#7285
From: pnichols
Date: Sat, 30 Jun 2001 07:27
26 lines
2590 bytes
Eli Barnett wrote:

> I need a design example using ejbs. If I am develping a system should I
> have the business model in session beans and database access in entity
> beans or should I have the busness model in plain classes that comunicate
> with session beans and they do it with enity beans ?
> Thanks for your help.
> Eli Barnett
> ebarnett@b4before.com
> 
> 


Usually all business objects are Session beans in an EJB model. 

Unless you are doing some type of Fat client or JSP, I do not understand 
why you would want the business objects not implementing some type of 
Remote Interface. Since you are doing EJBs, I am assuming you want the 
business objects which will act on the entity beans to be scalable. Making 
any beans that are not remotable, would kill the scalable design (assuming 
you want to start with say three tiers and be able to graduate to more 
tiers as the need arises). But I do not have near enough info to suggest a 
model for what you are wishing to do. You migth want to go to the javasoft 
web site and look at the models presented there.

Good luck.
Technical Details
Message-ID: <3b3d8029_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!194.72.9.40.MISMATCH!btnet-peer1!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!newspeer2.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b3ca9ab_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 101c4c,e269190aa26c7457
X-Google-Attributes: gid101c4c,public
X-Google-Thread: 10b2dd,e269190aa26c7457
X-Google-Attributes: gid10b2dd,public
X-Google-Thread: f74b3,e269190aa26c7457
X-Google-Attributes: gidf74b3,public
X-Google-Thread: f8a26,e269190aa26c7457
X-Google-Attributes: gidf8a26,public
X-Google-Thread: f7754,e269190aa26c7457
X-Google-Attributes: gidf7754,public
X-Google-ArrivalTime: 2001-06-30 00:39:28 PST
From: pnichols <pwnichols@charter.net>
Subject: Re: ejbs & business model question.....
Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.javabeans.using,borland.public.jbuilder.javabeans.writing,borland.public.jbuilder.students,borland.public.jbuilder.team-development
Followup-To: borland.public.jbuilder.java.language
Reply-To: pwnichols@charter.net
Date: Sat, 30 Jun 2001 03:27:38 -0400
References: <3b3ca9ab_1@dnews>
Lines: 28
Organization: Computer Logic
User-Agent: KNode/0.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 24.159.97.220
Message-ID: <3b3d8029_2@dnews>
X-Trace: dnews 993886249 24.159.97.220 (30 Jun 2001 00:30:49 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!194.72.9.40.MISMATCH!btnet-peer1!btnet-peer0!btnet-peer!btnet!newspeer.clara.net!newspeer2.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews