IntelliJ Java IDE
The moose likes Distributed Java and the fly likes RMI CodeBase? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "RMI CodeBase?" Watch "RMI CodeBase?" New topic
Author

RMI CodeBase?

Steven Leow
Greenhorn

Joined: Jun 19, 2001
Posts: 6
What is codebase? I have seen in the clientapplet.java source like this :
--------------------------------------------------------------
cs = (ChatServer)Naming.lookup("rmi://" + getCodeBase().getHost() + ":5050/ChatServerImpl");
--------------------------------------------------------------
I know in my applet html code, i have to write : What am i suppose to write in the codebase?
My classes are stored in side c:\html\chat\classes
My html code are inside the chat folder
My web server is http://localhost/chat
I used package eg chat.chatserverimpl etc
So my codebase shd be written as codebase="chat/" or "chat/classes"
Pls advise 'cos i kept having the class is not found...
[This message has been edited by Steven Leow (edited June 19, 2001).]
[This message has been edited by Steven Leow (edited June 19, 2001).]
[This message has been edited by Steven Leow (edited June 19, 2001).]
 
IntelliJ Java IDE
 
subject: RMI CodeBase?
 
Threads others viewed
Codebase
HTML Tags
rmic
Urgent ..A doubt on JRE Pluggin
jsp loading applet using java plug-in
developer file tools