• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

business delegate in component diagram

 
rose deng
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 463
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 446
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dhiren - Presentation Tier or Web Tier.

I have Web Tier for Customers and Client Tier for Agents
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic