RE: embedded tomcat: Call ChatAnnotation.broadcast(String) from application?

2015-03-04 Thread Enke, Dr., Michael
>> ... There should be only one static function / static >> variable in the JVM!? > > That statement is incorrect. > > There is only one static function / variable per class instance. > > A class is uniquely identified by its name AND class loader. > > Hence in a multiple class-loader environment l

Re: embedded tomcat: Call ChatAnnotation.broadcast(String) from application?

2015-03-04 Thread Mark Thomas
On 04/03/2015 18:15, Enke, Dr., Michael wrote: > Hello all, I start a tomcat from my application and call the static > ChatAnnotation.broadcast(String) (from examples) out of my > application. This is possible but anyhow my application seems to > access a "different" broadcast(String) method: If th