From: Simon So <ss...@cs...> - 2002-05-06 22:16:36
|
Dear all, I spent some time investigating what we need to make sync4j work in j2me environment. I checked in some code so that anyone can start working on the respective j2me piece they would like to work on. Why j2me? SyncML really has mobile device in mind, and sync4j is meant to be written for mobile devices. Therefore our implementation should zero in what j2me has to offer. I ain't no spokesman, but I firmly believe that Sean did an excellent job prototyping sync4j with j2se/jdom/etc. For sync4j to be widely accepted in the near future, we've got some major re-architecting to do. Mobile device may not catch up with the taxing memory/power requirements of j2se library. j2me, lightweighted library and optimized number of classes are really the way to go. Generally speaking, what I did was looking into the technology and cooked up the http communication between the j2me client to the server. Functionally there's not much. The test/demo only shows you that the j2me client is talking to the server through network. I am really looking forward to the working protocol layer. Please see README.txt for more info on the check-ins. Thanks, Simon ---------- 1.1 ClientTester.java sync4j/client/j2me <-- client ui 1.1 IConnection.java sync4j/framework <-- shared by srv & cli 1.1 IConnectionFactory.java sync4j/framework 1.1 ClientConnectionInfo.java sync4j/framework/client <-- client only 1.1 ISyncAgent.java sync4j/protocol <-- proposed sync agent interface 1.1 SyncClientAgent.java sync4j/protocol 1.1 SyncServerAgent.java sync4j/protocol 1.1 MyMessage.java sync4j/protocol <-- to be replaced with core.Message 1.1 ClientConnectionFactoryImpl.java sync4j/transport/j2me/http/client <-- package name in acc. with j2me std 1.1 ClientConnectionImpl.java sync4j/transport/j2me/http/client 1.1 SyncMLClient.java sync4j/transport/j2me/http/client <-- cli thread 1.1 sync4j-client-j2me.jad sync4j/src/metadata <-- description file 1.3 build-client-j2me.xml sync4j/build 1.7 build-share.xml sync4j/build 1.7 build.xml sync4j/build |