Bram Smeets Blog

 

Blog on Spring and DWR. AJAX with Spring made easy!

SpringOne 2007 - Slides & Sample code

Filed under: Ajax, Java, Spring — Bram Smeets at 2:39 pm on Wednesday, June 20, 2007

Update: I have updated the POMs of both sample applications to include the required references correctly.

I just presented my session entitled ‘Building web-based ‘fat clients’ using GWT’.
For those of you interested, you can download the slides and two sample applications that I used for the presentation.

SpringOne 2007 - Slides

SpringOne 2007 - Sudoku Application

SpringOne 2007 - Skeleton Application

Use the skeleton if you want to easily get start using GWT in combination with Spring.
Please note that you need to install GWT 1.4 to run these samples and setup your project correctly.
Most importantly, you need to add the GWT jars (except the benchmark one) to your classpath.

If you have any questions running the samples, feel free to contact me!
Hope this will help you get started using GWT.

Bram

8 Comments »

Comment by Sanjiv Jivan

June 21, 2007 @ 12:59 am

Cool, thanks for sharing.

Comment by Sanjiv Jivan

June 22, 2007 @ 11:08 pm

I noticed that you have an IDEA project file so I presume that you use IDEA for your development. Were you able to come up with a setup that allows you to run with “noserver” so that you’re able to run in an external web server and be able step thought client side Java code? Or are you using the the munging technique with ant startup? IDEA creates a temp workspace each time when running in hosted mode so its hard to use the munging technique such that the hosted mode tomcat picks up our web.xml. I really wish IDEA supports -noserver soon.

Comment by GaryBlomquist

June 23, 2007 @ 7:41 pm

Can please you give instructions for installing and building? Is IDEA able to generate project files for eclipse?

Comment by clai

July 4, 2007 @ 1:17 pm

Hi Bram, I appreciate so much on the sample as it helped a lot (the way to organize the files). But I’m currently facing an error as below:
com.google.gwt.user.client.rpc.InvocationException:
at com.mkt.web.client.service.GwtMemberService_Proxy$2.onCompletionImpl(
transient source for com.mkt.web.client.service.GwtMemberService_Proxy:126)
at com.mkt.web.client.service.GwtMemberService_Proxy$2.onCompletionAndCa
tch(transient source for com.mkt.web.client.service.GwtMemberService_Proxy:110)
at com.mkt.web.client.service.GwtMemberService_Proxy$2.onCompletion(tran
sient source for com.mkt.web.client.service.GwtMemberService_Proxy:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.ja
va:126)
at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java
:150)
at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:2
93)
at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:
196)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java
:117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:689)
at com.google.gwt.dev.GWTShell.run(GWTShell.java:550)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:321)

May I seek your help on this? Thank you.

Comment by Willem

July 18, 2007 @ 9:46 pm

Bram, thanks for sharing this presentation, pretty cool stuff.

Comment by Mike Fuller

July 20, 2007 @ 5:08 pm

Sanjiv Jivan,
You might want to check out the post below. I created an Ant build.xml to setup a custom web.xml for Spring integration while running in hosted mode.
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/cc6e7835f253443d/02ba71b8de6aaab6#02ba71b8de6aaab6

Comment by Gabriele

March 27, 2008 @ 1:28 pm

Hi
I’m pretty new to java and gwt
I’m using eclipse as IDE and i can’t run your project

I tryd to make an eclipse project with this code…
I had imported in classpath GWT, LOG4J, and spring jar

but it doen’t work… it ask me for a main class
Can someone help?
Thanks a lot
mjfan80@gmail.com

Comment by Bram Smeets

March 29, 2008 @ 6:41 pm

Hi all,

I have updated the POM files to include the correct GWT references. Can you try the files now? If they don’t work, let me know and I will try to help you out.

Greetings,
Bram

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>