Skip to main content

WTK and MIDP2.0-RI open source

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

Hi,
It seems to me that there are three different implementations of the MIDP/CLDC, all developed by SUN:

1) phoneME-feature
2) the Java Wireless Toolkit (WTK)
3) the MIDP Reference Implementation (RI)

I would like some information about the differences between these implementations. Do they share any code? Why having multiple implementations? what is the difference in scope between these implementations?

And the most important question, does SUN plan to open-source (e.g. GPL) the WTK or the MIDP-RI?

Thank you,
Mihai Preda

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
darkwave
Offline
Joined: 2006-11-30
Points: 0

Hi all,

I proposed a new project to implement a Free version of the WTK:
https://freewtk.dev.java.net

I planned to make a schedule during dic. 2006 and to start with real planning on the beginning of 2007.

Feel free to contact me to partecipate to this project.

ciao,
dw

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

Mihai,

Each one of these relates to different goals and requirements.

3) is, as the name implies, a RI containing only MIDP and as such is neither product quality nor very feature rich (contains none of the optional JSRs that make up todays platforms). Part of the RI went into 2) but basically you can ignore 3) for the purposes of application and platform development.

2) is an emulation environment running on Windows that includes implementations for all the latest JSRs plus tools for building Java ME applications. It is very popular with developers. You might also want to look at the Netbeans mobility pack which is a module for Netbeans which integrates the features of WTK into Netbeans. WTK is also used by device manufacturers as the base for their vendor-specific emulation environments.

It is important to note that the JSR implementations in WTK are a different code base from those in 1) because of the fact that 1) runs on real embedded devices whereas WTK runs on Windows.

1) is the real bits including the VM and all the JSRs running on embedded devices and operating systes such as Symbian and Linux/embedded. Ideally, the JSR impementations here would share a lot of code with 2) to make development consistent from the emulation down to the devices and this is a direction we want to work towards in the future.

The code released to the open source community for 1) is the complete stack minus encumbrances (that is, code Sun does not have the legal right to open source). We will be posting a list of those encumbrances soon.

There are no plans to open source 2) or 3). Since 1) contains a MIDP implementation there is not much gained by open sourcing 3). As for 2), we are considering our options but have not made a decision at this time.

Hope this helps,

-- Terrence

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

> 1) phoneME-feature
> 2) the Java Wireless Toolkit (WTK)
> 3) the MIDP Reference Implementation (RI)
>
> I would like some information about the differences
> between these implementations. Do they share any
> code? Why having multiple implementations? what is
> the difference in scope between these
> implementations?
>
> And the most important question, does SUN plan to
> open-source (e.g. GPL) the WTK or the MIDP-RI?
>
> Thank you,
> Mihai Preda

mihai_preda
Offline
Joined: 2006-11-17
Points: 0

Terrence, thanks for your thorough answer.
Mihai