tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <>
Subject RE: Package naming
Date Fri, 18 Nov 2005 12:23:48 GMT
> From: Ajay Arjandas Daryanani [] 
> 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

		- Peter

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message