Changes for page Java Client-Overview
Last modified by Lazy Lazarus on 2025/03/27 10:23
From version 17.1
edited by David Avendasora
on 2008/07/16 10:13
on 2008/07/16 10:13
Change comment:
There is no comment for this version
To version 11.1
edited by David Avendasora
on 2008/01/10 11:05
on 2008/01/10 11:05
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Java Client - Content
-
... ... @@ -1,19 +1,17 @@ 1 - Java Client isa Three-Tier development modelfor WebObjects. TheinterfaceisaJava Application insteadof a webpageor web service. Oneofthebig advantagesof Java Clientis that you can easilyprogramclient-sidelogicinto the userinterface thatrequireslittleornodirect communication with the server. This allows for a rich client experience without the complications of Ajax, but now requires extensive Swing programming which has it's own set of hardships.1 +Historically there have been three methods of WebObjects Java Client development: 2 2 3 -Historically there were three methods of WebObjects Java Client development: 4 - 5 5 1. Direct To Java Client (D2JC) 6 6 1. Java Client using Interface Builder to create NIB files that define the UI 7 -1. Java Client using pureSwing5 +1. Java Client using Swing 8 8 9 -The first two types used other files (XML/NIB files) to build the Swing code during run-time. This canmake for quick development times requiring very little Javaprogramming.7 +The first two types used other files (XML/NIB files) to build the Swing code during run-time. This made for quick development times requiring very little Java code. D2JC was very flexible with the UI controlled almost entirely by text-based configuration files and major changes to the underlying .eomodel file could often-times be reflected in the UI with no refactoring at all. 10 10 11 - D2JC is veryflexiblewith theUI generatedalmostentirelyatruntimebytext-basedconfigurationfiles(thesamerules-systemusedbyDirectto Web).Thisallowsthe developertogofromDatabaseor Modeltoa native-UIapplicationin just minutes. Majorchangestothenderlyingdatabase/EOModelcanoften-times be reflectedintheUI withlittleorJavaprogrammingorrefactoringatall.9 +Unfortunately both of these first two methods suffered from low usage and therefore little support was available within the community. Both have since been depreciated. NIB-based development has been deprecated due to the deprecation of the tools required for development. D2JC has been deprecated as well, but no external tools are required to build or modify a D2JC application. 12 12 13 - NIB-BaseddevelopmentusedProjectBuilder/Xcode'sInterfaceBuilderapplicationto create cocoa-based NIB files that weretheninterpreted atrun-time usingthe Cocoa-Java Bridge to create apure Swing application. NIB-baseddevelopmenthasbeen deprecated duetothedeprecation ofthe toolsrequired for developmentandthe Cocoa-Java Bridge.11 +The good news is that building a WebObjects Java Client application "The Third Way" using pure Swing has **not** been deprecated and still exists in WO 5.4. 14 14 15 -Swing-based Java Client Development has recently gotten much simpler with the release of Florijan Stamenkovic's [[javaBound (JBND) framework>>url:http://web.mac.com/flor385/JBND/||shape="rect"]] which greatly streamlines many key pieces of native-client application development. 16 - 17 17 While there are not a lot of WebObjects Java Client projects when compared to the quantity of Web-Based projects, it seems to be getting more attention now than it has in several years. 18 18 19 -There are a couple third-party developers working on solutions to streamline the development of pure Swing/SWT/etc Java Client applications for Web Objects. See [[Complimentary Frameworks>>doc:Java Client-Complimentary Frameworks]] 15 +There are a couple third-party developers working on solutions to streamline the development of pure Swing/SWT/etc Java Client applications for Web Objects. 16 + 17 +* Paolo Sommaruga's **JPBinding** [[http://www.jpaso.com/name/XMLBindingForJavaClient]] which is a WebObjects framework that allows building WebObjects Java Client (not D2JC) without the use of Interface Builder and nib files. JPBinding uses a xml file to describe the bindings between the view objects (buttons, tables, text fields, etc) and the model objects (EODisplayGroup, EOAssociation, etc.).
- WebObjects Desktop Applications.pdf
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -8.4 MB - Content