wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB client and Java webstart with JNLP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB client and Java webstart with JNLP" Watch "EJB client and Java webstart with JNLP" New topic

EJB client and Java webstart with JNLP

Solomon Raz

Joined: Feb 26, 2005
Posts: 19
Does anyone know if an EJB app client can be packaged and provisioned on demand using Java Webstart technology with a JNLP file?

Along huang
Ranch Hand

Joined: Feb 09, 2004
Posts: 72
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="" href="app/gdlthr.jnlp">
<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"/>
<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"/>
<application-desc main-class="com.mainframe">

SCJP1.4 SCJD 2<br />SCEA(In progressing)
Solomon Raz

Joined: Feb 26, 2005
Posts: 19
Thanks Along.

Joseph Zhou
Ranch Hand

Joined: Aug 01, 2000
Posts: 129
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.
It is sorta covered in the JavaRanch Style Guide.
subject: EJB client and Java webstart with JNLP
Similar Threads
Updating a Java Program from the web...
How can I make use of WebStart?
Reading a file on client without uploading it to server
Specifying new J2EE project - opinions wanted