wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Deployment diagram : Multiple JVMs on 1 physical box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Deployment diagram : Multiple JVMs on 1 physical box" Watch "Deployment diagram : Multiple JVMs on 1 physical box" New topic
Author

Deployment diagram : Multiple JVMs on 1 physical box

Nikhil Kodilkar
Greenhorn

Joined: Jul 20, 2011
Posts: 8
My Deployment diagram has specific number of JVMs on each physical box, catering to the capacity. Any idea how I should show it ?

Each JVM has the application server running which has Web container & EJB container inside it.

Has anyone shown the JVM in the deployment diagram ?

Wondering if I'm depicting too much detail.
Bartosz Borowiec
Greenhorn

Joined: Aug 23, 2011
Posts: 8
What is the added value of running many JVM on one server?


SCEA 5.0, SCBCD 5.0, SCJP 5.0
Nikhil Kodilkar
Greenhorn

Joined: Jul 20, 2011
Posts: 8
Bartosz - In real life scaling scenarios you'll add multiple JVMs on a physical box each running 1 EAR.
All these multiple JVMs are clustered together.

Anyways I've decided not to show the JVMs, but mention the design in my notes. I think that'll keep the Deployment diagram simple.
Bartosz Borowiec
Greenhorn

Joined: Aug 23, 2011
Posts: 8
I do not know if i understand you correctly. Are you going to run multiple JVM on one machine?
Nikhil Kodilkar
Greenhorn

Joined: Jul 20, 2011
Posts: 8
Yeah, that's pretty standard.
Arnold Reuser
Ranch Hand

Joined: Nov 20, 2003
Posts: 194
What you could do is use a deployment diagram as a logical implementation of your deployment approach.
As a guideline of how to implement this approach :

* Logical servers specified in this diagram could actually be zones - virtual operating systems - on the physical servers deployed.
You could use hardware profiles to depict which logical server is part of an actual physical server
* Containers specified in this diagram could actually be virtual machines on the logical server deployed
Your deployment approach can be used as a guideline to specify what kind of artifact ( e.g. ear, war, jar,.. ) is deployed on a specific type of container
As a result multiple JVMs could potentially be used on one logical server.
* Artifacts specified in this diagram could actually be the set of components you've chosen to package together.

Using this approach will provide you :

* Roadmap of how to transform the components specified in the component diagram into artifacts deployed on an actual set of physical servers.
* Clear view on how,from a deployment point of view, you will actually implement the quailty of service required

Nikhil Kodilkar
Greenhorn

Joined: Jul 20, 2011
Posts: 8
Makes sense Arnold.

But submitted the assignment last night and didn't read this earlier..
I described the whole thing in my notes, so I hope that is fine..

Thanks though.
 
Consider Paul's rocket mass heater.
 
subject: Deployment diagram : Multiple JVMs on 1 physical box
 
Similar Threads
Vendor System Connectivity - Deployment Diagram
Passed part 2 with 97.
Will thread priorities within JVM affect JVM process priorities?
Deployment diagram and co-location of war and ejb jar
servlet container