Which frame work is better in realtime i.e(struts or spring framework)? Can you tell me the difference?

Questions by enjoy

Showing Answers 1 - 4 of 4 Answers

abhishek jethwani

  • Feb 5th, 2007
 

Spring is better frame work than struts in realtime.in Spring you can use the same instance of the class once you create it in .xml with help of getter and setter but in case of struts you have to create new object of the class.Spring frame work not only handles web part of the application, it can handle business layer also.where as struts can handle only web layer.

  Was this answer useful?  Yes

Struts will be the right canditate to be used in the Web layer, and Spring will be the right canditate for the business layer, because Struts have the best support with tag support built in. Spring has the advantages of IOC and dependency injection which will fit right in the business layer.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions