On Tue, Aug 17, 2010 at 9:22 PM, 9902468 <ville.virta...@greenstreet.fi> wrote:
>
> Hi,
>
> First of all our software seems, if possible, even more snappier when run
> with 5.2, so thank you everyone how have contributed.
>
> Now let's get to issues I encountered:
>
> 1. Asset protection: The documentation is not yet there, as it still speaks
> about AssetPathAuthorizer. How should I fix the app now? I have my assets
> all around the final jar, and the only solution I found was to add
>
>    public static void
> contributeClasspathAssetAliasManager(MappedConfiguration<String,String>
> configuration) {
>        configuration.add("orientT5", "com/orient/framework");
>    }
>
> which means everything. (Classes and tml are all in
> com.orient.framework.something, javascript is at com.orient.framework.js
> etc.) Are my assets now secured?
>
> 2. contributeTranslatorSource methods broke as the configuration has changed
> from list to mapped. Not mentioned in the nightly docs upgrade notes.
>
> 3. The @Retain annotation is deprecated, with a text saying that it is
> likely to cause threading issues with 5.2!! Not mentioned in the nightly
> docs upgrade notes. I have over 200 hits of these deprecation messages in
> the first client I tried. Mostly properties that hold beanmodels, but not
> all. Do I have to evaluate these one by one, or do I have to remove all of
> them and change the way the properties are constructed? (Now using 5.1
> recommended way to use static construction, copied away from the tapestry
> home page...) What is the recommended upgrade practise on this one?
>
> Number 3 will mean a LOT of work and testing for us os any info on that one
> would be nice. It makes things even worse that this will only be an issue in
> the production, as the developer machines are not likely to see this (load
> testing, I know...).
>

The point of deprecated @Retain is that the objects stored in those
field are going to be shared across threads in a way that would not
happen under 5.1.

>  - Ville
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/T5-2-Upgrade-issues-tp2638940p2638940.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to