On Sep 3, 8:53 am, Frank Weiss <[email protected]> wrote:
> That makes more sense. What is the class of the service object? I'd
> like to look at what Spring packages you are using.
>
> There are a few solutions that come to mind.
>
> 1) Find a Dalvik JAR of the client library for that Spring service package.
> 2) Add the necessary Spring client source code to your Android client project.
> 3) Use the more loosely coupled XML/JSON/REST client-server architecture.
>
> Perhaps someone who has used Spring with Android can pipe in. However
> most of the client-server code I've run across for Android used option
> 3) and some use SOAP or XMLRPC.

Thanks, that is helpful.
Our desktop app uses:

ApplicationContext context = new
ClassPathXmlApplicationContext("ApplicationContext-gui.xml");
AppService service = context.getBean( "AppService");

All the specific class names are in the XML file.

If all else fails, we could include the relevant Spring source in our
app, but it is rather bulky.
I'm hoping we can go the XML/JSON/REST route.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to