Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME ?

 
Jawahar Rajan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to find out what J2ME does that J2EE or J2SE will not do?
I am correct in thinking that J2ME is a java development kit for developing lightweight components that can be used in small devices like cell phones or other wireless devices?
Can code stil be written and complied usin J2SE?
What type of processor is used?
What kind of OS would these devices require, Linux? (it is still quite a large size OS) or is there a light Linux?
When working with J2ME what kind of input/output objects would be better used? Object Stream VS File stream or text
For Bigger deveices like Microwaves could heavire components be used as the processor can be larger?
Thanks
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2ME is Java's API for limited resource devices. Theoretically code written in J2SE will work in J2ME. J2ME has a stripped down version of the java.lang, java.util, and java.io packages. It is OS independent. It requires a java virtual machine to run.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Theoretically code written in J2SE will work in J2ME.
Well, assuming that you don't use any features not found in J2ME. Othe differences: the AWT is completely different and J2ME doesn't support floats.
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try the faq link and sun's javs site.

http://java.sun.com/j2me/faq.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic