[jboss-user] [JBoss Seam] - GWT Integration
rvkishore
do-not-reply at jboss.com
Thu Oct 25 12:11:26 EDT 2007
I am trying to get a GWT widget to talk to my Seam application. I followed the example in the seam reference doc. But it looks like the Seam ServiceImpl component is not getting called at all.
I have a question specific to the setting of the service. In the example code
| private MyServiceAsync getService()
| {
| String endpointURL = GWT.getModuleBaseURL() + "seam/resource/gwt";
| MyServiceAsync svc = (MyServiceAsync) GWT.create(MyService.class);
| ((ServiceDefTarget) svc).setServiceEntryPoint(endpointURL);
| return svc;
| }
This says that the Seam service component is available to the gwt widget at the endpoint URL. I did not find any configuration being set on the server to make the Service component available at that endpoint URL.
What if there are multiple seam services to be invoked? Is there a pattern to the endpoint URL based on the seam service component?
I am using Jboss AS 4.2.1 / Seam 2.0.0 CR2
Thanks in advance
Kishore
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098908#4098908
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098908
More information about the jboss-user
mailing list