9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Styx/9p implementations in JavaME
@ 2007-11-14  0:00 Anthony Sorace
  2007-11-14  4:12 ` David Leimbach
  0 siblings, 1 reply; 9+ messages in thread
From: Anthony Sorace @ 2007-11-14  0:00 UTC (permalink / raw)
  To: inferno-list, Fans of the OS Plan 9 from Bell Labs

I'm beginning a project that involves writing some Styx servers in
Java, particularly in a JavaME (formerly known as J2ME) environment.
Uriel's nice page on 9p implementations lists two Java
implementations, but neither's been updated in a good while, one is
client-only, and neither lists which flavor of Java it's designed for
(write once run somewhere?). Does anyone have any information on a
Styx server in a current-ish Java?
Anthony


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14  0:00 [9fans] Styx/9p implementations in JavaME Anthony Sorace
@ 2007-11-14  4:12 ` David Leimbach
  2007-11-14 16:13   ` Anthony Sorace
  2007-11-14 16:24   ` Federico Benavento
  0 siblings, 2 replies; 9+ messages in thread
From: David Leimbach @ 2007-11-14  4:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs; +Cc: inferno-list

I thought J2ME was limited to http connectivity...  At least my
initial experiments with it on my motorola razr had me limited to http
connectivity via limits in the classes available I thought.

I didn't spend a lot of time with it though.

On Nov 13, 2007 4:00 PM, Anthony Sorace <anothy@gmail.com> wrote:
> I'm beginning a project that involves writing some Styx servers in
> Java, particularly in a JavaME (formerly known as J2ME) environment.
> Uriel's nice page on 9p implementations lists two Java
> implementations, but neither's been updated in a good while, one is
> client-only, and neither lists which flavor of Java it's designed for
> (write once run somewhere?). Does anyone have any information on a
> Styx server in a current-ish Java?
> Anthony
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14  4:12 ` David Leimbach
@ 2007-11-14 16:13   ` Anthony Sorace
  2007-11-14 16:18     ` David Leimbach
  2007-11-14 16:24   ` Federico Benavento
  1 sibling, 1 reply; 9+ messages in thread
From: Anthony Sorace @ 2007-11-14 16:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 11/13/07, David Leimbach <leimy2k@gmail.com> wrote:
// I thought J2ME was limited to http connectivity...

I don't *think* that's right. I'm very, very far from a Java expert,
but my impression from more knowledgeable people is that JavaME allows
direct socket communication, but the implementations on many devices
do not. Certainly that was our experience when we were working on
applications which tried to listen on the network: JavaME provided the
capabilities, but almost all of the handsets we looked at did not.

I'll keep you posted.
Anthony


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14 16:13   ` Anthony Sorace
@ 2007-11-14 16:18     ` David Leimbach
  2007-11-14 16:23       ` David Leimbach
  2007-11-14 16:26       ` Charles Forsyth
  0 siblings, 2 replies; 9+ messages in thread
From: David Leimbach @ 2007-11-14 16:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Nov 14, 2007 8:13 AM, Anthony Sorace <anothy@gmail.com> wrote:
> On 11/13/07, David Leimbach <leimy2k@gmail.com> wrote:
> // I thought J2ME was limited to http connectivity...
>
> I don't *think* that's right. I'm very, very far from a Java expert,
> but my impression from more knowledgeable people is that JavaME allows
> direct socket communication, but the implementations on many devices
> do not. Certainly that was our experience when we were working on
> applications which tried to listen on the network: JavaME provided the
> capabilities, but almost all of the handsets we looked at did not.
>
> I'll keep you posted.
> Anthony
>

It might just depend on what profiles are implemented.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14 16:18     ` David Leimbach
@ 2007-11-14 16:23       ` David Leimbach
  2007-11-14 16:26       ` Charles Forsyth
  1 sibling, 0 replies; 9+ messages in thread
From: David Leimbach @ 2007-11-14 16:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Nov 14, 2007 8:18 AM, David Leimbach <leimy2k@gmail.com> wrote:
>
> On Nov 14, 2007 8:13 AM, Anthony Sorace <anothy@gmail.com> wrote:
> > On 11/13/07, David Leimbach <leimy2k@gmail.com> wrote:
> > // I thought J2ME was limited to http connectivity...
> >
> > I don't *think* that's right. I'm very, very far from a Java expert,
> > but my impression from more knowledgeable people is that JavaME allows
> > direct socket communication, but the implementations on many devices
> > do not. Certainly that was our experience when we were working on
> > applications which tried to listen on the network: JavaME provided the
> > capabilities, but almost all of the handsets we looked at did not.
> >
> > I'll keep you posted.
> > Anthony
> >
>
> It might just depend on what profiles are implemented.
>

Ah here we go from Beginning J2ME (Li and Knudsen) p159

"Although the MIDP 2.0 specification requiers only HTTP and HTTPS
connections, it suggests that implementations support socket, server
socket, and secure socket connections."


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14  4:12 ` David Leimbach
  2007-11-14 16:13   ` Anthony Sorace
@ 2007-11-14 16:24   ` Federico Benavento
  2007-11-14 16:26     ` Anthony Sorace
  2007-11-14 17:47     ` David Leimbach
  1 sibling, 2 replies; 9+ messages in thread
From: Federico Benavento @ 2007-11-14 16:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I have ssh, telnet irc, everything in my sony w300i (MIDP 2.0)

here a tutorial implementing telnet:
http://developers.sun.com/mobility/midp/articles/termemulator1/


On Nov 14, 2007 1:12 AM, David Leimbach <leimy2k@gmail.com> wrote:
> I thought J2ME was limited to http connectivity...  At least my
> initial experiments with it on my motorola razr had me limited to http
> connectivity via limits in the classes available I thought.
>
> I didn't spend a lot of time with it though.
>
>
> On Nov 13, 2007 4:00 PM, Anthony Sorace <anothy@gmail.com> wrote:
> > I'm beginning a project that involves writing some Styx servers in
> > Java, particularly in a JavaME (formerly known as J2ME) environment.
> > Uriel's nice page on 9p implementations lists two Java
> > implementations, but neither's been updated in a good while, one is
> > client-only, and neither lists which flavor of Java it's designed for
> > (write once run somewhere?). Does anyone have any information on a
> > Styx server in a current-ish Java?
> > Anthony
> >
>



-- 
Federico G. Benavento


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14 16:18     ` David Leimbach
  2007-11-14 16:23       ` David Leimbach
@ 2007-11-14 16:26       ` Charles Forsyth
  1 sibling, 0 replies; 9+ messages in thread
From: Charles Forsyth @ 2007-11-14 16:26 UTC (permalink / raw)
  To: 9fans

> It might just depend on what profiles are implemented.

but of course!  it's a telephone environment.
it must have profiles to say just how things can be incompatible.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14 16:24   ` Federico Benavento
@ 2007-11-14 16:26     ` Anthony Sorace
  2007-11-14 17:47     ` David Leimbach
  1 sibling, 0 replies; 9+ messages in thread
From: Anthony Sorace @ 2007-11-14 16:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

ah, good. it's by the guy who'd put me under the impression that it
was possible. ;-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Styx/9p implementations in JavaME
  2007-11-14 16:24   ` Federico Benavento
  2007-11-14 16:26     ` Anthony Sorace
@ 2007-11-14 17:47     ` David Leimbach
  1 sibling, 0 replies; 9+ messages in thread
From: David Leimbach @ 2007-11-14 17:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Nov 14, 2007 8:24 AM, Federico Benavento <benavento@gmail.com> wrote:
> I have ssh, telnet irc, everything in my sony w300i (MIDP 2.0)
>
> here a tutorial implementing telnet:
> http://developers.sun.com/mobility/midp/articles/termemulator1/
>
>

Unfortunately it didn't seem the edition of motorola razr I had from
Cingular was capable of anything but http connections... so I wrote a
gateway to some apps on my server at home and used xinetd with a
header to implement just enough of http to make the phone think I was
a web server.

Nowadays, I'd have written my application with Yaws (erlang web
server) and had it generate dyanimc content, but at the time the app
was in C++.

Dave

>
> On Nov 14, 2007 1:12 AM, David Leimbach <leimy2k@gmail.com> wrote:
> > I thought J2ME was limited to http connectivity...  At least my
> > initial experiments with it on my motorola razr had me limited to http
> > connectivity via limits in the classes available I thought.
> >
> > I didn't spend a lot of time with it though.
> >
> >
> > On Nov 13, 2007 4:00 PM, Anthony Sorace <anothy@gmail.com> wrote:
> > > I'm beginning a project that involves writing some Styx servers in
> > > Java, particularly in a JavaME (formerly known as J2ME) environment.
> > > Uriel's nice page on 9p implementations lists two Java
> > > implementations, but neither's been updated in a good while, one is
> > > client-only, and neither lists which flavor of Java it's designed for
> > > (write once run somewhere?). Does anyone have any information on a
> > > Styx server in a current-ish Java?
> > > Anthony
> > >
> >
>
>
>
> --
> Federico G. Benavento
>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-14 17:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-14  0:00 [9fans] Styx/9p implementations in JavaME Anthony Sorace
2007-11-14  4:12 ` David Leimbach
2007-11-14 16:13   ` Anthony Sorace
2007-11-14 16:18     ` David Leimbach
2007-11-14 16:23       ` David Leimbach
2007-11-14 16:26       ` Charles Forsyth
2007-11-14 16:24   ` Federico Benavento
2007-11-14 16:26     ` Anthony Sorace
2007-11-14 17:47     ` David Leimbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).