For some J2me developers this posting could be a little bit old-fashioned, but I found it worthly enough to write a posting for it.
For some J2me-MIDP applications, which I have developed in the past, I used RMS to store data on the handheld for later use. The first time, I used RMS to store program data on the handheld I discovered that MIDP has no support for object serialization at all, as known in J2SE. Also, it does not have ObjectInputstream or ObjectOutputstream facilities so it is not possible to write complex objects (String, int and boolean can be written to RMS) to RMS, unless you provide your own serialization facilities. So I did..
I have written my own serialization facility according to an article provided by Sun. The technique used in the article is not difficult to understand and it also explains a handy way to serialize Vector-objects containing different objects.
I hope that Sun will give support for serialization in future MIDP releases, for the simple reason that SUN itself provides now articles that explain ways to overcome the shortcomings of MIDP…

May 30th, 2006 at 21:57:42
I need such a tool. Is there any possibility to use your application or another serializable j2me tool?
October 30th, 2006 at 03:01:29
The article that you point to does not exist.
October 30th, 2006 at 19:55:31
Seems that Sun moved the article to another location or just removed it. The reason could be that the article is too old and there is now another solution in the J2ME suite for enabling serialization. I remember the article was dated from 2002..
I will have a look on the internet when I have some time left. Maybe it still somewhere there..
October 30th, 2006 at 22:36:16
Sun indeed changed the location of the article. I have updated the link. You have to scroll down to view the solution.
By the way, thanks for your comment.
August 16th, 2007 at 16:11:37
good stuff…….
but missed the boat in the middle of the message
January 18th, 2008 at 11:53:15
J2ME Serialization Library
http://danykey.blogspot.com/2008/01/j2me-serialization-library.html