You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by MICHAEL MCGRADY <mm...@topiatechnology.com> on 2011/02/22 23:01:41 UTC
Iphones, etc
What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
MG
Michael McGrady
Chief Architect
Topia Technology, Inc.
Cel 1.253.720.3365
Work 1.253.572.9712 extension 2037
mmcgrady@topiatechnology.com
Re: Iphones, etc
Posted by Gregg Wonderly <gr...@wonderly.org>.
I have been doing some iOS development over the past year, and have put an app
into the App Store. I'm not an expert...
I think that the thing which would make the most sense is the creation of a
DNS-SD lookup and service bridge for iOS to see and access Jini services. You'd
have to pick an invocation layer that made sense between the two environments,
but practically, you could do mostly all serialization because of the
availability of the JVM native types in iOS. But, invocation, would require
something special/different because of the obvious environment differences if
you didn't actually have a JVM on the iOS device.
From another perspective, with AdHoc distribution, one can put any software you
want onto your iOS device, because it's not approved through the App Store
process. Both simple developer licensing and Enterprise level licensing allow
this to occur. I've not heard of any iOS ports of the JVM though. Practically,
with properly written iOS applications, there is a sandbox to deal with, so some
aspects of Java-SE are not available. There is a limited amount of RAM on iOS
devices, and there are several APIs that provide some caching/virtualization of
resource access for data storage etc.
You may remember that a Sun executive said they'd have Java running on the
iPhone in no time, back in the 2008 time frame. Apple licensing now explicitly
prohibits the use of any secondary execution/compilation environment for app
store apps. This was done to make sure that Adobe would not be able to do
anything to put Flash on iOS. They have to be native apps, compiled from the
Apple tools.
Also, the Mac App Store agreement says you can't use any deprecated technology
in your Mac Apps. Apple deprecated Java just before the Mac App Store agreement
was published. So, no selling Java apps for the Mac through the App Store.
Practically, a 100% Java app could be sold through the app store and then ran on
other platforms, of course.
Realistically, the mass of users using the iPhone and iPad largely have no care
about these details. If they can find apps to allow them to be happy with the
purchase of the device, they are happy. Us technologist, sometimes, can't
understand being happy with "what is there" because we know too much about "what
is not there."
Gregg Wonderly
On 2/22/2011 4:30 PM, MICHAEL MCGRADY wrote:
> I know that but forgot it temporarily (the advantages of aging), but Java
> can certainly talk to C++, etc, so where there is a will there is usually a way?
>
> MG
>
>
> On Feb 22, 2011, at 2:26 PM, Benson Margulies wrote:
>
>> no java on iPhone. not not, not ever.
>>
>> On Feb 22, 2011, at 5:02 PM, MICHAEL MCGRADY
>> <mm...@topiatechnology.com> wrote:
>>
>>> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>>>
>>> MG
>>>
>>>
>>> Michael McGrady
>>> Chief Architect
>>> Topia Technology, Inc.
>>> Cel 1.253.720.3365
>>> Work 1.253.572.9712 extension 2037
>>> mmcgrady@topiatechnology.com
>>>
>>>
>>>
>
> Michael McGrady
> Chief Architect
> Topia Technology, Inc.
> Cel 1.253.720.3365
> Work 1.253.572.9712 extension 2037
> mmcgrady@topiatechnology.com
>
>
>
>
Re: Iphones, etc
Posted by Greg Trasuk <tr...@stratuscom.com>.
Hi Michael:
The wisdom so far has been that the Jini Surrogate architecture is the
way to let non-Java (or at least non-full-JDK) devices act as
participants in a Jini network. Basically, the device reaches out to a
surrogate host that is willing to host a Java-based "surrogate" that can
participate fully in the Jini network, and act as a protocol bridge to
the limited device.
Sadly, the original Surrogate container (called Madison if memory serves
me) is of unkown copyright/license provenance, so can't be brought
cleanly over to Apache.
I'm working on a clean re-implementation of the Surrogate architecture,
however as a side-project, the deadline is "indefinite". I also don't
have an iPhone, but thought I might try something with a Blackberry at
some point.
Some background info on Surrogate can be found at:
http://www.jini.org/files/specs/surrogate/sa.pdf
http://www.artima.com/jini/serviceui/DeviceUIs.html
http://www.comscigate.com/JDJ/archives/0705/swaney/index.html
http://www.ibm.com/developerworks/wireless/library/wi-jini.html
http://www.google.ca/url?q=http://citeseerx.ist.psu.edu/viewdoc/download%3Fdoi%3D10.1.1.99.1437%26rep%3Drep1%26type%3Dpdf&sa=U&ei=R59kTZL9JIH88Aa5tZnjBg&ved=0CEkQFjAV&usg=AFQjCNF4iDTxxpuPvAY4BR9l5rAxhgicAA
http://www2.sys-con.com/itsg/virtualcd/Java/archives/0806/patil/index.html
Best Regards,
Greg.
On Tue, 2011-02-22 at 17:30, MICHAEL MCGRADY wrote:
> I know that but forgot it temporarily (the advantages of aging), but Java can certainly talk to C++, etc, so where there is a will there is usually a way?
>
> MG
>
>
> On Feb 22, 2011, at 2:26 PM, Benson Margulies wrote:
>
> > no java on iPhone. not not, not ever.
> >
> > On Feb 22, 2011, at 5:02 PM, MICHAEL MCGRADY
> > <mm...@topiatechnology.com> wrote:
> >
> >> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
> >>
> >> MG
> >>
> >>
> >> Michael McGrady
> >> Chief Architect
> >> Topia Technology, Inc.
> >> Cel 1.253.720.3365
> >> Work 1.253.572.9712 extension 2037
> >> mmcgrady@topiatechnology.com
> >>
> >>
> >>
>
> Michael McGrady
> Chief Architect
> Topia Technology, Inc.
> Cel 1.253.720.3365
> Work 1.253.572.9712 extension 2037
> mmcgrady@topiatechnology.com
>
>
>
Re: Iphones, etc
Posted by MICHAEL MCGRADY <mm...@topiatechnology.com>.
I know that but forgot it temporarily (the advantages of aging), but Java can certainly talk to C++, etc, so where there is a will there is usually a way?
MG
On Feb 22, 2011, at 2:26 PM, Benson Margulies wrote:
> no java on iPhone. not not, not ever.
>
> On Feb 22, 2011, at 5:02 PM, MICHAEL MCGRADY
> <mm...@topiatechnology.com> wrote:
>
>> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>>
>> MG
>>
>>
>> Michael McGrady
>> Chief Architect
>> Topia Technology, Inc.
>> Cel 1.253.720.3365
>> Work 1.253.572.9712 extension 2037
>> mmcgrady@topiatechnology.com
>>
>>
>>
Michael McGrady
Chief Architect
Topia Technology, Inc.
Cel 1.253.720.3365
Work 1.253.572.9712 extension 2037
mmcgrady@topiatechnology.com
Re: Iphones, etc
Posted by Benson Margulies <bi...@gmail.com>.
no java on iPhone. not not, not ever.
On Feb 22, 2011, at 5:02 PM, MICHAEL MCGRADY
<mm...@topiatechnology.com> wrote:
> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>
> MG
>
>
> Michael McGrady
> Chief Architect
> Topia Technology, Inc.
> Cel 1.253.720.3365
> Work 1.253.572.9712 extension 2037
> mmcgrady@topiatechnology.com
>
>
>
Re: Iphones, etc
Posted by Calum Shaw-Mackay <ca...@gmail.com>.
Sorry to create an extra message, but another option, specifically for the likes of iOS is to consider a Bonjour layer within Jini, but we may want to look at this as a way of the LUS 'advertising' services with standard Jini being the main one as now, but pluggable advertisers for the likes of Bonjour,etc.
Calum
On 22 Feb 2011, at 22:01, MICHAEL MCGRADY <mm...@topiatechnology.com> wrote:
> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>
> MG
>
>
> Michael McGrady
> Chief Architect
> Topia Technology, Inc.
> Cel 1.253.720.3365
> Work 1.253.572.9712 extension 2037
> mmcgrady@topiatechnology.com
>
>
>
Re: Iphones, etc
Posted by Mike McGrady <mm...@topiatechnology.com>.
Nice!
Sent from my iPhone
Michael McGrady
Principal investigator AF081_028 SBIR
Chief Architect
Topia Technology, Inc
Work 1.253.572.9712
Cel 1.253.720.3365
On Feb 23, 2011, at 6:14 AM, Calum Shaw-Mackay <ca...@gmail.com> wrote:
> Last week I posted abut the possibility of adapting ServiceUI to add HTML UI as an option to both service administration and simplified service usage where the web server contains the java proxies for the services. In this way this would allow Jini service invocations (after a fashion) to pass the firewall and non-java device barriers ( note there's no requirement to actually usqe a full HTML UI but it could be adapted to REST calls that just send back raw data to a client )
>
> So far I've got an embedded Jetty server with a servlet that performs a simple Jini Discovery loop) but because it's embedded i can run it under a security policy and RMISecurityManager, a further piece is likely to be a simple forwarding proxy servlet that can be run in standard web servers without needing any policy/security changes to be made to existing server installations.
>
> I think that this could well be a way of integrating outside of java, especially given the changes in web development since the inception of ServiceUI and Jini
>
> Calum
>
> Sent from my iPad
>
> On 22 Feb 2011, at 22:01, MICHAEL MCGRADY <mm...@topiatechnology.com> wrote:
>
>> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>>
>> MG
>>
>>
>> Michael McGrady
>> Chief Architect
>> Topia Technology, Inc.
>> Cel 1.253.720.3365
>> Work 1.253.572.9712 extension 2037
>> mmcgrady@topiatechnology.com
>>
>>
>>
Re: Iphones, etc
Posted by Calum Shaw-Mackay <ca...@gmail.com>.
Hi Dennis,
It sounds very similar to what I've been looking at but at a bigger, full web-app type Descriptor. So perhaps there is room for both, a simplified UI-service call type development, like I've been working on and the more full-blown system that you've made some progress with.
If you do happen to come across the code and don't mind me having a look at it, I'd be very grateful
Cheers
Calum
On 23 Feb 2011, at 17:52, Dennis Reedy <de...@gmail.com> wrote:
> Hi Calum,
>
> We used to have something similar to this, called a WARDescriptor. The WARDescriptor acted just like the UIDescriptor, except it pointed to a .war file, that would be dynamically installed by a servlet running in Tomcat (or Jetty, or ...). The first rollout was actually provided to enable MIDLet (via CLDC) to use XML to the provisioned WAR that would then use discovered services in the backend.
>
> The only custom thing we had to do to the 'stock' Tomcat was to install our 'bootstrap' servlet, that would discover services that had advertised a WARDescriptor, the grab the WAR and install it. It seems that we may be thinking along the same lines. Let me know if you're interested in any this stuff, I think I have it lying around someplace...
>
> Dennis
>
> On Feb 23, 2011, at 914AM, Calum Shaw-Mackay wrote:
>
>> Last week I posted abut the possibility of adapting ServiceUI to add HTML UI as an option to both service administration and simplified service usage where the web server contains the java proxies for the services. In this way this would allow Jini service invocations (after a fashion) to pass the firewall and non-java device barriers ( note there's no requirement to actually usqe a full HTML UI but it could be adapted to REST calls that just send back raw data to a client )
>>
>> So far I've got an embedded Jetty server with a servlet that performs a simple Jini Discovery loop) but because it's embedded i can run it under a security policy and RMISecurityManager, a further piece is likely to be a simple forwarding proxy servlet that can be run in standard web servers without needing any policy/security changes to be made to existing server installations.
>>
>> I think that this could well be a way of integrating outside of java, especially given the changes in web development since the inception of ServiceUI and Jini
>>
>> Calum
>>
>> Sent from my iPad
>>
>> On 22 Feb 2011, at 22:01, MICHAEL MCGRADY <mm...@topiatechnology.com> wrote:
>>
>>> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>>>
>>> MG
>>>
>>>
>>> Michael McGrady
>>> Chief Architect
>>> Topia Technology, Inc.
>>> Cel 1.253.720.3365
>>> Work 1.253.572.9712 extension 2037
>>> mmcgrady@topiatechnology.com
>>>
>>>
>>>
>
Re: Iphones, etc
Posted by Dennis Reedy <de...@gmail.com>.
Hi Calum,
We used to have something similar to this, called a WARDescriptor. The WARDescriptor acted just like the UIDescriptor, except it pointed to a .war file, that would be dynamically installed by a servlet running in Tomcat (or Jetty, or ...). The first rollout was actually provided to enable MIDLet (via CLDC) to use XML to the provisioned WAR that would then use discovered services in the backend.
The only custom thing we had to do to the 'stock' Tomcat was to install our 'bootstrap' servlet, that would discover services that had advertised a WARDescriptor, the grab the WAR and install it. It seems that we may be thinking along the same lines. Let me know if you're interested in any this stuff, I think I have it lying around someplace...
Dennis
On Feb 23, 2011, at 914AM, Calum Shaw-Mackay wrote:
> Last week I posted abut the possibility of adapting ServiceUI to add HTML UI as an option to both service administration and simplified service usage where the web server contains the java proxies for the services. In this way this would allow Jini service invocations (after a fashion) to pass the firewall and non-java device barriers ( note there's no requirement to actually usqe a full HTML UI but it could be adapted to REST calls that just send back raw data to a client )
>
> So far I've got an embedded Jetty server with a servlet that performs a simple Jini Discovery loop) but because it's embedded i can run it under a security policy and RMISecurityManager, a further piece is likely to be a simple forwarding proxy servlet that can be run in standard web servers without needing any policy/security changes to be made to existing server installations.
>
> I think that this could well be a way of integrating outside of java, especially given the changes in web development since the inception of ServiceUI and Jini
>
> Calum
>
> Sent from my iPad
>
> On 22 Feb 2011, at 22:01, MICHAEL MCGRADY <mm...@topiatechnology.com> wrote:
>
>> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>>
>> MG
>>
>>
>> Michael McGrady
>> Chief Architect
>> Topia Technology, Inc.
>> Cel 1.253.720.3365
>> Work 1.253.572.9712 extension 2037
>> mmcgrady@topiatechnology.com
>>
>>
>>
Re: Iphones, etc
Posted by Calum Shaw-Mackay <ca...@gmail.com>.
Last week I posted abut the possibility of adapting ServiceUI to add HTML UI as an option to both service administration and simplified service usage where the web server contains the java proxies for the services. In this way this would allow Jini service invocations (after a fashion) to pass the firewall and non-java device barriers ( note there's no requirement to actually usqe a full HTML UI but it could be adapted to REST calls that just send back raw data to a client )
So far I've got an embedded Jetty server with a servlet that performs a simple Jini Discovery loop) but because it's embedded i can run it under a security policy and RMISecurityManager, a further piece is likely to be a simple forwarding proxy servlet that can be run in standard web servers without needing any policy/security changes to be made to existing server installations.
I think that this could well be a way of integrating outside of java, especially given the changes in web development since the inception of ServiceUI and Jini
Calum
Sent from my iPad
On 22 Feb 2011, at 22:01, MICHAEL MCGRADY <mm...@topiatechnology.com> wrote:
> What work in JINI/River has been done with iphones, etc? Can some one steer me to a bunch of information? Thanks.
>
> MG
>
>
> Michael McGrady
> Chief Architect
> Topia Technology, Inc.
> Cel 1.253.720.3365
> Work 1.253.572.9712 extension 2037
> mmcgrady@topiatechnology.com
>
>
>