Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT Java Client and JME (Java Micro Edition)

Well, this was requested in Eclipse Bugzilla on 12th April 2012
https://bugs.eclipse.org/bugs/show_bug.cgi?id=376679

I can see you've asked the reporter a similar question - what should specifically be supported.

Broadly speaking I agree with the assessment that JavaME is clearly diminishing and caters more for legacy devices (I wonder whether we can consign BlackBerry to that bucket already). With that in mind I wonder whether this needs to be a reengineering of the "full" Java client at all, or a limited-function implementation branch only for those platforms, possibly QoS 0 only, no logging, etc etc. - so no need to limit the main client, just a separate implementation with limits.

If this is *only* about supporting BlackBerry at this point, I wonder whether their SDKs are moving towards any other useful frameworks or technologies and whether eg websockets are a future option. Looking at http://docs.blackberry.com/en/developers/deliverables/30946/Support_for_standard_Java_APIs_1777916_11.jsp it appears that the v7 SDK supports CLDC 1.0 and 1.1 and MIDP 1.0 and 2.1.


On Wed, Aug 8, 2012 at 5:33 PM, Dave Locke <locke@xxxxxxxxxx> wrote:
A customer recently asked if the MQTT Java client supports Java Micro Edition (JME). As it stands it supports Java Standard Edition (JSE)  and not Java Micro Edition. Is there much interest in JME and more specifically what do folk think about adding JME support to the Paho client?  

Adding support is technically feasible but is likely to complicate/limit the code going forward:. For instance:
  • (From Wikipedia) As of 2008, all Java ME platforms are currently restricted to JRE 1.3 features and use that version of the class file format (internally known as version 47.0).    This limits the ability to use features from Java 1.4, 5, 6....  
  • Basic features such as Java util logging are not available.
  • The CLDC flavour of JME uses a different file and network io libraries

In addition the relevance of JME looks to be diminishing with modern mobile platforms like Android using JSE and iOS and Windows Phone not supporting Java at all.

If in favour of support please state which flavour of JME i.e. CDC or CLDC  and which profile e.g. foundation, midp.....  

All the best
Dave


 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/paho-dev




--
Andy Piper | Farnborough, Hampshire (UK)
blog: http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images: http://www.flickr.com/photos/andypiper

Back to the top