Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best setup on glassfish

 
Joseph Swager
Ranch Hand
Posts: 41
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have played around with the CLI of glassfish and have a cluster and load balancing working. Only here is my problem. I have a EAR i want to break apart now into individual WAR files.

Example I want to have the store part separate of the regular part of the site. So that when I need to fix and redeploy any WAR it will not require me to restart the whole site. Just the parts I was working on.

I guess my issue is I want the load balancing and high availability of a cluster but how can you get individual instance and a copy instance of itself so that i can shut down each one separately???

When I deploy to a cluster it seems all JVM instances get that war. I want a war per instance and a copy instance for high availability and LB. Plus each of theses instances need to be aware of each other session data.

Any help to steer me in the right direction for the setup I need would be most appreciated!!

Many thanks,

Joe
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic