[Bluej-discuss] BlueJ and J2ME

Jobling C.P. C.P.Jobling at swansea.ac.uk
Fri Apr 28 13:45:36 BST 2006


Gordon

Theoretically possible but probably not recommended. J2ME does not target
the same virtual machine and platform APIs as J2SE. In fact it's a partial
subset of the Java Standard Edition (with some extra IO classes that are not
in Java and a different UI model). It's therefore more than just installing
a few extra class libraries. Also each target device seems to have its own
ideosyncracies and Java's "write once run anywhere" credentials are
seriously broken! I've seen code examples where a work around is to
reintroduce conditional compilation with #ifdef!

Netbeans seems to have a very nice plugin for J2ME development that hides
(or at least attempts to hide) some of this complexity. It also comes
complete with emulators and tools that help you to deploy your MIDlets to
the modbile device. And many third-party plugins from the phone and mobile
device manufactorers. I suggest that you advise your student to download
netbeans version 5 and the Mobile Development plugins. Lots of getting
stated tutorials on the netbeans.org site too. Plus, in the near future
there'll be the BlueJ plugin for Netbeans that may make the IDE less of a
shock!

Chris

P.s Going up to J2EE from BlueJ is slightly more possible but you again lose
some features, e.g. distributed debugging of a web oe EJB app that you'd get
with a more capable IDE.

Dr Chris P. Jobling [C.P.Jobling at Swansea.ac.uk] 
School of Engineering
University of Wales Swansea, Singleton park, Swansea SA2 8PP, UK.
Tel: +44 1792 295580; Fax: +44 1792 295676
WWW: www.engineering.swan.ac.uk

 

> -----Original Message-----
> From: bluej-discuss-bounces at bluej.org 
> [mailto:bluej-discuss-bounces at bluej.org] On Behalf Of Gordon Royle
> Sent: Thursday, April 27, 2006 5:25 AM
> To: General discussion for users of BlueJ
> Subject: [Bluej-discuss] BlueJ and J2ME
> 
> I have a student who, for reasons of his own, is busily 
> working away on some stuff with Java Micro Edition.
> 
> He asked me whether he could use BlueJ to develop this... in 
> particular, he was trying to do
> 
> import javax.microedition.midlet.MIDlet;
> 
> and it could not find the package.
> 
> 
> The problem is that I know NOTHING about J2ME.. whether it is 
> a compiler, or just some packages or what... the Sun 
> documentation does not seem to help.
> 
> In particular, is it possible for him to download and install 
> the packages, and develop on BlueJ using the regular 
> compiler, or does he actually need to start installing 
> special compilers..
> 
> Thanks
> 
> Gordon
> 
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to 
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
> 


More information about the bluej-discuss mailing list