[seam-dev] Caching of Seam Remoting Interface Components

Pete Muir pmuir at redhat.com
Fri Jun 26 14:36:35 EDT 2009


On 26 Jun 2009, at 19:31, Ashish Tonse wrote:

> Lots more questions:
>
> Christian: In addition to support for "304 Not Modified", are you  
> planning to support http cache headers like either "Cache-Control"  
> or "Expires"? (that way, the browser doesn't even perform a server  
> roundtrip). And can I find a copy of your work so far in svn to  
> serve as a guide?
>
> Chris Wash on the list suggested looking at PackTag -- it looks to  
> have a lot of logic for ETag support, already so might not need to  
> rewrite some algorithms there.
>
>
> Pete: How would I check if the jar exists?   try/catch Class.forName ?

Write it using @Install(classDependencies)

>
> Anyone:
>
>   1) I started on this last night and the RequestHandlerFactory has  
> a mapping for "/interface.js" to InterfaceGenerator -- How can I map  
> a wildcard this way? I tried "*/interface.js" and a couple other  
> types but they didn't work. Any tips to point me in the right  
> direction for custom request handlers?
>
>   2) Regarding OSS licensing... do we have to be wary of the  
> licenses of dependencies (yui, packtag, etc) to make sure their  
> licenses are compatible? Is there any JBoss contributor  
> documentation on this?
>

It's up to you (the contributor) to ensure whatever you use is  
compatible with the LGPL license.

Ask about specifics if you are not sure.

> Thanks,
>
> Ashish
>
> On Thu, Jun 25, 2009 at 7:09 PM, Dan Allen <dan.j.allen at gmail.com>  
> wrote:
> On Thu, Jun 25, 2009 at 6:58 PM, Pete Muir <pmuir at redhat.com> wrote:
>
> On 25 Jun 2009, at 22:29, Christian Bauer wrote:
>
>
> On Jun 25, 2009, at 22:35 , Pete Muir wrote:
>
> I would suggest /interface.js/component1;component2 etc.
>
> I'd recommend /component1;component2/interface.js which leaves the  
> URI design open for further sub-resources (of maybe different  
> representation types) that describe component(s).
>
> Much better :-)
>
> +1
>
> -- 
> Dan Allen
> Senior Software Engineer, Red Hat | Author of Seam in Action
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> http://in.relation.to/Bloggers/Dan
>
> NOTE: While I make a strong effort to keep up with my email on a daily
> basis, personal or other work matters can sometimes keep me away
> from my email. If you contact me, but don't hear back for more than  
> a week,
> it is very likely that I am excessively backlogged or the message was
> caught in the spam filters.  Please don't hesitate to resend a  
> message if
> you feel that it did not reach my attention.
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
>




More information about the seam-dev mailing list