aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Architecture Vs Deployment Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Architecture Vs Deployment Diagram" Watch "Architecture Vs Deployment Diagram" New topic
Author

Architecture Vs Deployment Diagram

Gurunath Dharmar
Ranch Hand

Joined: Aug 10, 2009
Posts: 45

Hi All,

a) Do i really need to have a separate web container if i have selected "local" architecture, single ear deployment? wont my app server alone is not enough?
Note: i have a load balancer in-front of my app server.
b) if i need to have separate web container, there is any advantage over without having it?

Please help.
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

I prefer single ear deployment. This topic has been discussed http://www.coderanch.com/t/539797/java-Architect-SCEA/certification/Separating-web-business-tier-increase
Gurunath Dharmar
Ranch Hand

Joined: Aug 10, 2009
Posts: 45

Thank you Rishi, me too on local architecture (single ear deployment) side...

adding one more question to the list.

In order to offload SSL related processing, do i need include web server or just a load balancer will do?

Please help.
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

Normally load balancers have in-built hardware accelerators for SSL processing, so you can offload this processing on the load balancer.
Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
If I choose to go with local architecture ( single ear with local ejbs) we cannot load balance EJBs right. what happens when a ejb is not available for some reason but the web container is fine. will it show service unavailable. And one more question when a ejb goes down in the middle of a transaction , when the request gets routed to another cluster , what is the status of in-flight transaction


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

As per my opinion scenario with both web & business tier are running in single JVM, web tier available & EJB tier down has a very low probability. In most of the cases when EJB tier is down the web tier will also be down, in this scenario the load balancer will not forward request to the node.

In flight transactions are lost in case node goes down while processing requests. Correct transaction handling will ensure that data is not corrupted in this scenario. Load balancer will detect that node is down & will not send subsequent requests to this node.


 
 
subject: Architecture Vs Deployment Diagram