Last modified by David Avendasora on 2008/07/01 16:52

From version 19.1
edited by David Avendasora
on 2008/06/25 09:49
Change comment: There is no comment for this version
To version 6.1
edited by David Avendasora
on 2008/06/25 09:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,4 @@
1 -1. Create a new WebObjects Application
2 -[[image:Picture 9.png]]
3 -1. Name it "WebStartJNLPTest" in Eclipse with a package of "your.app" {{note title="Note!"}}If you change the Project name or packages, then you'll need to make additional changes in the subsequent steps.{{/note}}
1 +1. Create a new WOApplication named "WebStartJNLPTest" in Eclipse with a package of "your.app"
4 4  1. Modify the Main.html by adding:
5 5  
6 6  {{code title="Main.html Changes"}}
... ... @@ -25,21 +25,21 @@
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.
26 +1. Create a WOComponent named JavaClient
29 29  1. Modify the JavaClient.html replacing the contents with:
30 30  
31 -{{code title="JavaClient.html Contents"}}
29 +{{code title="JavaClient.html"}}
32 32  <WEBOBJECT NAME=JavaClientComponent></WEBOBJECT>
33 33  {{/code}}
34 34  
35 -1. Paste the following as the contents of the JavaClient.wod file. Feel free to change the applicationName, applicationDescription and vendor parameters to anything you wish.
33 +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 = "D2JC WebStart Test";
42 - applicationDescription = "D2JC WebStart Test";
39 + applicationName = "WebStartJBNDTest";
40 + 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  JavaDirectToWeb
53 53  JavaDTWGeneration
... ... @@ -63,13 +63,8 @@
63 63  JavaJDBCAdaptor
64 64  JavaWebObjects
65 65  JavaWOExtensions
62 +1. Create a ClasspathClient.txt file in the root of the project and paste the following as contents:
66 66  
67 -{{note title="Note!"}}
68 - If you are not creating a D2JC application, then you won't need all of these, but they won't hurt anything either.
69 -{{/note}}
70 -
71 -1. Create a ClasspathClient.txt file in the root of the project and paste the following as contents:{{note title="Note!"}}If you changed the applicaton name in Step 2 above, make sure you change the name of the Client-Side .jar file in the first classpath line below (WebStartJNLPTest.jar). Also be sure to match the case of the project. Client-Side .jar filenames are CamelCase instead of all lowercase as server-side .jar filenames are.{{/note}}
72 -
73 73  {{code title="ClasspathClient.txt File"}}
74 74  
75 75  # ApplicationClass == com.webobjects.eoapplication.client.EOClientApplicationSupport
... ... @@ -160,8 +160,6 @@
160 160  
161 161  {{/code}}
162 162  
163 -This file is needed to make up for the lack of Java Client application building by the WOLips Incremental Builder. Please follow the [[instructions]] for how to create the Java Client Incremental Builder.
164 -
165 165  1. Right-click on the javaclientbuild.xml file and select "Run As -> Ant Build"
166 166  1. Right-click on the project and select "Run As -> WebObjects Application"
167 167  1. Select your.app.Application as the Application class