Re: Java ME and remote classes
[email protected] Mon, 14 Jul 2008 11:09:23 PDT
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <13556927.285481216058995099.JavaMail.tomcat@sdcst12.sjc.collab.net> |
Like everyone else who's replied has already pointed out, there is no class loading available in CLDC, so you have to find another solution really. Well, if the updates aren't too frequent, you could always just build into your application some sort of update-notification which would link to a new build of your MIDlet to download and install OTA. So e.g. server side you update some functionality, and on your server-side you also have an auto-build of a new mobile client that can be deployed on a Web URL, which your old mobile client will be notified of the change in service and where to update the client from. Sounds a bit of a hassle, but it saves on creating too complex a mobile client. Another alternative is to make a generic 'framework' MIDlet which is configured with your own proprietary code or XML specifications which allow whatever behaviour to be dynamically 'programmed' by a server. So a little bit like your solution (2), but what I mean is that instead of generating actual classes, the existing classes are configured to behave however you like (e.g. creating GUI components on the fly). This solution could potentially be horribly complicated, but the benefits great. I remember an Aussie bloke talking about exactly that kind of this (was it the AirScape guy??) in one of the MECo podcasts, possibly from ME Developer Days. I can't remember the details - just a line sticks out that was something like, 'Our application can be whatever you want it to be,' which at first I thought was a bit silly until he described it in further detail. Anybody else remember that podcast (more fully than I)? [Message sent by forum member 'davjoh' (davjoh)] http://forums.java.net/jive/thread.jspa?messageID=286509 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".