it work great with me until i tried to run the application in the host mode so i can debug my entire tiers (server and client side) but unfortunately the GWT shell do not give me the ability to play with web.xml so i cant configure my spring context using the DispatcherServlet..
so do anyone have any idea on how to integrate spring with GWT or how can i update the generated web.xml in the host mode so the spring context will load ??
Hi Razi, I am also new to GWT. But i think the web.xml is not generated every time we compile. I was using GWT 1.5.
I had modified the generated web.xml and it worked. But I am not sure, if some specific change would cause it to be re-generted. The generated web.xml only contains a single servlet definition/mapping. So there is no need to generate it every time. I guess.
Let me know whether you have already solved it. And are you using the solution form that link to integrate with spring.
I'm new to GWT and I was trying to get a simple app that will use GWT+Spring+Maven. I was able to find a suitable example on the internet for GWT+Spring+Maven, that also work. THe issue is that when I'm trying to define new beans and inject them in the exsiting GWT ones, the DI doesn't work as expected. I am getting no errors though, just null values.
Any suggestions how could I register&inject those beans (myObjectDAO and myObjectBO) into "quoteService"? "quoteService" bean is registered and injected properly in "quoteController". I do have the setters properly in place for the properties in the bean class, otherwise spring would complained.
SCJP5, SCJD, SCWCD5
Can you hear that? That's my theme music. I don't know where it comes from. Check under this tiny ad: