Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB client and Java webstart with JNLP

 
Solomon Raz
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know if an EJB app client can be packaged and provisioned on demand using Java Webstart technology with a JNLP file?


Solomon
 
Along huang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is simple, you only put the jnlp file on web app directory, the jnlp have the structure like following:

<?xml version="1.0" encoding="GB2312"?>
<!-- JNLP File for The Gdlthr Client Application -->
<jnlp spec="1.0+" codebase="http://192.168.18.63/client/" href="app/gdlthr.jnlp">
<information>
<title>ABC application</title>
<vendor>ABC Ltd</vendor>
<homepage href="http://www.abc.com/"/>
<description>the discription about abc application</description>
<icon href="logo.gif"/>
</information>
<resources>
<j2se version="1.4.1* 1.3.1* 1.4*" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="app/gdlthr-client.jar" main="true"/>
<jar href="lib/alloy.jar"/>
<jar href="lib/F1Book.jar"/>
<jar href="lib/servlet.jar"/>
<jar href="lib/jcommon-0.8.8.jar"/>
<jar href="lib/log4j-1.2.8.jar"/>
<jar href="lib/report.jar"/>
<jar href="lib/jfreechart.jar"/>
<jar href="lib/jh.jar"/>
<jar href="lib/pixie.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.mainframe">
<argument>http://192.168.18.63/</argument>
</application-desc>
</jnlp>
 
Solomon Raz
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Along.

Solomon
 
Joseph Zhou
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Along,
I used a Java Web Starter client before, right now the server does not exist anymore, is any way to remove the Java Web Starter stuff from client side? Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic