• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Content of Integration layer in Component diagram

 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my design the session bean interact with externl system using webservices(Java-WS), so what should I depict in integration tier, since session bean is part of business tier? Will it be ok to show session bean (business tier) directly connecting to external system and rule out integration layer altogether?
Thanks,
Anurag
 
Sivakumar Varadharajan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your integration tier do if your business tier(I am assuming EJB you are referring to is in business tier) talks direct to external systems? If your ejb acts as a delegate or as proxy you can show that in the integration tier otherwise it doesnt deserve to be in integration tier..
 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sivakumar ,
Yes. It is a EJB(Stateless session Bean) which using JAX-WS talks directly to external system which hosts webservice.
I wanted to understand if I show a component diagram without integration layer and stateless session bean talking to webservice host, will it be a bad model or should I show JAX-WS as a component in integration layer?
Thanks,
Anurag
 
Sivakumar Varadharajan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anurag, I would preferabbly have a delegate bean or some sort of proxy class to interact with external system. Such classes would abstract the external system communication to your business tier. I wouldnt let my business tier EJB directly interact with an external system.
 
raj sirohi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anurag,
if you SSB is used as proxy for web services then it will go in the integration layer. I had similar doubt following is the link to my post regarding this:-
http://www.coderanch.com/t/500489/java-Architect-SCEA/certification/does-web-service-proxy-go

thanks
Raj
 
Anurag Narayan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sivakumar/Raj,
Thanks for your reply.My SSB, apart from talking to external system has business logic also and for that it uses supporting business logic POJO classes. I think it will not be appropriate to depict that a integration layer is using classes of business layer. I think I will add a POJO which will be a proxy to communicate with external system and this class will be in itegration layer and I will move SSB and it's supporting classes to business layer.
Thanks,
Anurag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic