You are here:
I have a Masters in computer science. I can answer questions on core J2SE, swing and graphics. Please no questions about JSP or J2ME.
I have experience in Core Java, good background in Java swing/gui, some experience with JNI, Java reflection. Some experience in bio-informatics. Basics in c++ and c#
Washington State University
MS in Computer Science from Washington State University and a BS in Mathematics and Computer Science from Central Washington University.
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Corina | 02/06/12 | 10 | 10 | 10 | Thanks (: |
| kavitha | 02/06/12 | 10 | 10 | 10 | |
| kavitha | 02/02/12 | 10 | 10 | 10 | Thank you so much for your reply ..... |
| Zent | 02/01/12 | 10 | 10 | 10 | I cannot thank you enough, Mr.Harper!! |
| henry | 01/28/12 | 10 | 10 | 10 |
You can connect to the server the jar came from without RMI. It might be possible to use RMI if the server if running http and has a crossdomain.xml in the root directory with: <?xml version="1.0"
Socket permission issues generally refers to trying to communicate to another server using an applet. Generally applets may only contact the server that their code was loaded from (unless you sign the
Java applets are compiled code, there is no source code typically available. You could get a java decompiler that will attempt to show what the source code looks like, although there won't be any comments
You can get a list of commonly used ports. The vast majority of ports will not be used on a system, so it won't take too much probing to find the one you want. The getLocalPort is used to get the local
You could iterate though a range of them and see what one is available. Note however that this really isn't a viable option if you plan to receive communication from another computer. Just use a for loop
Answers by Expert:

©2012 About.com, a part of The New York Times Company. All rights reserved.