This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
need some help people... I've an application deployed in tomcat and some java services on the same m/c. Now I want that java service should be able to invoke the classes running in the application deployed in tomcat. Note they both are runnning in different JVM's.
RMI would be one way of doing it. Since you have Tomcat running already, you might also look into web services. [ October 21, 2005: Message edited by: Ulf Dittmer ]
Joined: Oct 21, 2005
Hi Ulf, thanx for uor reply...I was wondering can i use JNDI to access those classes in the tomcat. The idea is that classes outside tomcat will call the JNDI service of tomcat and than those tomcat classes can be invoked.
what do u think as Iam not sure that tomcat provides such a JNDI service..
Joined: Mar 22, 2005
JNDI, as its name implies, is a naming and directory service, not a remote access service. You can use it in your app to look up a service that connects to a remote Tomcat, but you still need to implement that service.