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 27.1
edited by David Avendasora
on 2008/06/25 10:10
on 2008/06/25 10:10
Change comment:
There is no comment for this version
To version 29.1
edited by David Avendasora
on 2008/06/25 10:01
on 2008/06/25 10:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -50,7 +50,6 @@ 50 50 51 51 {{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}} 52 52 53 -1. If you didn't add an EOModel file to the project when you created it, do it now. Drop any existing EOModel in the Resources directory, or create one from scratch. 54 54 1. Add the following frameworks to the project build path: 55 55 JavaDirectToWeb 56 56 JavaDTWGeneration ... ... @@ -101,8 +101,6 @@ 101 101 102 102 {{/code}} 103 103 104 -This file is only required by the application when it is being launched from within Eclipse. 105 - 106 106 1. Create a javaclientbuild.xml file in root of the project and paste the follwing as contents: 107 107 108 108 {{code title="javaclientbuild.xml"}} ... ... @@ -165,10 +165,8 @@ 165 165 166 166 {{/code}} 167 167 168 -This file is needed to make up for the lack of Java Client application building by the WOLips Incremental Builder. It alsocopiestheclientlaunch scripts into theprojectso thattheapplicationwillauto-launchwhenyourunitfromwithinEclipse.165 +This file is needed to make up for the lack of Java Client application building by the WOLips Incremental Builder. Please follow the [[instructions>>Java Client-WebStart Incremental Build]] for how to create the Java Client Incremental Builder. 169 169 170 -Please follow the [[instructions>>Java Client-WebStart Incremental Build]] for how to create the Java Client Incremental Builder. 171 - 172 172 1. If you did not setup the Java Client Incremental Builder, then right-click on the javaclientbuild.xml file and select "Run As -> Ant Build" 173 173 [[image:Picture 12.png]] 174 174 1. Right-click on the project and select "Run As -> WebObjects Application" ... ... @@ -177,4 +177,3 @@ 177 177 [[image:Picture 14.png]] 178 178 This is it. WebStart should automatically download your client application and launch it. If you are creating a D2JC application and did not put an EOModel file in the Resources directory of your project, then you'll see something like this: 179 179 [[image:Picture 15.png]] 180 -If you don't want a D2JC application, then you are on your own for creating the user interface for it. Your client-side application can be a command-line or GUI application. If you want a Swing GUI, then I **highly** recommend Florijan Stamenkovic's [[JBND Framework>>http://web.mac.com/flor385/JBND/]]