[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2215) Interface.js too large

Sander S (JIRA) jira-events at lists.jboss.org
Tue Apr 15 15:16:57 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-2215?page=comments#action_12409005 ] 
            
Sander S commented on JBSEAM-2215:
----------------------------------

I also would like this feature

Can you make it so that there is an annotation for components, so that only components are with that annotation are able to generate an js interface. Also bit security issue not exposing all components.

For methods annotations would also be great e.g. an RemoteTransient annotation so that method / var is not in the interface. As a positive side effect this could also eliminate the need for filtering on the webremote annotations.

Downside of only using a transient annotation would be that if you'd inherent a class those methods are not controllable making them being visible in the interface. Maybe an IsRemote annotation would solve this but this may result in a huge number of annotation on all stuff. A configurable for that class would be great setting the usage of transient of is annotations.

Could you give your view on what you think would be the best solution and when the issue will be fixed ?

> Interface.js too large
> ----------------------
>
>                 Key: JBSEAM-2215
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2215
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Remoting
>    Affects Versions: 2.0.0.GA
>            Reporter: Robin Young
>         Assigned To: Shane Bryzak
>
> The interface.js file produced includes type definitions for EVERY seam component in my system and takes a couple of seconds to serve.
> The url is "/seam/resource/remoting/interface.js?navigationSystemService" and is generated by and s:remote tag.
> I have added exclude parameters to my WebRemote annotations and this restricts the data sent back back but does nothing to limit the interface.js file produced. Is there any way to slim this down and thus improve the speed of my site?

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