jws can not work!!!!
Hi ,
Every body ,,, I have a serious problem .
I have created a swing application , and the database is db2 .
I have connected db2 with jdbc type 4 driver, coz i want to run
my application on a remote pc.When i run my application from a
remote pc it's ok , but I want to run it with the help of JWS and JNLP.
That's why I have created a jar file where all my .class file are there,
after that I created a .jnlp file where i include the jar .
I am useing Tomcat web server .
Now the problem is when I calling that .jnlp file from a remote pc
it downloads all the jar files (including db2jcc.jar) but the programe
is not started !!!!!!
Please any body help me out from this problem .
Steps.................
1.--> Creating a jar file where all my .class files are there
including the main class.
2.--> Creating the Test.jnlp file..........
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="code base" href="Test.jnlp">
<information>
<title>PLANNING</title>
<vendor>Test</vendor>
<description>booking</description>
<description kind="short"></description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.3+"/>
<jar href="Test.jar"/>
<jar href="db2jcc.jar"/>
<jar href="db2java.zip"/>
</resources>
<application-desc main-class="testFrame"/>
</jnlp>
3.-->Cteating a html file
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1252">
<TITLE>HTML Test Page</TITLE>
</HEAD>
<BODY>
<a href="./Test.jnlp"> click here</a>.
</BODY>
</HTML>
4.>Calling the html file from client pc
Downloading all the jars
but my application could not start ....
please help me ,,,
Thanks
Sb ......

