• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts + SessionBean v.s Struts + Spring

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

Generally speaking,Which frame is better?

is there a fix conclusion?
 
Hendy Setyo Mulyo
Ranch Hand
Posts: 219
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on the scale of the application you want to develop.
If the application will not hit by so many users and does not contain very complex business logic, i think better use Struts + Spring. But if your application will hit by so many users and contains very very complex business logic (eg: Banking application or Insurance application), i think Struts + SessionBean is the best choice.
CMIIW
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hendy Setyo Mulyo, How Struts + Spring doesn't support many concurrent users and complex business logic (eg: Banking application or Insurance application) ? As per my view Struts + Hiberante + Spring is the better combination than Struts + Session Bean. If you go for session bean, then you need Application Server. We don't need all the application server's services.
 
Hendy Setyo Mulyo
Ranch Hand
Posts: 219
Firefox Browser Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kri shan:
Hi Hendy Setyo Mulyo, How Struts + Spring doesn't support many concurrent users and complex business logic (eg: Banking application or Insurance application) ? As per my view Struts + Hiberante + Spring is the better combination than Struts + Session Bean. If you go for session bean, then you need Application Server. We don't need all the application server's services.


We still need to use Session Bean and application server's services. Why? It's because of remoting, clustering and load balancing for the business logic. If you are dealing with very complex business processes and those business processes will used by a lot of users, you will need remoting, clustering and load balancing. Actually, Spring can implement remoting services with Hessian method / Burlap but how about clustering and load balancing for the business tiers? One thing that Spring can offer for clustering and load balancing is HTTP clustering, not business tier clustering.
 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hendy, you can achieve clustering and load balancing thru Tomcat and CISCO load balancer(hardware).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic