LibraryService.java

java1 kB12 linesIn IN441- Code.zip

IN441- Code.zipsrcexamsfinal_24_25_2exercise_3LibraryService.java

Java
package exams.final_24_25_2.exercise_3;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface LibraryService extends Remote {
    String addBook(String title, String author, int year) throws RemoteException;

    String borrowBook(String title, String username) throws RemoteException;

    String returnBook(String title, String username) throws RemoteException;
}

In exercise_3/