Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Classes in the Same package-Axis

 
Sai pradeep
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
How can one use the supporting classes for the main service? Where should be these \
classes placed in the application server(in this case tomcat4.1)? To illustrate \
further see this sample code. Whenever i try to deploy this Service, it says that i \
couldn't find InvJni class. Please let me know where should i place this class in the \
tomcat directory for tomcat to recognize it.
Service.java (Service - to be deployed)
-----------------------------------------------
package WF;
public class Service
{
public void getAct(String variable)
{
InvJni.get(variable); // InvJni is another class which is \
defined in the same package, which has get and put methods. ......
}
public void putAct(String variable, String activity)
{
InvJni.put(variable,activity);
.......
}
InvJni.java(another class)
-------------------------------
package WF;
public class InvJni
{
public void get(String variable)
{......}
public void put(String variable, String activity)
{.....}
}
Please let me know how to deploy this webservice successfully on tomcat.
Cheers
Sai
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic