Search |
||
Extending the Grizzly HTTP Runtime part VI: Writting A GrizzlyAdapter customized to run on an iPhone/IPod TouchPosted by jfarcand on February 19, 2009 at 8:50 PM PST
To support the Mozilla foundation (and others) against Apple, I've decided to follow Bruno Ghisi's how to and install Java on my iPhone. I wasn't able to resist to try Grizzly and set the bar high by trying to run my Twitter like application, which is powered by the Grizzly Comet Framework. Wow it works...but wait, let's write a GrizzlyAdapter that's snoop some iPhone info :-). More info about what is a GrizzlyAdapter ->(I,II,II,IV, V) First, download Grizzly from here (pick the Grizzly Comet or WebServer bundle), and then the sample from here. Next ssh those 2 files to your iPhone. Et voila!:
Now lauch your favorite browser and boom:
OK, that's too easy. Now let's use SQLLite to display my current set of contacts by writing our own GrizzlyAdapter: Naaa you whispered I will show you my contacts! Naaa just cut & paste the above and compile...and see by yourself!! Need help: ping us on users@grizzly.dev.java.net, or Tweet us on Twitter.
technorati: grizzly web server embedded »
Related Topics >>
Glassfish Comments
Comments are listed in date ascending order (oldest first)
Submitted by survivant on Fri, 2009-02-20 05:37.
Nice.. I'll try do to a demo too :)
|
||
|
|