JBoss Seam and GWT

12 views
Skip to first unread message

Johnathan James

unread,
Jan 5, 2010, 4:50:58 PM1/5/10
to Google Web Toolkit
Hello..

I am looking for a good example of running a seam-gen application, and
adding a GWT view.

If you have one, or have been able to manipulate the
org.jboss.seam.example.remoting.gwt example from the Seam project, I
would appreciate your help.

Johnathan

Johnathan James

unread,
Jan 6, 2010, 6:00:43 PM1/6/10
to Google Web Toolkit
In case it helps anybody, there is a currently a bug in Seam which
causes the Seam GWT Remoting example not to work.

https://jira.jboss.org/jira/browse/JBSEAM-4506

If you are getting errors like 'Parameter 0 is of an unknown type:
java.lang.String/2004016611', this is likely your issue. At present,
there is no official fix. I added these lines to GWTService.java at
line 419 in my Seam distribution:

String paramClassName = streamReader.readString();

/* HACK: See https://jira.jboss.org/jira/browse/JBSEAM-4506
*/
if (paramClassName.equals("java.lang.String/2004016611"))
paramClassName = "java.lang.String";

You must then recompile Seam. Copy the jboss-seam-remoting.jar that
you just built to ./seam-distribution-dir/lib . Otherwise, you'll
still be building the Seam GWT Remoting project with the un-hacked
jar.

Reply all
Reply to author
Forward
0 new messages