Push Registry (J2ME)

Published on April 13, 2007

J2ME has a way to wake up/start up a MIDlet, using Java’s Push Registry. The push registry’s behavior can be simply described in 3 steps:

  1. The MIDlet registers a port along with the protocol name.
    The AMS delivers and wakes up the MIDlet when it detects incoming connection to that port. The registration is done statically using the JAD file, or it can perform dynamic registration within the MIDlet.

  2. A SMS or data connection is sent to the specific mobile device using the particular protocol and port where the MIDlet application is registered to listen.

  3. The AMS wakes up the MIDlet application. It is now the MIDlet’s responsibility to process the data accordingly.

More Links: