|
|
Choosing A Webhost: |
Re: JOGI & J2ME?: msg#00018cms.opengroupware.xmlrpc.devel
Adam Tauno Williams wrote: I think for that you can simply use the KXML-RPC library http://kxmlrpc.objectweb.org/software/downloads/ to access XmlRpc from Java (the project seems to be somewhat deceased... but it's still available andwanted to write a specific J2ME app. The project (from the google search above) also contains links to XML-RPC libraries that work on J2ME,We are evaluating a wireless device from RIM (the Blackberry people) it's small enough so you could fix/enhance stuff on your own). If "Collections" in Java means the same thing as Collections in .NETWell... Java has always had some Container classes (Vector == .NET ArrayList, Hashtable == .NET HashTable, Enumeration == Iterator (I don't know if that's the same name in .NET)). The problem: these were always specific classes (and: all methods are synchronized which can have a slight performance overhead). With Java 1.2, the Collections API improved this by defining Interfaces List, Map, Set, Iterator, and by providing specific implementations for those (ArrayList, LinkedList,....; HashMap, LinkedHashMap,...; ...). This seperation makes this much more flexible than the old Vector/Hashtable classes (these were, though, retrofitted to implement List/Map as well). For some reason, J2ME didn't follow this... I don't know why (well, I *suspect* some performance reasons, as interface invoked methods can be a bit slower on non optimizing VMs (interpreters, very simple JITs), but that's just a suspicion), but it's rather dumb anyway... Hmm... I'm wondering: which J2ME Profile do you use? MIDP, MIDP 2.0? For those, JOGI won't work (for the issued explained above), but if you should use the CDC or CLDC profiles, it should work, as they include those classes (J2ME has different "profiles", and CDC are supersets of MIDP2.0 for more performant devices, though I don't know whether they are already used); murphee -- Werner Schuster (murphee) Student of SoftwareEngineering and KnowledgeManagement Maintainer of the OGO-JOGI Project @ http://ogo-jogi.sourceforge.net/ Blog @ http://jroller.com/page/murphee -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: JOGI & J2ME?, Adam Tauno Williams |
|---|---|
| Next by Date: | OGOJOGI->Person.insertJob(), Christoph Guse |
| Previous by Thread: | Re: JOGI & J2ME?, Adam Tauno Williams |
| Next by Thread: | Re: JOGI & J2ME?, Adam Tauno Williams |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |