• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployment Diagram and Part 2

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I am planning to package webapp.war and ejbapp.jar in a single .ear file. Do I need to display both webapp.jar and ejbapp.jar in the deployment diagram in addition to .ear file OR displaying single .ear file is sufficient?

Also, do I need to specify hardware profile i.e. CPU, RAM, disk configuration, network requirements of machines in deployment diagram? If yes, then how?


Thanks,
Amit
 
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to be on the safer side-provide as much detail as possible for deployment diagram-it carries good number of marks.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kumar Amit wrote:Hi Friends,
I am planning to package webapp.war and ejbapp.jar in a single .ear file. Do I need to display both webapp.jar and ejbapp.jar in the deployment diagram in addition to .ear file OR displaying single .ear file is sufficient?


I didn't provide either. I did my deployment diagram on the level of the servers/resources I need. If I was putting, one, I'd just put the ear. That's the unit of deployment.

Kumar Amit wrote:Also, do I need to specify hardware profile i.e. CPU, RAM, disk configuration, network requirements of machines in deployment diagram? If yes, then how?


I don't believe this belongs in the deployment diagram either. However since the diagram is worth so many marks and Cade/Sheil said to include the hardware profile, I did. I just put it as a textual list under the diagram.
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne and Ashutosh. Does this mean that I don't need to show application components in the deployment diagram e.g. JSF/JSP and EJBs?

In chapter 9 of Mark cade's book, he has shown web and app server together in a single cluster. I am planning to show web server seperately from app server even though my web app and ejbs are deployed in a single .ear. Is this an overkill?

Also, do we need to show software profile in addition to hardware profile of the devices e.g. OS - Linux etc in the deployment diagram. Chapter 9 of Mark Cade's does not show software profile.

Thanks
Amit
 
Sharma Ashutosh
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Does this mean that I don't need to show application components in the deployment diagram e.g. JSF/JSP and EJBs?


You don't have to show components in deployment diagram but the software bundles into deployment diagram.
In my case-I have shown static contents into web server, .ear into app tier and schemas in EIS tier.
Hope this helps.

In chapter 9 of Mark cade's book, he has shown web and app server together in a single cluster. I am planning to show web server seperately from app server even though my web app and ejbs are deployed in a single .ear. Is this an overkill?


You are doing nothing wrong here.

Also, do we need to show software profile in addition to hardware profile of the devices e.g. OS - Linux etc in the deployment diagram. Chapter 9 of Mark Cade's does not show software profile.


I have done that, shown Solaris 10 on Sun SPARC for EIS tier.....and other software profiles for other tiers.Hope this helps.
 
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have shown the hardware profile as suggested by cade. I have just added a note in the deployment diagram to show this.
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ashutosh and Ranga.

Can you guide where to display the concrete vendor specific details (both software and hardware) e.g. type of Web server (e.g. IBM HTTP server/Apache), application server (IBM Webshere Application server / Oracle Weblogic) and database (Oracle/DB2)?

As per mark cade's book deployment diagram is vendor agnostic but he has also recommended to provide examples of vendors tech combinations in the submission.

Do we need to create a separate Deployment Diagram depicting vendor technology combinations in addition to the main vendor agnostic deployment diagram?
OR
should we write vendor technology selection details in the index.html?

Thanks
Amit
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I have to show firewall in my deployment diagram between reverse web proxy and load balancer as well as between Business Tier and DB tier.

Which UML artifact can I use for the same?

Is it ok to show firewall in a deployment diagram?
 
Sharma Ashutosh
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can create process boundary or the box in the deployment diagram. Encapsulate your H/W, O/S within that box/boundary - show the upper boundary as firewall.
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sharma Ashutosh wrote:You can create process boundary or the box in the deployment diagram. Encapsulate your H/W, O/S within that box/boundary - show the upper boundary as firewall.


Thanks Ashutosh. So you mean keep all h/w and s/w of the presentation & business tier, web servers and load balancer in one box and DB cluster h/w and s/w in another box?
 
Sharma Ashutosh
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks Ashutosh. So you mean keep all h/w and s/w of the presentation & business tier, web servers and load balancer in one box and DB cluster h/w and s/w in another box?


Please go thru some standard deployment diagrams and you will understand what i am talking about. Due to rules of this forum, i can provide some advice and hints not the complete solution.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kumar Amit wrote: Can you guide where to display the concrete vendor specific details (both software and hardware) e.g. type of Web server (e.g. IBM HTTP server/Apache), application server (IBM Webshere Application server / Oracle Weblogic) and database (Oracle/DB2)?



I am not happy with showing vendor specific stuff in deployment diagram. In fact, I am not mentionint it anywhere. Why should we? - there are many app servers out there in the market which have comparable features - same goes for RDBMS - and OS - Java is basically OS independent, right?

Maybe, I am taking a risk here (similar to not having JSPs in the class diagram), but, I find it hard to agree with showing specific vendors...
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ranga,
I agree with you on both points. JSPs don't belong in a class diagram and vendor info doesn't belong in a deployment diagram. I didn't take the risk on the exam though and included both.

See the FAQ for more anomalies between the diagram/test and real life.
 
Ranganathan Kaliyur Mannar
Bartender
Posts: 1104
10
Netbeans IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am beginning to think about including JSPs in the class diagram - we can argue they are actually servlets and so they are classes and so can be included in the class diagram (and of course, am panicking and don't want to take risks!)...
but, by specifying vendors, do we put ourselves at risk? for ex. what if I don't mention weblogic and oracle as vendors? will guys at Oracle not like it?
yah, I know this has been discussed a thousand times already, but still...
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can we keep deployment diagram as vendor-agnostic but provide vendor specific details in the description section of the diagram
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ranganathan Kaliyur Mannar wrote:I am beginning to think about including JSPs in the class diagram - we can argue they are actually servlets and so they are classes and so can be included in the class diagram (and of course, am panicking and don't want to take risks!)...


Right. I didn't want to lose points for something silly like JSPs not being included.


Ranganathan Kaliyur Mannar wrote:
but, by specifying vendors, do we put ourselves at risk? for ex. what if I don't mention weblogic and oracle as vendors? will guys at Oracle not like it?


One approach is to say "such as". There should be a server comparable to a SunfireXXX and an app server such as weblogic.
 
reply
    Bookmark Topic Watch Topic
  • New Topic