0

I have a project for the school. I must design a server-client system for android client- linux server or android client- android server. I see a lot of document about socket programming but i'm not looking for that. I wanna find a way like RMI. How can i do this?

( I tried to use Binder or AIDL but couldn't understand that are these effective for me.)

thanks

userrrrr
  • 1
  • 3
  • Client should use several methods of server like remote invocation – userrrrr Aug 22 '12 at 13:57
  • still too broad. May you find an architectural style and then ask about the implementation. – sschrass Aug 22 '12 at 14:09
  • I couldn't understand. Are you talking about design patterns like Proxy Pattern, Mediator Pattern, Bridge Pattern ? – userrrrr Aug 22 '12 at 14:17
  • No. Its about the architecural style like REST, RPC etc. – sschrass Aug 22 '12 at 14:20
  • I suggest you to use REST since it is simpler to work with, more flexible and lighter. [More On REST](http://msdn.microsoft.com/en-us/magazine/dd942839.aspx). Are you supposing to develop an enterprise applications? – Ali Aug 22 '12 at 14:37
  • can i do this using web service, json? – userrrrr Aug 22 '12 at 14:46
  • Yes exactly. Take a look at my answer [here](http://stackoverflow.com/questions/11955699/need-advice-talk-to-mysql-server-database-from-my-android-app/11962324#11962324) and let me know if there is any question. – Ali Aug 22 '12 at 15:13
  • Client should use methods of server sometimes easily. Does this form support this? – userrrrr Aug 23 '12 at 08:01
  • Can i use REST for using methods or should I use JSON-RPC? – userrrrr Aug 23 '12 at 13:37
  • Ali, i suppose to develop an enterprise app – userrrrr Aug 28 '12 at 09:45

0 Answers0