| By J2ME FAQ | Article Rating: |
|
| July 1, 2001 12:00 AM EDT | Reads: |
8,943 |
Q: Is PersonalJava part of J2ME?
A: The short answer is yes. For the long answer, we'll refer to Sun's FAQ for J2ME, which states that PersonalJava was the "first Micro Edition technology." Because PersonalJava has been around for a while now, you'll find more products with a version of it installed. But sometime this year (2001), Sun is expected to replace the existing PersonalJava technology - based on Java 1.1 - with a new release based on Java 2, and incorporate it into the J2ME concepts of configuration and profile components.
Q: Is all the Java API within J2ME?
A: No. Even PersonalJava, which has the most complete coverage of the Standard Edition API, is still just a subset.
Q: What is a "midlet"?
A: Actually, the correct word is MIDlet. A MIDlet is an application written for the Mobile Information Device Profile (MIDP). You might find these on mobile phones, PDAs - in general, small devices.
Q: Can I use threads? Is there a penalty?
A: Yes you can use threads, unless you're writing a JavaCard applet. As for the penalties, it depends on how you want to use them and the environment you're working within. When developing for constrained devices always remember what resources you have available. If you're writing a MIDlet and create 100 threads to try to load 100 images simultaneously, there definitely will be a penalty - it undoubtedly won't work.
Q: Do I use AWT or Swing for my GUI?
A: If you're developing a PersonalJava application, you have access to a modified version of AWT; "modified" meaning that a few java.awt classes/methods are optional, some have been changed, and there are some additions to the basic package.
You may be able to get Swing to work within a PersonalJava environment as well. A brief skim of the PersonalJava forums shows some success stories - and more than a few painful attempts.
None of the other J2ME "products" support AWT or Swing (for example, MIDP has the javax.microedition.lcdui package for user interfaces).
Q: Where can I find more information about wireless technologies?
A: The back issues of JDJ are one place. For online information, check out the following URLs:
Q: Where can I download J2ME emulators?
A: You can download from the following Web sites:
Q: Where can I find devices that run J2ME?
A: Move to another country. At the moment there are a limited number of countries where J2ME-capable devices have been released, especially for mobile phones. While you can probably find PDAs that support PersonalJava almost anywhere in the world, the same is not true for mobiles.
In Japan NTT DoCoMo has a number of phones from Panasonic, Fujitsu, Sony, and others (available only in Japan, of course). In the U.S., Motorola has a couple of J2ME-capable mobiles. For a more comprehensive list check out www.javamobiles.com/.
Published July 1, 2001 Reads 8,943
Copyright © 2001 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Industry Experts Discuss the State of Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Performance Tuning Essentials for Java
- It's the Java vs. C++ Shootout Revisited!
- Confessions of a Ulitzer Addict
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- My Thoughts on Ulitzer
- Oracle-Sun: IBM Reportedly Behind Delay
- Ulitzer Aid Campaign for the Typhoon Ondoy Victims
- Cloud Computing Can Revitalize Your Career as Software Developer
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Industry Experts Discuss the State of Cloud Computing
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Performance Tuning Essentials for Java
- It's the Java vs. C++ Shootout Revisited!
- Confessions of a Ulitzer Addict
- The End of IT 1.0 As We Know It Has Begun
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?





























