This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

business delegate in component diagram

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
Climb the rope! CLIMB THE ROPE! You too tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic