Starting with the necessity of serialization based on j2me platform,this paper introduces the principle of serialization,and presents an implementation about the serialization in state machine engine in order to solve the recursive reference between objects.