Which is the better framework for web applications, struts or
spring, and why?
Answer / shrinath
down vote
Struts is perhaps the first Model-2 MVC framework for web
applications.
Spring has its own Model-2 MVC framework and much, much
more. It's got dependency injection, aspect-oriented
programming, and terrific libraries for making your life
easier when you deal with JDBC, ORM, JMS, LDAP, remoting,
and other Java EE technologies.
I strongly disagree with the previous statement made about
XML hell and no productivity benefit. I think it's
overstating a prejudice. Besides, Spring has added enough
annotations where it's possible create a complete
application without XML (except for perhaps one or two
global tags).
I'd recommend Spring over Struts and any other framework
Is This Answer Correct ? | 5 Yes | 0 No |
what is difference between vector and arraylist?.
Which of the following declaration is wrong? int i=45; float j = 45.0; double k=45.0;
what are callback methods?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
wnet use DAO design in u r project?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What is the Spring2.5 MVC Navigation flow?
Q1. A. Write note on "The class path Environment Variable". B. Which are different kinds of source code? Q2. A. How to create an interface? B. Why convert an applet to an application? Q3. A. How to use Media tracker Class. B. How to use string tokenizer class. Q4. A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on "The properties class" Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
How do you debug your java program?
What is deque in the java collections framework? : java collections
who should use JNDI?
What is IOC in spring?