Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between RMI URL formats

Tags:

java

rmi

I've seen 2 types of RMI URLs(may be this term is incorrect) as http://host:port/rmi and rmi://host:port/repository_name. But I've no idea what the difference between those two are. can someone please explain?

Thanks.

like image 303
Bee Avatar asked May 26 '26 13:05

Bee


1 Answers

The format of an RMI URL is one of the following:

   rmi://[host][:port][/[object]]

   rmi:[/][object]

If the object name is absent, then the URL names the registry at the given host and port. Otherwise, it names the remote object registered at that registry under the name provided. If the host is omitted, the local host is assumed. If the port is omitted, the default registry port 1099 is assumed.

ref this

like image 178
laksys Avatar answered May 28 '26 02:05

laksys



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!