Java ME and remote classes
I need to develop server side Java application that will be on computer, Linux or Windows, and a client for mobile CLDC device.
For future development of application, I'm trying to figure out is there a way to conduct changes only on server side.
Application has to do two things. A and B, respectively. Client on mobile device has the code and the forms to obtain it. Later, someone add thing C to server side. That action leads to changing or adding classes on client, and I want to find solution as follows:
-client don't have classes for work A, work B, work C etc. What he does is to load classes or data from server and use that data.
I have two ideas, I don't know if they are working. I will list here my ideas:
1. create CLDL class on server and mobile device will call remote class
2. create XML data on server and mobile device will generate class according to XML data.
Does any of these ideas work (if yes how can I implement it)? Is there some other solution?
Thx in advance