File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Author

EJB client and Java webstart with JNLP

Solomon Raz
Greenhorn

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?


Solomon
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="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>


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

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

Solomon
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB client and Java webstart with JNLP