Meaningless Drivel is fun!
The moose likes Junior/Associate Certification (SCJA,OCAJ 5/6/8) and the fly likes Midlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Junior/Associate Certification (SCJA,OCAJ 5/6/8)
Bookmark "Midlets" Watch "Midlets" New topic


John Wolf
Ranch Hand

Joined: Feb 18, 2002
Posts: 64
Objective 7.2 Describe at a high level the basic characteristics, benefits, drawbacks, and deployment issues related to creating clients using J2ME midlets.

Since I am new to J2ME and Midlets and I am sure there are others like me out there. I thought I will start topic so some of us can get introduced to midlets.

Basic Characteristics
"Midlets" are the nickname for Java technology applications that run on wireless and mobile devices. MIDP (Mobile Information Device Profile) applications are piquantly called MIDlets, a continuation of the naming theme begun by applets and servlets.

To develop MIDlets, you'll need some kind of development kit, either from Sun Microsystems or another vendor. MIDP is only a specification; vendors are free to develop their own implementations.

1) Writing MIDlets is relatively easy for a moderately experienced Java programmer.
2) Creating source code is much the same as in J2SE development, but the build process is different.
3) MIDlets are developed on regular desktop computers, although the MIDlet itself is designed to run on a small device.
4) Sun's MIDP reference implementation includes an emulator named midp. It emulates an imaginary MID, a mobile telephone with some standard keys and a 182-by-210-pixel screen. The J2ME Wireless Toolkit includes a similar emulator, as well as several others.
5) J2ME profiles such as MIDP help hide the complexity of deploying the same application on the many different devices because they automatically accommodate user interface control differences and other vagaries of the different devices.

Could someone please list some drawbacks...

Deployment Issues

First, the source code must be compiled against the MIDP classes using javac's -bootclasspath option.
Second, the classfiles must be preverified using the preverify command line tool.

With the J2ME Wireless Toolkit, these steps are conveniently automated. Just click the Build button to build and preverify. Applications can be easily tested in emulators using the J2ME Wireless Toolkit.

Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 267
nice summary Sumit....I'm finding that in doing the same for most of the other technologies that I can determine the benefits but never the drawbacks. I'll probably have to put in some time this weekend researching. The sun website for these technologies doesn't often list drawbacks.
Joyce Lee
Ranch Hand

Joined: Jul 11, 2003
Posts: 1392
More references for objective 7:
Section 5.2

Browser Clients:

Java Clients (applications, applets, MIDlets):

Joined: Jun 07, 2005
Posts: 7
Thnaks to everyone, Since I am new any help on
section 6 to 8 is most welcome.

Please give links for all possible objectives esp
section 2 and section 6 to 8.

Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11778


We only have two rules at JavaRanch. The "Be Nice" rule, and the JavaRanch Naming Policy. Under your old display name of "Temp Mail", you were asked three times to change your name. Now we see that having finally changed it, you still chose not to follow the JavaRanch Naming Policy.

I am choosing to believe that you are not deliberately ignoring our two rules - possibly you are just not understanding the naming policy. So I will make it clear: we need both a first and a last name displayed, and it should preferably be your real name. If you decide to make up a name, that is OK, but please make it appear like it could be a real name, and don't use a famous name.

You can change your displayed name here.

Thank you.

[ June 11, 2005: Message edited by: Andrew Monkhouse ]

The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Mahesh Kumaraguru
Ranch Hand

Joined: Jun 01, 2005
Posts: 109
Originally posted by Anagha:
Thnaks to everyone, Since I am new any help on
section 6 to 8 is most welcome.

Please give links for all possible objectives esp
section 2 and section 6 to 8.


Links organised by section for objectives of Sun Certified Java Associate is being collected at You are welcome to use it and add to it.

Regards,<br>K. Mahesh<br> <br>SCJP 1.2 Aug-2001 : 79%

Joined: Jun 07, 2005
Posts: 7
Thanks, thankyou very much.
Any other info. pls tell me.
I agree. Here's the link:
subject: Midlets
It's not a secret anymore!