5 views
Skip to first unread message

Charudatta Joshi

unread,
Apr 9, 2012, 3:40:11 AM4/9/12
to bo...@googlegroups.com
Dear All,

I have to make a client server based application in RMI.
I'm bit confused about the way RMI implementations handles requests.
Is new thread created for each request internally or do I have to create a new thread to handle requests.

Also please suggest me an RMI Implementation which is open source. Currently I'm thinking of using SUN's implementation.
 

Thank You,
--
Charudatta.M.Joshi

William la Forge

unread,
Apr 10, 2012, 3:38:03 AM4/10/12
to bo...@googlegroups.com
Haven't used RMI for about 10 years, but it creates the threads for incoming requests. And I've only ever used Sun's impl.

Hope performance isn't needed for your project. There's also security issues, of course. This isn't a technology for doing web-scalable applications!

Bill


--
Charudatta.M.Joshi

--
You received this message because you are subscribed to the Google Groups "Bangalore Open Java Users Group- BOJUG" group.
To post to this group, send email to bo...@googlegroups.com.
To unsubscribe from this group, send email to bojug+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bojug?hl=en.

Nibin Varghese

unread,
Apr 10, 2012, 2:32:29 AM4/10/12
to bo...@googlegroups.com
Hi,

Why a Java's RMI? If you want support for RPC's, look at better frameworks such as Kryo or MessagePack. The serialization in these frameworks are much better compared to Java's serialization( see https://github.com/eishay/jvm-serializers/wiki)

Regards,
Nibin

On Mon, Apr 9, 2012 at 1:10 PM, Charudatta Joshi <itis...@gmail.com> wrote:

--
Charudatta.M.Joshi

--

singh.janmejay

unread,
Apr 10, 2012, 2:35:22 AM4/10/12
to bo...@googlegroups.com

Check out spring rmi support. You can use it in a servlet container over HTTP(S). Handy and easy for others to understand, and you can use regular reverse proxy based or servlet-api filters to do security/access protection.

--

shweta sharma

unread,
Apr 10, 2012, 7:49:42 AM4/10/12
to bo...@googlegroups.com
Hi ,

IF you have to do some RMI stuff then i guess XML-RPC might help you .
check it out in wiki & http://docstore.mik.ua/orelly/xml/jxml/ch11_01.htm

Its  modified form of RMI only and at few places  is more advantageous than SOAP.

Thanks
Shweta
Reply all
Reply to author
Forward
0 new messages