Hi Oscar, I used Eclipse and Sun's Wireless Toolkit 2.1 to develop my apps. Before I wrote any code, I spent a bit of time studying the API and looking at examples on Sun's web site and IBM's web site. My particular scenario included a MIDP app, a Conduit app, an RDBMS, and a desktop Java (Swing) app. I didn't use the Simplicity for PalmOS because it didn't have the utilities I needed for writing the Conduit app. I'm sure it would work very well if your plan is to write wireless apps, however.
What I didn't like about Simplicity for PalmOS is that it seemed to create one java class that did everything rather than allowing me to create several java classes to split up the app into logical components like UI, logic, and data. But, I didn't evaluate it for very long so I'm not entirely sure that it's not capable of doing that. The real challenge that I ran across was with the Virtual Machine that runs on the Palm for the Java app. Palm supports IBM's WME but I had much better luck with Sun's VM for Palm. It allowed my Conduit app and my Palm app to "see" the same data. I did not have any luck doing that with IBM's WME. But if your objective is to simply backup your data on the desktop rather than sync with a desktop database, then I'm sure the WME would work fine. As far as how the RMS works, consider a single DataStore (that's what Java calls them) to be like a single database table. Records that are kept in that datastore are NOT written like a normal database table however. Consider this datastore "table" to be two columns. In the first column is a unique ID assigned to the record by the VM (the primary key). The second column contains the data that your app reads. For example, let's assume you have 7 fields in your Palm app that you persist. Each of the 7 fields is written in bytes and each field of data is separated from the others by a null character. This will take some getting used to. My suggestion is search for RMS examples on Palm's, IBM's, and Sun's web sites. I found a few examples that I could adopt. If not, feel free to email me and I can provide some more assistance. Hope that helps! Brady -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 12:32 PM To: Palm Developer Forum Subject: RE: Java and RMS Hi Brady, thanks for your comments. May I ask you what tool are you using? Since I am also learning Java, there's a lot I do not understand yet. I actually create apps in NSBasic, but some ideas of developing "Web Services", SOAP and XML forced me to choose another development tool. My question regarding DB handling is because people from DataRep could not answer me this issue. So, you mean I can handle PDBs with RMS. Do these DB backup normally? Finally, why you mention about O-O missing in Simplicity? Regards Oscar > Yes it is possible. I just finished an app that did this very thing. > RMS is the Java API layer that sits on top of the Palm OS's native > storage mechanism written in C++ (I think). The RMS API is pretty > easy to work with if you're dealing with storage directly on the Palm > and nothing else (as would be for a wireless app). It's a whole > different story if you're also creating a Conduit app as well. > > The Simplicity for PalmOS is a nice tool. It really speeds up > application development and does a lot of work for you. The price you > pay for that speed, however, is the lack of O-O design. So your > satisfaction with the tool will depend on how strict you are with your > application design. > > Hope that helps. > Brady > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Wednesday, March 24, 2004 10:42 AM > To: Palm Developer Forum > Subject: Java and RMS > > > I am evaluating a new tool called "Simplicity for PalmOS". > (www.datarepresentations.com) > It is a Java based tool like the Suite offered by Palm, except that > the Eclipse IDE is replaced by a more specialized IDE. > > I would like to know how data storage is handled in Java. > The term RMS (Record Management System?) is used to create persistent > data. This seems to be the way Java will work with Palm OS. But I > could not find info about how to access a PDB from a Java app. > > Has anyone experimented with Java and PDBs? > Is it possible to manipulate PDBs from Java? > > Thanks > Oscar > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
