File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Architecture Vs Deployment Diagram

 
Gurunath Dharmar
Ranch Hand
Posts: 45
Eclipse IDE Oracle Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 218
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
Eclipse IDE Oracle Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 218
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 264
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rishi Shehrawat
Ranch Hand
Posts: 218
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic