[jboss-user] [JBoss Seam] - Re: ejb3/seam-gwt-remoting/gwt w/ DTO, JPA?

hartfordd do-not-reply at jboss.com
Tue Nov 27 08:42:49 EST 2007


jboss 4.2.1
seam 2.0.0.ga
gwt 1.4.60
jdk6

Still can not seem to find a way to get a DTO to work with Seam-GWT remoting.

Using the components.xml approach to avoid annotations on the DTO side, and the problem I'm getting from the GWT service call is:

java.lang.ClassCastException


from

  |        instance.gwtTestDto(new AsyncCallback(){
  | 
  | 			public void onFailure(Throwable caught) {
  | 		        root.add(new Label("gwtTestDto had a failure: " + caught + " === " + caught.fillInStackTrace() + " ==== " + GWT.getTypeName(caught) ));
  | 				
  | 			}
  | 

Everything else seems to look o.k., org.jboss.seam DEBUG does not show anything, no errors are displayed in the server log (both console and file).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108067#4108067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108067



More information about the jboss-user mailing list