Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Struts + SessionBean v.s Struts + Spring

 
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?
 
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
 
Ranch Hand
Posts: 1491
  • 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: 1491
  • 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).
 
    Bookmark Topic Watch Topic
  • New Topic