Java Mailing List Archive

http://www.gg3721.com/

Home » users.tapestry »

Re: Name of application module class too complicated?

Howard Lewis Ship

2010-03-10

Replies: Find Java Web Hosting

Author LoginPost Reply
On Wed, Mar 10, 2010 at 4:05 PM, Robert Hailey <robert@(protected):
>
> On Mar 10, 2010, at 5:47 PM, Howard Lewis Ship wrote:
>
>> Seems like we keep hitting the error where people change web.xml,
>> rename their filter, and are confused that their AppModule is no
>> longer loaded.
>
> That is precisely my issue! IT WORKS! Thanks.

Thought so; this is documented but people miss it consistently.

>
>> I think the way that T5 locates the module class from the filter name
>> is over-engineered.
>>
>> I think it should just be fixed as "AppModule", in the services
>> package, end of story.
>>
>> Thoughts?
>
> Is there utility in a multi-module tapestry app?
>
> The other possibility would be to fail to initialize if it does not find the
> *Module.class it expects? I would have caught on if there was an exception
> like "cannot locate class: %{prefix}/services/[MyKillerApp]Module", and
> whereas the vast majority of security measures would be dependent on the
> contents of the class being able to casually "unlink" it in a config file is
> a bit disconcerting.
>
> Thanks again!
>
> --
> Robert Hailey
>
>>
>> --
>> Howard M. Lewis Ship
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>



--
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-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.