Re: Creating an iTunes-like app
Re: Creating an iTunes-like app
- Subject: Re: Creating an iTunes-like app
- From: Chuck Hill <email@hidden>
- Date: Thu, 20 Oct 2005 11:35:52 -0700
On Oct 20, 2005, at 11:13 AM, <jasonstratton-
email@hidden> wrote:
> > 2) I would like to create an iTunes-like app in Java
(WebStart?), > by which I m! ean a fat client with a local data
store (flat file > or simple DB) and business logic as well as a
server side content > component and online store.
> > a) Would WO be an appropriate technology for this client app?
> > b)! Is there a simple embedded browser sample/tutorial
available as > a starting point/reference for the fat client to
display the WO > generated web content?
> > c) Any recommendations for the local data store? Preferably a
low- > cost option?
> iTunes is a native client application (Cocoa on the Mac, ??? on
Windows) that talks to a WebObjects back-end (via XML I believe).
In this scenario WebObjects can help you build the back-end but it
will not help you build the client app. I suppose you could build a
swing app that talks to your WebObjects back-end and caches data
locally, but you're on your own there :-).
I think I knew this already, but I guess I was hoping for a bit of
direction for creating the app in Java/WebObjects. Thanks anyhow.
That is not what WO is intended for. Mac-wise this is what Cocoa and
CoreData are intended for. CoreData's whole purpose is local data
store. Cross-platform... as David said, you are on your own. My
only suggestion (besides Run Away! Run Away!) is to look at AWT from
the Eclipse project as an alternative to Swing.
> WebObjects also contains the JavaClient and Direct To Java Client
technologies that will help you build rich client-server
applications that support ! business logic partitioning. They don't
however support data partition ing - all of the data resides on the
server.
Yes. So in order for Direct to Java to work, it needs the server
component? There is no way to a single tier, standalone app w/ a
local DB using WO?
Yes, it needs the server component. No, there is no practical
(deploying a web app locally not being a very practical solution for
end user customers :-) way to have a a single tier, standalone app
with a local DB. That is not what WO is for.
So it looks like I'll be creating a Java Swing app, which can
display HTML generated by a WO server w/ a local data store. Anyone
have recommendations for:
1) Method for displaying teh HTML in a Swing window?
2) A local data store? (flat file/XML file/MySQL) - I suppose one
of my biggest concerns will be simplicity of download/install
I'd return XML not HTML from the server and use the Java app to form
its GUI from the XML. There should be some open source libraries
that will help with this.
No idea on a local datastore that is easy to install and robust.
Probably XML flat files would be the easiest.
Chuck
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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