Guys im not getting the rcp calls to work,
Like i said before i get this SecurityException... where it says im
trying to hack my own servlet or its a misconfiguration...
The Service Interface and Async Interface is in my GWT module client
package...
The implementation of my service sits in my GWT module server
package....
But my service extends a GWTSpringController that is in my SERVER,
totally separate compilied in java 5. The server was coded way before
i started looking at the frontend-tech.
My GWTSpringController extends RemoteServiceServlet and implements
Controller, ServletContextAware so that i can get hold of all my
SERVER side beans.
what i did to get the GWT module to load up was, i copied my
com.asdf.Module folder from the www folder after compile, into my
webapp SERVER module so that the structure is like this:
webapp
-WEB-INF
-com.asdf.Module
-index.html
- Module.html
the module.html i modified so that the
<meta name='gwt:module' content='com.asdf.Module'> looked like this
<meta name='gwt:module' content='com.asdf.Module=com.asdf.Module'>
// i found a link on the net that instructed this and it works under
gwt1.33
as well as this:
<script language="javascript" src="gwt.js"></script> to look like
this...
<script language="javascript" src="com.asdf.Module/gwt.js"></script>
All im trying to get this rcp todo is to take in 2 strings and do
login... it returns void ( i was doing this so that i could see if it
was serialization problems)
Is there anyone that has gotten GWT to make RCP calls to a SERVER that
is not GWT modules?
Its really starting to bug the crap out of me that i cant get this
working....
How do i Integrate the GWT side and my Spring Server side... as what i
have done abov for gwt1.33 feels like a hack.
Another Question my generated gwt.rcp file contains entrys on java
types (String,int,HashMap) and about 4 entries that are
com.google
based classes .
Should my Service be listed in that file if it is to pass the
seriliazation policy?
Thanks guys