Changes for page Java Client and Direct To Java Client Example Project using WebStart
Last modified by David Avendasora on 2008/07/01 16:52
From version 23.1
edited by David Avendasora
on 2008/06/25 09:43
on 2008/06/25 09:43
Change comment:
There is no comment for this version
To version 22.1
edited by David Avendasora
on 2008/06/25 09:38
on 2008/06/25 09:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -25,7 +25,7 @@ 25 25 26 26 {{/code}} 27 27 28 -1. Create a WOComponent named "JavaClient". This WOComponent will be what passes the specifics about your client-side application to WebObjects. 28 +1. Create a WOComponent named "JavaClient". This WOComponent will be what passes the specifics about your client-side application to WebObjects. {{note title="Note!"}}If you are not creating a Direct To Java Client (D2JC) application, then you will need to replace the applicationClassName (com.webobjects.eogeneration.EODynamicApplication) with the name of your client-side application class. Your non-D2JC client-side Application class *must* subclass EOApplication.{{/note}} 29 29 1. Modify the JavaClient.html replacing the contents with: 30 30 31 31 {{code title="JavaClient.html Contents"}} ... ... @@ -32,14 +32,14 @@ 32 32 <WEBOBJECT NAME=JavaClientComponent></WEBOBJECT> 33 33 {{/code}} 34 34 35 -1. Paste the following as the contents of the JavaClient.wod file.Feelfree to change the applicationName, applicationDescription andvendor parameters to anythingyou wish.35 +1. Modify the JavaClient.wod file by adding: 36 36 37 37 {{code title="JavaClient.wod Contents"}} 38 38 39 39 JavaClientComponent: WOJavaClientComponent { 40 40 applicationClassName = "com.webobjects.eogeneration.EODynamicApplication"; 41 - applicationName = " D2JCWebStart42 - applicationDescription = " D2JCWebStart41 + applicationName = "WebStartJBNDTest"; 42 + applicationDescription = "WebStartJBNDTest"; 43 43 downloadClientClasses = "noDownloadClientClasses"; 44 44 vendor = "My Company"; 45 45 } ... ... @@ -46,8 +46,6 @@ 46 46 47 47 {{/code}} 48 48 49 -{{note title="Note!"}}If you are not creating a Direct To Java Client (D2JC) application, then you will need to replace the applicationClassName parameter (com.webobjects.eogeneration.EODynamicApplication) with the name of your client-side application class. Your non-D2JC client-side Application class *must* subclass EOApplication.{{/note}} 50 - 51 51 1. Add the following frameworks to the project build path: 52 52 53 53 {{code}}