Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Publish Application JAR File on Web Server
How to publish application JAR file on my Website?
✍: FYIcenter
If you have your application packaged in an executable JAR file, you can follow this tutorial to publish it to your Website:
1. Upload HelloJavaWs.jar to your Website at a URL like: http://jar.fyicenter.com/JavaWS/HelloJavaWs.jar.
2. Update the JNLP file, HelloJavaWs.jnlp, with this URL:
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) FYIcenter.com --> <jnlp spec="1.0+"> <information> <title>Hello JavaWS</title> <vendor>FYIcenter.com</vendor> </information> <resources> <jar href="http://jar.fyicenter.com/JavaWS/HelloJavaWs.jar" main="true" /> </resources> <application-desc name="Hello JavaWS Application" main-class="HelloJavaWs"> </application-desc> </jnlp>
3. Upload HelloJavaWs.jnlp to your Website at a URL like: http://jar.fyicenter.com/JavaWS/HelloJavaWs.jnlp.
4. Create a Web page and upload load it to http://jar.fyicenter.com/JavaWS/HelloJavaWs.html.
<html> <body> <h3>HelloJavaWS Test Page</h3> <a href="http://jar.fyicenter.com/JavaWS/HelloJavaWs.jnlp"/>Launch HelloJavaWS</a> </body> </html>
5. Run a Firefox and open http://jar.fyicenter.com/JavaWS/HelloJavaWs.html. Then click "Launch HelloJavaWS". You will get the "Application Blocked by Java Security" error again, because http://jar.fyicenter.com does not have a server certificate.
See the next tutorial on modifying security settings to run the application on a Web server.
⇒ Add Security Exception for JavaWS to Run Application
⇐ Create JNLP File for Java Application
2017-07-15, 1446🔥, 0💬
Popular Posts:
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...