Re: State of WO Java Client

"Pierce T. Wetter III" <[email protected]> Mon, 10 Mar 2008 10:33:05 -0700
Newsgroups gmane.comp.web.webobjects.general
Message-ID <[email protected]>
--===============0205105649==
Content-Type: multipart/signed; boundary=Apple-Mail-11--770080648; micalg=sha1;
	protocol="application/pkcs7-signature"


--Apple-Mail-11--770080648
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

>>
>> Speaking of, it seems the only way to put data on the iPhone is by  
>> using a Web service and using HTML 5 to store the data for offline  
>> access ?
>
>
> I believe there are more ways, but hey, I played just 2-3 hours!  
> Amazing I could do anything....

   If you look at the frameworks they are allowing you to use, Sync  
Services seems to be missing. Which implies that the only way to get  
data onto the phone is to have it pull from the local network via  
WiFi. Kind of annoying personally, because the #1 application I wish  
to write for the iPhone is a client for my To-Do program (http://www.twinforces.com/frictionless 
)  and building a webserver into my client program seems overkill.

  I'm already supporting Sync Services in my Leopard app already, so  
doing it for the iPhone version would be a natural. Hmm...perhaps  
someone could write a generic interface to sync services via a server.  
If it was widely adopted as a solution by 3rd parties, then your  
iPhone could sync with 3rd party software automatically when your  
phone was on your local network, but not with Apple software. That  
would be pretty funny.

  Weirdly, they pretty much tell you to use sqllite to store your  
data, but then they omitted CoreData. So every app will have to do its  
own mapping to/from sqllite.

  Additionally, though you can conveniently pull data using NSURL into  
the phone, you can't have a background process and its not clear how  
you can push something as small as an notification (so you can then  
pull in the data using NSURL) to the phone.

  That's all if you're running in the sandbox. With Apple's approval  
you can break out of the sandbox but its not clear how you do that.

   Of course, all that will be fine for people writing games or smart  
front ends to web sites, but its kind of limiting for me because the 2  
apps I want to write for the iPhone don't seem to be possible.

   So I was slightly disappointed.

   As for writing a D2JC app, I would think that the appropriate thing  
for the  iPhone would be a "Generic Java Client". That is, you write  
an iPhone app that can do java-client like stuff based on XML files it  
pulls from the server. Swing wouldn't make much sense on an iPhone.

  Pierce
--Apple-Mail-11--770080648--

--===============0205105649==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
WebObjects-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-talk

--===============0205105649==--