permaculture playing cards*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes business delegate in component diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "business delegate in component diagram" Watch "business delegate in component diagram" New topic
Author

business delegate in component diagram

rose deng
Ranch Hand

Joined: Dec 29, 2000
Posts: 78
Hi,

I use separate business delegate for web client and rich client. My question is in component diagram, i should put rich client's business delegate in which tier ? I think should put into client tier.

Would like to hear your opinion.
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Yeah you are correct. BD for TA client sits in client tier.
BD if you have any for web sits in the presentation tier.
HTH
Dhiren
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Dhiren - Presentation Tier or Web Tier.

I have Web Tier for Customers and Client Tier for Agents
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Dhiren - Presentation Tier or Web Tier.

I have Web Tier for Customers and Client Tier for Agents


Ref :CoreJ2EE .
There is presentation tier and business tier.
Presentation tier has all the webApp framework and patterns.

even though BD shown as part of business tier, I think if used by web without an EJB controller it would sit in the presentation tier.

Web tier is also identified as the presentation tier shown in Core j2EE so you may be fine depicting it as you have done.
For the TA client BD would be in the client tier.

HTH
Dhiren
Goutam Bhattacharjee
Ranch Hand

Joined: Aug 05, 2003
Posts: 44
Originally posted by rose deng:
Hi,

I use separate business delegate for web client and rich client. My question is in component diagram, i should put rich client's business delegate in which tier ? I think should put into client tier.

Would like to hear your opinion.


Rose, we can find the answer is we think logically. Since the Travel Agent is supposed to use a Java Application (GUI may be swing or AWT), there is no HTTP involved in here. Therefore, we do not require the web server at all; in other words, the App Client can just bypass the web server and directly contact the EJB server. Now, the EJB server is meant for handling remote objects like the EJBs. But Business Delegate is not meant for remote service, it just separates the presentation/routing-control from the EJB layer. If we keep the business delegate in the EJB layer, we need to make it remotely available, which does not endorse the purpose a Business Delegate is meant for. Thus, for an application client, if we do wish to create a business delegate, we must create that along with the App Client. Evidently, in an App Client, there is no clear distinction of tiers between the client and BD; but for conceptual point of view we may show it as a separate component.
Anybody for comments?
:roll:


gb
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: business delegate in component diagram
 
Similar Threads
Cleared Part II/III...99%
Where to put the Business Delegate?
How many business delegate components??
business delegate and service locator
Representing VOs