Originally posted by John Todd:
Hi.
I have a question about Using Spring and Struts.
The benefit of integerating Spring with Struts -as I understood it- is, if my Actions use Hibernate (for example),
I can inject Spring Hibernate templates into my actions.
And my Actions will have accessor methods to set my Hibernate Dao.
Right ?
(Well, the same question for using Spring and Tapestry).
Thanks folks.
%
Originally posted by John Todd:
Do you know any online examples of using Spring and Struts ?
Thanks.
%
Sab<br /> <br />Perfection does not come from belief or faith. Talk does not count for anything. Parrots can do that. Perfection comes through selfless work.<br />Swami Vivekananda
Originally posted by Karthik Guru:
I'm curious about Spring-tapestry integration. In struts its probably not a big deal to pull action classes out of a spring context by overriding the method that creates the action classes.
How does it work in tapestry. Are tapestry pages configured within Spring?
Originally posted by dnyan ginde:
Hello,
...
Integrating spring with Struts offers you Spring JDBC which takes care of exception handling, avoiding the try, catch, finally blocks which make your jdbc code look very complex than it actually is. ...M
I do not think a new framework should be introduced to get avoid try-catch-finally block.
kktec<br />SCJP, SCWCD, SCJD<br />"What we observe is not nature itself, but nature exposed to our method of questioning." - Werner Heisenberg
<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</a>
Originally posted by dnyan ginde:
Hello,
I am currently working on a project wherein i am integrating struts with Spring. Why people normally integrate spring with struts is because most of the web applications are designed and developed using Struts. But struts is basically a VIEW and Controller framework and doesnt offer too much on the JDBC part. Integrating spring with Struts offers you Spring JDBC which takes care of exception handling, avoiding the try, catch, finally blocks which make your jdbc code look very complex than it actually is. Also Spring provides you great classes which map a row of the DB with a user defined object and return a List to give just one example. So if you are looking for a framework which takes care of the MVC then you may look into the option of integrating Struts and Spring. Struts handles the V and C part and Spring takes care of the M
Originally posted by varun bihani:
Does that all mean, that we can avoid port number :8080 in the URLs while using struts ?
Or what is the other way to do that ?
Consider Paul's rocket mass heater. |