Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial
Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial
- Subject: Re: [Annoucement] New WOLips Java Client / Direct To Java Client Tutorial
- From: David Avendasora <email@hidden>
- Date: Thu, 17 Jul 2008 11:25:03 -0400
Hi all,
I've updated the template D2JC Eclipse project, and added one that
includes an EOModel as well so you can see an example application
using the OBMovies DB that comes with the standard OpenBase download.
Here's the (incredibly, hideously ugly) link:
http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=avendasora&templatefn=FileSharing32.html&xmlfn=TKDocument.32.xml&sitefn=RootSite.xml&aff=consumer&cty=US&lang=en
If you already have a WO app that you'd like to see what a Swing UI
would look like on it, just drop the EOModel into the Resources
directory of the EclipseD2JCProject project and run it. It's really
that simple!
If you want to just mess around with D2JC to see what it's like, just
run the Movies_D2JC project.
You can make changes to the design of the UI of either by selecting
"Assistant" from the "Tools" menu of the running application. The
Assistant will make changes to the user.d2wmodel file in the project.
You can also directly modify this file with any text editor or Rule
Modeler from Project Wonder.
Dave
On Jun 25, 2008, at 10:46 AM, David Avendasora wrote:
Hi all,
Hopefully everyone knows that Swing-Based Java Client development
was not deprecated with WO 5.4. But what you may not be aware of is
that Apple has decided to hold off on deprecating Direct To Java
Client (non-Nib-based)* as well due to the number of organizations
quietly using it to great success!
I have spent quite a bit of my time over the last few weeks (since
WOWODC) working hard to figure out exactly how to create WebStart
based Java Client and D2JC apps from scratch using WOLips (big, BIG
thanks to Daryl Lee at Apple for his assistance). In the past Xcode
did all the work and you just followed some steps in a wizard and
ended up with a running app. All the magic was hidden away. With
WOLips & WOProject, it's a little more work. :-)
The tutorial and example app linked to below will allow you to take
any existing EOModel and launch a fully-functional D2JC app from
it. Just like that. WOMagic!
I'm planning on eventually creating a WOLips project template to do
most of the work of the tutorial, but that will come later.
Now, without further delay: http://wiki.objectstyle.org/confluence/display/WO/Java+Client+and+Direct+To+Java+Client+Example+Project+using+WebStart
I have also zipped up an Eclipse project that only needs to have an
EOModel file dropped into the Resources directory, just to make it
easier for _everyone_ to give JC/D2JC a try! It's available on my
iDisk.
http://homepage.mac.com/WebObjects/FileSharing.woa/wa/default?user=avendasora&templatefn=FileSharing32.html&xmlfn=TKDocument.32.xml&sitefn=RootSite.xml&aff=consumer&cty=US&lang=en
The resulting Application will run with no problems on WO 5.3.3 and
5.4 from within Eclipse, but due to a bug with WO 5.4's JNLP
generation, you cannot automatically generate a JNLP file from a
deployed app. You can take the JNLP file created by WO 5.3.3 and it
will still work with a 5.4 server. It's the generation of the JNLP
that is broken in 5.4, not the actual client application
functionality.
Let me know what you think!
Dave
*Nib-based development is impossible now that all the tools for it
are gone. D2JC on the other hand only requires the current tools,
and the EOAssistant which is a part of any D2JC application.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden