[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1748) Seam remoting stops working with GWT 1.4.10

Michael Neale (JIRA) jira-events at lists.jboss.org
Sun Oct 14 20:21:07 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1748?page=comments#action_12382350 ] 
            
Michael Neale commented on JBSEAM-1748:
---------------------------------------

(This is for Shane).

OK, in drools we have our own servlet for this (as we needed a dirty bit of hacking for how we test suff). 

The new version of the service looks like: 
http://fisheye.jboss.com/browse/~br=trunk/JBossRules/trunk/drools-jbrms/src/main/java/org/jboss/seam/remoting/gwt/GWTRemoteServiceServlet.java?r=15591

This can be dumped into the GWT14Service in Seam. 

The main difference is the use of  ServerSerializationStreamReader streamReader = new ServerSerializationStreamReader(Thread.currentThread().getContextClassLoader(), null);
(Line 203) 	   - instead of havign the serialization in the service class itself, it is external now in GWT. 

Alternatively, as suggested above, a small change to a string makes it work with 1.4. 

Now the trick to make it work with 1.3 and 1.4 (if we want to) - as suggested by shane, we can have GWT14Service and GWT13Service. In terms of dependencies, this depends how the change is made. If the code in the fisheye link above is used, the GWT 1.4 jar will need to be available for compiling, but people are free to use GWT 1.3 in their project if they want. The current GWTService can be renamed to GWT13Service and left as is (I think). 

The GWTToSeamAdapter should not need to change at all for this. 

> Seam remoting stops working with GWT 1.4.10
> -------------------------------------------
>
>                 Key: JBSEAM-1748
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1748
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Remoting
>    Affects Versions: 2.0.0.BETA1
>         Environment: JBoss Seam 2.0 Beta 1, GWT 1.4.10, JBoss AS 4.2.0 GA
>            Reporter: Tong Wang
>         Assigned To: Michael Neale
>            Priority: Minor
>             Fix For: 2.0.1.GA
>
>
> The GWT example shipped with seam 2.0 B1 stops working after GWT is upgraded from 1.3.3 to 1.4.10. Please see the forum thread link for detailed information. 

-- 
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