How to write android client server application?
<p>I want to write an android application which works with some server in which app will query to server and server will reply with few objects.</p>

<p>I have tested login functionality with Java servlet using following method.</p>

<pre><code>http://myhost:8080/androidapp/login?username='myusername'&amp;password='mypassword'
</code></pre>

<p>But it seems that this is not the secure way to do such transactions. Any way user will not be able to see this information but still I want to know that is it secure to use this method.</p>

<p>When project will grow server will send many objects and android app also will need to send too many parameters so I think above method is useless.</p>

<p>Please suggest me some method through which I can get my work done easily without going into other technology like php etc. because I am already working with JSF and android client app side so it would be difficult for me to learn new things in short time.</p>

<p>Other option which I though is to use RMI (Remote Method Invocation) but how can I use it in eclipse or will it supported by Apache Tomcat?
Thanks</p>
