[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2277) ejb3-seam remote-gwt example

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Nov 20 19:25:19 EST 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-2277?page=all ]

Shane Bryzak closed JBSEAM-2277.

    Resolution: Done

There were a couple of minor problems with your test case:

1) The name of your stateless bean component was "QueryGwt", it should have been "com.domain.app.gwt.client.QueryGwtService"  - this was obvious from the stack trace:

10:19:35,968 ERROR [[/sample-ejb3-gwt-client]] Exception while dispatching incoming RPC call
java.lang.RuntimeException: No such component: com.domain.app.gwt.client.QueryGwtService
        at org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTToSeamAdapter.java:73)
        at org.jboss.seam.remoting.gwt.GWTService.processCall(GWTService.java:246)
        at org.jboss.seam.remoting.gwt.GWTService$1.process(GWTService.java:146)

2) The @WebRemote annotation must be placed in the local interface, not on the session bean. 

After fixing these two things, the test app worked, producing this output:

Bootstrapped to test:
gwtTest returned: test ok

> ejb3-seam remote-gwt example
> ----------------------------
>                 Key: JBSEAM-2277
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2277
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Remoting
>    Affects Versions: 2.0.0.GA
>            Reporter: darren hartford
>         Assigned To: Shane Bryzak
>         Attachments: ejb3-gwt-sample.zip
> Per request, attaching sample project.
> See forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106498#4106498
> Attempting to create an EJB3 SLSB, exposed through SEAM for remoting to GWT.  Then, in a separate project, create a GWT web application.  However, running into various issues.
> slightly modified from forum example to attempt to remove as many dependencies as I could.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list