Hi Oleg, > Sorry for not making myself clear enough. My understanding is that at > present J2ME is a subset of J2SE 1.2 API plus some specific packages. I > was speculating about future releases of J2ME which might or might not > include 1.3, 1.4 and 1.5 features.
My mistake. Some of the stuff I've seen is based on 1.3, but I shouldn't expect to find anything about java.nio before it is based on 1.4 ;-) > All we have to ensure at this point is that 4.0 API (at least in its > http-common part) is not so far off that in order to be J2ME compatible > we would have to scrap it enirely and start from scratch again. Still, I wouldn't expect java.nio to show up there. Sockets neither, in some of the smaller profiles. And even then, 1.4 features could only be found in high-end, early-adopter devices for quite a while. If we want to keep the J2ME option open for widespread use, we should have streams instead of channels in the API, and create wrappers around channels if an implementation uses java.nio. Which would make Java 1.3 support an option: http-common-api depends on 1.3 http-common-implIO depends on 1.3 http-common-implNIO depends on 1.4 and one needs at least the -api and one -impl component to get going. What do you (all) think? cheers, Roland
