Spring MVC and Spring Security for the middleware, and Google Web Toolkit for the front-end.
Requires JRE 1.6+ compatible servlet container for running built code
CI Build via BuildHive: spring-security-gwt-template
- Download and install the Eclipse IDE. If you have not done so before, I suggest the Eclipse IDE for Java Developers package.
- Download and install the Google Plugin for Eclipse. More detailed instructions for installation on Eclipse 4.2.
- Right-Click OR CMD-Click on the build.xml file and hit Run As -> Ant Build ....
- Select the
clean
andeclipse-dev
Ant build targets, so that the target execution order looks likeclean, eclipse-dev
. Next, launch with theGWT_Debug.launch
config for debugging server and front-end code. OR. Use theclean
and (default)gwt-dev
Ant targets to allow Ant to handle the entire launch, but you won't be able to debug server-side code. - Click Launch Default Browser or select a launch URL. You may need to fiddle with the devmode permissions when on Windows.
- Proceed with the plugin setup, restart browser, and enjoy coding!
Q: What does
GWT module 'com.vraidsys.MainEntryPoint' may need to be (re)compiled
mean?
A: As currently configured, Spring auto-redirects all requests from a user that is not
authenticated to /login.html
. In GWT devmode, on-the-fly compilation of Java to JavaScript
is served up to the browser based on the ?gwt.codesvr=
URL parameter. Thus,
when Spring auto-redirects, this parameter is lost and the browser does not know where to pull
its instructions from.
The two part process when working in devmode:
- log in when prompted, which will set the appropriate auth cookies
- click the devmode console "launch browser" button again
- My code: https://opensource.org/licenses/Apache-2.0
- Linked Libraries
- log4j 1.2: http://www.apache.org/licenses/LICENSE-2.0
- bean-validator: https://glassfish.java.net/public/CDDL+GPL.html
- Apache Commons: http://www.apache.org/licenses/ - Apache v2
- Jackson 1.9: http://wiki.fasterxml.com/JacksonDownload - Apache v2
- Joda-Time: http://joda-time.sourceforge.net/license.html - Apache v2
- Spring Framework: http://www.springsource.org/spring-framework - Apache v2
- JDBC DRIVER 4.0 FOR SQL SERVER: http://msdn.microsoft.com/en-us/sqlserver/jj589698