aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Content of Integration layer in Component diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Content of Integration layer in Component diagram" Watch "Content of Integration layer in Component diagram" New topic
Author

Content of Integration layer in Component diagram

Anurag Narayan
Ranch Hand

Joined: Jul 14, 2008
Posts: 41
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


Anurag Narayan<br />SCJP5,SCEA(OCMJEA)
Sivakumar Varadharajan
Greenhorn

Joined: Feb 23, 2006
Posts: 16
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..


Sivakumar-SCJP 1.4-SCWCD- IBM Certified SOA associate - SCEA 5
Anurag Narayan
Ranch Hand

Joined: Jul 14, 2008
Posts: 41
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

Joined: Feb 23, 2006
Posts: 16
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

Joined: Mar 02, 2010
Posts: 35
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


SCJP5.0 , SCBCD5.0, SCEA
Anurag Narayan
Ranch Hand

Joined: Jul 14, 2008
Posts: 41
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Content of Integration layer in Component diagram