[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3281) Transparently deal with associative arrays when doing remoting of java methods that send receive Maps or Beans

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Tue Aug 19 11:38:06 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12425700#action_12425700 ] 

Francisco Jose Peredo Noguez commented on JBSEAM-3281:
------------------------------------------------------

It could, for example detect if a method has the map defined using generics as Map<String,Object> and allow for it to be used as an associative array.

> Transparently deal with associative arrays when doing remoting of java methods that send receive Maps or Beans
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3281
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3281
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Remoting
>            Reporter: Francisco Jose Peredo Noguez
>            Assignee: Shane Bryzak
>
> An alternative to seam/remoting/interface.js (other url like seam/remoting/idiomatic_interface.js, perhaps enabled by a components.xml option) that transparently receives associative arrays and returns associative arrays when the @WebRemote returns (or has a parameter of type) java.util.Map or a POJO (like DWR does). This would be specially helpful for porting Ajax enabled applications built with other remoting technologies, but also to make it easier for those coders that prefer JavaScript to Java to feel comfortable (and don't put objections) to the use of Seam Remoting vs other options to do ajax/remoting.

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

        



More information about the seam-issues mailing list