Java

Dedicated to the discussion of the Java programming language a...
sv.
Feb 25, 2017 04:18
sv.
Feb 25, 2017 04:18
@Abcd New to Java? Do you mean how to write array name in javadoc comments?
sv.
Feb 25, 2017 03:43
2
A: What port is used by Java RMI connection?

EJPAll the answers so far are incorrect. The Registry normally uses port 1099, but you can change it. But that's not the end of the story. Remote objects also use port, and not necessarily 1099. If you don't specify a port when exporting, RMI uses a random port. The solution is therefore to specify...

sv.
Feb 25, 2017 03:42
What to make of ports 48030, 48024 etc. Seem like Random ports .. how to prevent it?
sv.
Feb 25, 2017 03:41
[abcd@abcd123] /opt/local/tomcat/webapps $ netstat -an | grep 1099

tcp6 0 0 :::1099 :::* LISTEN
tcp6 0 0 :::10991 :::* LISTEN
tcp6 0 0 10.1.1.211:1099 10.2.2.220:48030 ESTABLISHED
tcp6 0 0 10.1.1.211:39538 10.2.2.220:1099 ESTABLISHED
tcp6 0 0 10.1.1.211:1099 10.2.2.220:48024 ESTABLISHED
sv.
Feb 25, 2017 03:40
In a Firewall situation this might fail.
sv.
Feb 25, 2017 03:40
Problem is that I'm using 2 ports for RMI 1099 & 10991 .. but I still see random ports being used.
sv.
Feb 25, 2017 03:38
All: Have a question on Java RMI and ports. Please ping me back if anyone can help. Thanks.
 

Java, Spring,JPA, PHP, jQuery & Javas

This room is for Java, ,Spring Framework, JPA, Javascript, jQu...
sv.
Feb 24, 2016 20:48
Hi @CrazyNinja you familiar with Spring. Specifically Spring autowiring / loading beans in an non-MVC environment....