±Û¾´ÀÌ :ÀÌÁøÈ£ 1998³â 12¿ù 04ÀÏ 09:20:24
¾È³çÇϼ¼¿ä.
ÀÚ¹Ù Tutorial¸£ °¡Áö°í »õ·Ó°Ô RMI¸¦ °øºÎÇÏ·Á°í ÇÕ´Ï´Ù. °Å±â¿¡ ³ª¿À´Â ¿¹Á¦ÀÎ ÀÎÅÍÆäÀ̽ºÀε¥, Task.java´Â
ÄÄÆÄÀÏÀÌ µÇ´Âµ¥, ¹Ø¿¡ ÀÖ´Â Compute.java´Â "Class compute.Task not found in type declaration"¶ó´Â
¿¡·¯¸Þ½ÃÁö°¡ ¶ß³×¿ä.
¾Æ½Ã´Â ºÐ °¡¸£ÃÄ ÁֽðڽÀ´Ï±î?
package compute;
import java.io.Serializable;
public interface Task extends Serializable {
Object execute();
}
package compute;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Compute extends Remote {
Object executeTask(Task t) throws RemoteException;
}