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.1
edited by David Avendasora
on 2023/11/13 11:57
on 2023/11/13 11:57
Change comment:
Renamed from xwiki:documentation.Java Client and Direct To Java Client Example Project using WebStart
To version 37.1
edited by David Avendasora
on 2008/07/01 16:52
on 2008/07/01 16:52
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 7 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Java Client - Content
-
... ... @@ -6,11 +6,11 @@ 6 6 [[image:attach:Picture 9.png]] 7 7 1. Name it "WebStartJNLPTest" in Eclipse with a package of "your.app" 8 8 1. {{note title="Note!"}}If you change the Project name or packages, then you'll need to make additional changes in the subsequent steps.{{/note}}Modify the Main.html by adding: 9 -1. {{code 0="html" title="Main.html Changes"}}<WEBOBJECT NAME=JavaClientLink>click here</WEBOBJECT>{{/code}}Modify the Main.wod file by adding:9 +1. {{code title="Main.html Changes" 0="html"}}<WEBOBJECT NAME=JavaClientLink>click here</WEBOBJECT>{{/code}}Modify the Main.wod file by adding: 10 10 1. {{code title="Main.wod Changes"}}JavaClientLink: WOHyperlink { 11 11 href = javaClientLink; 12 12 }{{/code}}Modify the Main.java file by adding: 13 -1. {{code 0="java"title="Main.java Changes"}}13 +1. {{code title="Main.java Changes" 0="java"}} 14 14 public String javaClientLink() { 15 15 return WOJavaClientComponent.webStartActionURL(context(), "JavaClient"); 16 16 } ... ... @@ -18,7 +18,7 @@ 18 18 [[image:attach:Picture 11.png]][[image:attach:Picture 10.png]] 19 19 This WOComponent will be what passes the specifics about your client-side application to WebObjects. 20 20 1. Modify the JavaClient.html replacing the contents with: 21 -1. {{code 0="html" title="JavaClient.html Contents"}}<WEBOBJECT NAME=JavaClientComponent></WEBOBJECT>{{/code}}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.21 +1. {{code title="JavaClient.html Contents" 0="html"}}<WEBOBJECT NAME=JavaClientComponent></WEBOBJECT>{{/code}}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. 22 22 1. {{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}}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. 23 23 If you don't specify a client class name for each entity, then WebObjects will automatically use EOGenericRecord as it's class. Once you want to start specifying client-side logic including default values and such, you will need to add the Client Class Name to the Entity in the EOModel, and then setup a new .eogen file in eclipse to generate the client-side classes. 24 24 1. Add the following frameworks to the project build path:
- Picture 10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -113.1 KB - Content
- Picture 11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -54.7 KB - Content
- Picture 12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content
- Picture 13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.2 KB - Content
- Picture 14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -61.3 KB - Content
- Picture 15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -25.6 KB - Content
- Picture 9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -55.1 KB - Content