From: Simon So <ss...@cs...> - 2002-05-13 20:33:25
|
> 1. Where is the servlet used on the server side and how should I configure > it (web.xml file)... sync4j/transport/http/server/Sync4jHttpServlet.java is the servlet invoking the EJB, SyncBean. You are looking for src/xml/webapp/web.xml, I believe. Roughly, src/java <-- contains all java files src/metadata <-- metadata files such as MANIFEST.mf src/xml <-- test data files, deployment descriptors, etc. > 2. I noted the JUnit tests ... I'm assuming that I can get some ideas on > how run the client from these. What kind of client? You mean a j2me client? I haven't looked into setting up j2me client unit test. tests/ClientFrameworkTest.java probably will give you some ideas on how to write a J2SE client. Likewise for client/j2me/ClientTester.java, but it is not formally an unit test case. > 3. Has anyone tested this using a database application of some sort? Not me. > 4. Which types of synchronization are currently implmented (two-way, > one-way, etc.?) It's still at works by Stefano. As of now we can sync anything yet. You may get some ideas on the protocol implementation in src/java/sync4j/protocol directory... Looking forward to you chipping in the protocol implementation. Best, Simon |