Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

How To Run J2ME Programs on Palm Devices

By Exforsys | on July 14, 2006 |
J2EE

How To Run J2ME Programs on Palm Devices

Palm products are very popular mobile communication tools which have a large number of properties. Because of the properties that these devices have, they have been combined with programs such as Java.

Products such as the Palm Treo are being used to run a number of Java MIDP programs. Runtime support is provided, and it will allow these systems to work together. It is possible to combine your J2ME programs with the Palm operating system by using WEME. To do this, you will need to have knowledge of Java MIDP.

If you want to use J2ME programs, you will first need to setup a device which will serve as the target. This device must have the Java Virtual Machine along with the libraries which can allow it to use the J2ME classes. The runtime for Java was first created by Sun in the late 1990s. The implementation of Java on Palm products has existed for quite some time. At the same time, it was difficult to get a Java runtime to work on Palm products which could work effectively for certain applications. Many of these programs had stability or performance issues.

The creation of the IBM WEME has effectively solved these problems. It has created a sophisticated runtime that will work well for a large number of Palm products. Some of these Palm products are the Treo and Zire. The WEME has a number of elements that can work for Palm devices. It has the Java MIDP, the localization overlays for multiple languages, and the use of PIM and FileConnect. In addition to this, it can also use a panel which will work well for the Palm operating system. These elements can be acquired from two places. If you are only interested in doing basic things with J2ME applications, you can install the handheld packages.

If you want to do more advanced things like create J2ME programs, you will need to get some components from IBM. The products that you can get from IBM are built with Windows DLLs, and they can work with the Palm Stimulator. This will allow you to test your J2ME programs on your computer. The first thing you will want to do is study the internal portion of a basic application. J2ME programs are released as two pieces, and these pieces are the Java program description and the Java archive. The Java archive has the code for the Java program, while the Java program description can be found with a .jad file.

The division between these two pieces will make it easier for your J2ME products to figure out what is necessary for running a program without wasting a large number of resources in the process. It can also solve the problem of downloading a J2ME program which is too big for the device you want to put it on. Every J2ME program you work with will utilize what is called a MIDLet class. The constructor will be named after the class. The goal of the J2ME runtime is to generate an instance of your program. The constructor will perform the creation of the necessary objects.

The J2ME runtime can use the startApp to start the programs. It will also need you to provide it with the pauseApp method. This will occur if the runtime decides to pause the program. An example of this would be if you are getting an important phone call. In addition to this, you will also have to give the J2ME runtime the destroyApp method. The runtime may request this when the program ends. Another method that you will want to become familiar with is the commandAction method. The commandAction method will study commands that are received and will also close the program.



A JAD file may also need to be used with your applications. The JAD file is a key/value pair that will provide a description for the program. If you are not building your J2ME program from scratch, you will need to pick the environment that you want your program to be created in. The environment that you choose should be dependent on the properties you choose to use. It should also be dependent on the JAR file that will be created when you design your program.

« « Java Virtual Machine
How To Use Java DB as Your Client Mobile Database » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 391 Followers
  • Popular
  • Recent
  • A Java TOC2 Class Which Can Contact Aim

    July 12, 2006 - 0 Comment
  • How to Install and Use NetBeans for Java Development

    June 26, 2005 - 0 Comment
  • Servlets Advanced

    December 12, 2005 - 0 Comment
  • Quickly Develop Java Programs With Tapestry

    July 12, 2006 - 0 Comment
  • .NET and J2EE – A Comparsion Study

    November 26, 2005 - 0 Comment
  • JSP Basics

    May 7, 2006 - 0 Comment
  • How To Use Java DB as Your Client Mobile Database

    July 14, 2006 - 0 Comment
  • Future of Java Technology

    November 26, 2005 - 0 Comment
  • Antipatterns In Java Programs

    July 1, 2006 - 0 Comment
  • Java Overview

    July 17, 2006 - 0 Comment
  • Why It is Important To Focus On Java Exceptions For Your Programs

    July 27, 2006 - 0 Comment
  • Important Features of Java – Multithreading, AWT

    July 26, 2006 - 0 Comment
  • What You Should Know About Java XML

    July 25, 2006 - 0 Comment
  • What You Can Do To Deal With Java’s Memory Retention Problems

    July 22, 2006 - 0 Comment
  • Java Overview

    July 17, 2006 - 0 Comment
  • How To Use Java DB as Your Client Mobile Database

    July 14, 2006 - 0 Comment
  • Java Virtual Machine

    July 13, 2006 - 0 Comment
  • Quickly Develop Java Programs With Tapestry

    July 12, 2006 - 0 Comment
  • A Java TOC2 Class Which Can Contact Aim

    July 12, 2006 - 0 Comment
  • How To Perform Class Loading With Java

    July 8, 2006 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • Why It is Important To Focus On Java Exceptions For Your Programs
  • Important Features of Java – Multithreading, AWT
  • What You Should Know About Java XML
  • What You Can Do To Deal With Java’s Memory Retention Problems
  • Java Overview

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT