• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

component diagram clarification

 
ananthakrishnan ramachandran
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have shown stateless session bean using proxy class to access web service in the class diagram.Can i show the proxy component in the integration tier of the component diagram?Please clarify.
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Integration Tier is used for integration of components between business and EIS tiers. Your EJB call is between Presentation and Business Tiers so to me, showing your proxy in integration is an invitation to get into trouble.
 
ananthakrishnan ramachandran
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajan,
Thanks for your reply.In that case how to show the flow in the component diagram because webservice call involves external system.

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My apologies. I mis-interpreted your question while doing multitasking, I thought you want to use proxy for calling the EJB from web tier. But you want to use proxy for calling web service from EJB. There is nothing wrong in your approach. You WS proxy or WSDAO can very well sit in Integration tier.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One more way to clarify to the exam evaluator to specify WSDAO - has the proxy for making webservice call in design decisions.

So we can specify or use "DAO" for any data abstraction, not necessarily database ? right
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, John. That's correct as per my understanding. I used DAO for non-DB calls as well as mentioned in Cade's book.
 
ananthakrishnan ramachandran
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rajan,

Thanks for your response.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic