Score:0

Calling A Class Running On Tomcat JVM Externally

cn flag

I will try to explain this the best I can, so here goes!

I have a class that has a public static void main() method running on Tomcat JVM. Now I have another class which is basically a Thread which reads a message topic every minute.

My question is how do I call the class running on Tomcat fom the Thread.

Is it just like calling any other class? And what about security? Any tips on this would be nice. If you need some extra info, please do let me know.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.