Skip to main content

MIDP over JavaSE

5 replies [Last post]
mihai_preda
Offline
Joined: 2006-11-17
Points: 0

Hi,
There is a need among midlet developers for a 'phone emulator' which runs in a (desktop) web browser. This would allow the developers to demo their midlets on the web, and allow the users to try/test the midlets before installing them on their mobiles.

A first choice is for the emulator to be a JavaSE applet, which runs in the browser.

Developing such a 'phone applet' is roughly equivalent to having a MIDP (and additional API JSRs) implementation over JavaSE.

Can phoneME-feature be used to develop such an applet?

And could JavaSE be considered as a possible new 'target' for phoneME compilation (in addition to Linux/arm, Windows/i386, etc)?

In my understanding, I would see JavaSE replacing the CLDC level in a phoneME/SE target. In this case, the porting (of phoneME) to JavaSE would be different from the typical porting process to a new platform which happens at a much lower (kvm, cldc) level. E.g., because JavaSE already has a java VM, the kvm wouldn't be needed.

So what do you think about using phoneME to obtain a MIDP over JavaSE implementation? What about a JavaSE target for phoneME-feature?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
haustein
Offline
Joined: 2004-05-07
Points: 0

To make the list complete, there is also http://me4se.org

haustein
Offline
Joined: 2004-05-07
Points: 0

BTW: The commercial version of me4se (wap3 mobile runner) has some extras: HTTP and Socket support via proxy servlet, additional sound support, System property support (you cannot query them in regular applets) and upcoming support for 3d and HTTPS.

http://waprunner.wap3.net/emu_wap3/p/wap3/?mode=JAVA

Stefan Haustein

Ooops, I think that may be a problem with automatic cross-posting: In
the Forum, there is some kind of context for the message.....

meinterest@mobileandembedded.org wrote:
> BTW: The commercial version of me4se (wap3 mobile runner) has some extras: HTTP and Socket support via proxy servlet, additional sound support, System property support (you cannot query them in regular applets) and upcoming support for 3d and HTTPS.
>
> http://waprunner.wap3.net/emu_wap3/p/wap3/?mode=JAVA
> [Message sent by forum member 'haustein' (haustein)]
>
> http://forums.java.net/jive/thread.jspa?messageID=180970
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

terrencebarr
Offline
Joined: 2004-03-04
Points: 0

Mihai,

I remembered there was something already ... it took me a while to find it again:

http://www.mpowerplayer.com/

I've never tried it but this may be what you are looking for.

What you are asking for in phoneME (adding Java SE as a new target) is certainly possible but technically non-trivial if you want to be able to pass all required TCKs. Consider things like native code, API hiding, ensuring system classes cannot be extended, etc.

In terms of priorites I consider it more important to port phoneME to a real device that is readily available, such as www.openmoko.com. This is a critical piece of the puzzle to close the feedback loop between platform and application developers. There is no substitute for running on the real and live device.

-- Terrence

Terrence Barr
Evangelist, Java Mobile & Embedded Community
Sun Microsystems, Germany
www.mobileandembedded.org

barteo
Offline
Joined: 2006-09-22
Points: 0

Hi,

You can take a look at the open source MicroEmulator project. This is an implementation MIDP on top of Java SE:

http://www.microemu.org/

Latest release 1.0 version is based on MIDP1 specification, but in CVS you can find quite stable MIDP2 code (not everything is implemented there).

Bartek Teodorczyk