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 39.3
edited by David Avendasora
on 2023/11/13 11:57
on 2023/11/13 11:57
Change comment:
Update document after refactoring.
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,7 +57,7 @@ 57 57 /Network/Library/Java 58 58 WOROOT/Library/Frameworks/JavaVM.framework/Classes/classes.jar 59 59 WOROOT/Library/Frameworks/JavaVM.framework/Classes/ui.jar{{/code}} This file is only required by the application when it is being launched from within Eclipse. 60 -1. Create a Java Client Incremental Builder by following the [[instructions>>doc:documentation.Java Client-WebStart Incremental Build]]. This file is needed to make up for the lack of Java Client application building by the WOLips Incremental Builder. It also copies the client launch scripts into the project so that the application will auto-launch when you run it from within Eclipse. 60 +1. Create a Java Client Incremental Builder by following the [[instructions>>doc:documentation.Home.Development Architecture.Java Client.Java Client-WebStart Incremental Build.WebHome]]. This file is needed to make up for the lack of Java Client application building by the WOLips Incremental Builder. It also copies the client launch scripts into the project so that the application will auto-launch when you run it from within Eclipse. 61 61 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" 62 62 [[image:attach:Picture 12.png]] 63 63 1. Right-click on the project and select "Run As -> WebObjects Application" ... ... @@ -64,7 +64,7 @@ 64 64 [[image:attach:Picture 13.png]] 65 65 1. Select your.app.Application as the Application class 66 66 [[image:attach:Picture 14.png]] 67 -1. If you want to actually deploy this application, then you will also need to [[modify the build.xml file>>doc:documentation.Java Client-WebStart Distribution Building]]. 67 +1. If you want to actually deploy this application, then you will also need to [[modify the build.xml file>>doc:documentation.Home.Development Architecture.Java Client.Java Client-WebStart Distribution Building.WebHome]]. 68 68 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: 69 69 [[image:attach:Picture 15.png]] 70 70 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>>url:http://web.mac.com/flor385/JBND/||shape="rect"]]