tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: Package naming
Date Fri, 18 Nov 2005 12:23:48 GMT
> From: Ajay Arjandas Daryanani [mailto:ajay.daryanani@rediris.es] 
> i've written a authorization filter for Tomcat. The question is: is
> there any convention about package naming? Can I use, for example,
> 'package es.mydomain.myname;'? Or it's better to use 'package 
> filters;'?

The conventional Java approach of using your domain name to ensure the
uniqueness of package names applies just as much in Tomcat as everywhere
else.  I've only needed to break that once, when I was hacking at some
Tomcat internals and needed access to some classes that only had package
access.

		- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message