implementato esercizio studenti con collegamento da client via interfaccia remota
This commit is contained in:
18
exercise1/RemoteInterface.java
Normal file
18
exercise1/RemoteInterface.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package exercise1;
|
||||
|
||||
import javax.ejb.Remote;
|
||||
import javax.persistence.Query;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 24/05/2015.
|
||||
*/
|
||||
@Remote
|
||||
public interface RemoteInterface {
|
||||
|
||||
@NotNull List<Student> findname (@NotNull String name);
|
||||
@NotNull List<Student> findsurname (@NotNull String name) ;
|
||||
@NotNull List<Student> findyear (@NotNull String name) ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user