aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How should I describe  web container and EJB container in Deployment 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 "How should I describe  web container and EJB container in Deployment Diagram?" Watch "How should I describe  web container and EJB container in Deployment Diagram?" New topic
Author

How should I describe web container and EJB container in Deployment Diagram?

chen jiangbo
Greenhorn

Joined: Aug 18, 2011
Posts: 15
In my Deployment Diagram, I used a tomcat server for the application.but there are jsp,command,BusinessDelegate(web component) and stateless java bean( ejb components).
Should I put all of them in to the tomcat server node? or just don't describe components details at all?

Please give me some advice.

Sadanandam Kurapati
Ranch Hand

Joined: Sep 09, 2011
Posts: 78

Hi Chen,

I don't think we can deploy the EJB components in tomcat as it is only web container. You should be using other EJB container server like Weblogic, WebSphere, JBoss etc.
So when we display these components in deployment diagram it is good idea to show web container components and EJB container components separately, like showing xxxxxxx-ejb.jar in EJB container and xxxxx.war in web container.

Following are the few good links to understad the deployment diagram.

http://www.agilemodeling.com/artifacts/deploymentDiagram.htm
http://www.uml-diagrams.org/deployment-diagrams-overview.html

Hope this information is useful for you.

Regards,
Sadanand K


SCJP1.5, SCWCD5, SCEA5
chen jiangbo
Greenhorn

Joined: Aug 18, 2011
Posts: 15
Hi ,Kurapati

Thank you quick reply .

I'm complete misunderstanding with tomcat........I would change it to Weblogic 9 now.
But one more thing,I don't want to showing jar or war there,May I just separate the tow container in Weblogic node and list the components for each of container.
Because I want to show some relationship between the components ,such as ComponentA call Third-party API。

You help me lots,thanks again!!


Sadanandam Kurapati
Ranch Hand

Joined: Sep 09, 2011
Posts: 78

Hi Chen,

Yes, it is good idea to show web and ejb container separately and provide the list of components for each of these containers.

Ranchers,
Do you have any other suggestions to Chen on this?

Regards,
Sadanand K
 
jQuery in Action, 2nd edition
 
subject: How should I describe web container and EJB container in Deployment Diagram?