I'm programming android app as my final project. It's connecting to a java web-service on cloud. My problem is that I want to use complex java objects and share them between my android app and my web service on cloud.
As example I have "Mission" class and i want use methods that get "Mission" type argument as parameter, or returns "Mission" type. I want to use those complex objects just as String, Integer or Boolean.
May I create a library or jar file or something that hold those classes on the client side and the server side?
What should I do to use those classes and complex java objects between the server-side and the client-side just as we use String or other regular java types?