Deploying jar file
installed apache and tomcat successfully. Have two jar files, serv.jar and client.jar. How to deploy serv.jar to apache server in order to test client.jar? Both are standalone java files. Do i need to convert them to jsp or servlet? In which directory do i have to copy them? It is some kind of client server environment where the server (serv.jar) will serve client.jar.
IDE is Netbean 5.5.
Thanks in advance.
[429 byte] By [
novicevera] at [2007-11-26 23:01:30]

# 1
I am afraid what you are trying to do will prove more involved than you would think.
The best thing to do would be to build a WAR file that contains all the necessary JAR files in your project.
The WAR file will contain a web.xml which will describe the servlets that will be hosted on your Tomcat servlet container.
The WAR file can be instantly deployed to Tomcat.
In the past I have written projects where I have a JSP page that performs server side execution, and then loads an applet into the client browser (applet code could be in client.jar).
The applet can then be made to communicate with your servlet which is contained in servlet.jar.