Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: JOGI & J2ME?: msg#00018

cms.opengroupware.xmlrpc.devel

Subject: Re: JOGI & J2ME?

Adam Tauno Williams wrote:

wanted to write a specific J2ME app. The project (from the google search above) also contains links to XML-RPC libraries that work on J2ME,
so if you want to do this, you can.

We are evaluating a wireless device from RIM (the Blackberry people)
that is a J2ME platform. OpenGroupware integration is a requisite,
hence the question. I suppose just basic XML-RPC support is enough to
get us somewhere.

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 and
it's small enough so you could fix/enhance stuff on your own).

If "Collections" in Java means the same thing as Collections in .NET
(ArrayList, HashTable, etc...), then yea, lack of it would suck. [ I'm
not terribly familiar with Java ].

Well... 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>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation