Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment diagram : Multiple JVMs on 1 physical box

 
Nikhil Kodilkar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the added value of running many JVM on one server?
 
Nikhil Kodilkar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know if i understand you correctly. Are you going to run multiple JVM on one machine?
 
Nikhil Kodilkar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, that's pretty standard.
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic