This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes sun.rmi.transport.tcp.TCPTransport source code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sun.rmi.transport.tcp.TCPTransport source code" Watch "sun.rmi.transport.tcp.TCPTransport source code" New topic
Author

sun.rmi.transport.tcp.TCPTransport source code

Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

As the subject indicates, where can I find the source code of sun.rmi.transport.tcp.TCPTransport and its related package? It is part of the rt.jar

Thanks


SCJP, SCJD, SCWCD, SCBCD, SCEA
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

You can't. The packages that start with sun, sunw and com.sun are Sun's own, proprietary classes. You could try to decompile the class but you may break the law doing that.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 192

Actually just a few minutes ago, I found the source code of the package sun.xxx at the following link.

http://java.sun.com/j2se/jrl_download.html

To be more specific, if you download the zip file and unzip to a directory, sun.rmi.transport.tcp.TCPTransport is located at:
j2se/src/share/classes/sun/rmi/transport/tcp/TCPTransport.java

Thanks
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Well blow me down. I never knew Sun released those. Perhaps you can also find the source for Java 6?
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3419
    
  12
Rob Prime wrote:Perhaps you can also find the source for Java 6?


You can get that from the Java SE download page. Just scroll down to the additional resources section.


Joanne
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sun.rmi.transport.tcp.TCPTransport source code
 
Similar Threads
RMI Connections Dropping Please Help
java.rmi.ServerException etc
The RMI API isn't finding my classes?
JBOSS 6.0 Error While Starting Up..
Problem with Testing my RMI BusinessLogic with more than 200 Threads