Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Application Requests

Application Requests Request Apps or provide ideas for the devs here.



Reply
 
LinkBack Thread Tools
Old May 13th, 2010, 05:31 AM   #1 (permalink)
New Member
 
Join Date: May 2010
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Rmi on Android?

Hi everyone,

is it possible to use rmi on Android?

Tnx

Carteruccio is offline  
Reply With Quote
Sponsors
Old May 13th, 2010, 08:27 AM   #2 (permalink)
New Member
 
Join Date: May 2010
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

mmm...no-one answering my question?
Carteruccio is offline  
Reply With Quote
Old May 15th, 2010, 12:49 PM   #3 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Stupid question, but what is RMI? A quick google search didn't give me a good indication of what you're talking about, based on the context. I'd love to help, but I'm not sure what you're talking about :-)
apprabbit is offline  
Reply With Quote
Old May 18th, 2010, 02:24 AM   #4 (permalink)
New Member
 
Join Date: May 2010
Posts: 3
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by apprabbit View Post
Stupid question, but what is RMI? A quick google search didn't give me a good indication of what you're talking about, based on the context. I'd love to help, but I'm not sure what you're talking about :-)

It's Java RMI! it enables the programmer to create distributed Java applications, in which the methods of remote Java objects can be invoked from other Java virtual machines, possibly on different hosts!
So my problem is the following: I hava a Java Application (let's call it JA) and an Android application (let's call it AA) running on a PC. I want AA to communicate with JA but I don't know how to do since I started working with Android just last week, so I don't have a lot of experience! When you have two Java applications you can use RMI to have them communicating but with Android RMI seems not working at all!
Carteruccio is offline  
Reply With Quote
Old May 22nd, 2010, 07:59 AM   #5 (permalink)
New Member
 
Join Date: May 2010
Location: New Zealand
Posts: 1
 
Device(s): lg gw620
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi, I've just started playing round with both Android and the google app engine(free) and while neither support RMI, they both support java reflection, I've managed to "roll my own" RMI that works over http from the android phone to a google app engine app(or anywhere else capable of running a servlet), One draw back of using google app engine as the server is all the method calls are of a static(stateless) nature as you can't guarantee that consecutive method calls will be processed on the same server/jvm.
If you would like my code, just ask and I will try and upload it here or email it to you.
timp is offline  
Reply With Quote
The Following User Says Thank You to timp For This Useful Post:
rshnrocket85 (August 13th, 2011)
Old August 13th, 2011, 11:51 PM   #6 (permalink)
New Member
 
Join Date: Feb 2011
Posts: 2
 
Device(s):
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hey timp,

I would love to be able to see how you were able to accomplishthe rmi to work. I am currently attempting to write an android app that would be able to connect to a jboss server, but been having a hard time getting the rmi to work.
rshnrocket85 is offline  
Reply With Quote
Old November 15th, 2011, 04:24 PM   #7 (permalink)
New Member
 
Join Date: May 2011
Posts: 4
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to emaborsa Send a message via Skype™ to emaborsa
Default

Quote:
Originally Posted by rshnrocket85 View Post
Hey timp,

I would love to be able to see how you were able to accomplishthe rmi to work. I am currently attempting to write an android app that would be able to connect to a jboss server, but been having a hard time getting the rmi to work.

I'd be curious too....have you been able?
emaborsa is offline  
Reply With Quote
Old November 16th, 2011, 09:27 AM   #8 (permalink)
Member
 
Join Date: Apr 2010
Posts: 344
 
Device(s):
Thanks: 6
Thanked 25 Times in 24 Posts
Default

RMI sounds good but won't it achieve something similar by having web services in the form of REST? JSON format is popular and I think it should form the future. RMI to me are too troublesome when all we want is to transmit a message from A to B.

Can you imagine using RMI to get those RSS feeds? It is overkill. A simple HTTP call, the return text in some pre-defined XML format and we are done.
sohguanh is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Application Requests User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:37 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo