aspose file tools*
The moose likes Other Application Frameworks and the fly likes Struts + SessionBean v.s Struts + Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Struts + SessionBean v.s Struts + Spring" Watch "Struts + SessionBean v.s Struts + Spring" New topic
Author

Struts + SessionBean v.s Struts + Spring

walter wang
Ranch Hand

Joined: Jun 02, 2001
Posts: 154
Dear all,

Generally speaking,Which frame is better?

is there a fix conclusion?


public class Walter { public boolean is_Working_Now (boolean is_boss_Coming) { return is_boss_Coming; }
Hendy Setyo Mulyo
Ranch Hand

Joined: Dec 01, 2004
Posts: 219

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


Hendy Setyo Mulyo
SCJP 1.4 (95%), SCWCD 1.4 (94%)
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1373
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

Joined: Dec 01, 2004
Posts: 219

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

Joined: Apr 08, 2004
Posts: 1373
Hi Hendy, you can achieve clustering and load balancing thru Tomcat and CISCO load balancer(hardware).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts + SessionBean v.s Struts + Spring