on UI part, try integrating with displaytags(for some table rendering behaving somewaht similar to JSF's dataTable) and DWR which nice kaau for invoking ajax calls...
on UI part, try integrating with displaytags(for some table rendering behaving somewaht similar to JSF's dataTable) and DWR which nice kaau for invoking ajax calls...
I guess the correct question is: Using EJB or Spring's IoC (Inversion of Control).![]()
I just want to clarify that Spring differs a lot to struts.
Only a Spring-Web module in Spring that is equivalent struts framework.
Besides from this, struts is no comparison to spring.
Spring tries to cater all the need of the programmer in building web-application. Its all in one!
@sideon: thanks bai. Informative kaayo ang imong comparison.
I feel good cen. Thanks man.
As you can see, this is my first batch of post on this forum.
Im just trying to help.
Yes, I recommend you to practice more on Spring than Struts.
Because it is broader, it addresses important areas that other popular frameworks don't. Its an APPLICATION FRAMEWORK not just a WEB FRAMEWORK.
But choosing whether you used Spring Web or Struts, it will depend on what will suits to you. Below is the Pros and Cons of the to framework.
Struts Pros:
- Its earliest web framework, released in 2001, its considered as a "standard", a lot of jobs available
- A lot of examples available
- Standard html tag libraries is one of the best, e.g. the display tags!
Struts Cons:
- Action Form is redundant!
- Its rumored to be dead! No futher development!
Spring Web Pros:
- Integrates JSP/JSTL, Tiles, Velocity, FreeMarker, Excel, XSL, PDf seamlessly!
- Its easy to test, Inversion of Control made thi possible
- Overriding binding and validation for a controller
SpringCons:
- Lots of xml in configuration, XML intensive
just to add:
Spring mvc pros:
-loosely coupled that you could use it as a web-tier or middle-tier or even persistent layer to you apps
-u could also integrated displaytags/sitemesh
-integrates easily with Jasper reporting
-the killer DWR works cool woth spring
-i18n issue which is pain in the toot is now easy as breathing with Spring
-also the security side, acegi security which is now spring security
Similar Threads |
|