[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-2290) Tooling to create GWT Interface jar from @Name/@WebRemote annotations
Shane Bryzak (JIRA)
jira-events at lists.jboss.org
Sun Apr 13 08:05:05 EDT 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2290?page=all ]
Shane Bryzak reassigned JBSEAM-2290:
------------------------------------
Assignee: Shane Bryzak
> Tooling to create GWT Interface jar from @Name/@WebRemote annotations
> ---------------------------------------------------------------------
>
> Key: JBSEAM-2290
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2290
> Project: Seam
> Issue Type: Feature Request
> Components: Tools
> Affects Versions: 2.0.0.GA
> Environment: seam-remoting, GWT
> Reporter: darren hartford
> Assigned To: Shane Bryzak
>
> Create tooling support to automatically generate a separate GWT Interface jar.
> By default/convention, an interface class needs to be created for consumption by a GWT Web Application that conforms with the (ejb3, other?) implementation (for mapping purposes). Tooling support to automatically create this would reduce errors and improve maintenance and ease-of-integration of both server-side and GWT web app side.
> Recommend tooling support for:
> seam-gen
> ant
> maven2
> For example:
> server impl:
> ============
> package com.domain.app;
> @Stateless
> //seam/gwt remoting support - should be name of GWT Service class
> @Name("com.domain.app.gwt.client.QueryGwtService")
> public class QueryGwt implements QueryGwtLocal {
> public String gwtTest(){
> return "test ok";
> }
> }
> //--------------------
> package com.domain.app;
> @Local
> public interface QueryGwtLocal {
> //Seam-gwt remoting through the interface, not the session bean
> @WebRemote
> public String gwtTest();
> }
> ==============
> The above server implementation with SEAM annotations will always need the following interfaces for GWT:
> ===================
> package com.domain.app.gwt.client;
> public interface QueryGwtService extends RemoteService{
> public String gwtTest();
> }
> //----------------
> package com.domain.app.gwt.client;
> public interface QueryGwtServiceAsync{
> public void gwtTest(AsyncCallback callback);
> }
> ==================
--
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