Skip to content

Commit 1bd16d0

Browse files
committed
Change @Remote interface to @Local
1 parent 82f56bd commit 1bd16d0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • ejb
    • stateful/src/main/java/org/javaee7/ejb/stateful/remote
    • stateless/src/main/java/org/javaee7/ejb/stateless/remote

ejb/stateful/src/main/java/org/javaee7/ejb/stateful/remote/Cart.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
package org.javaee7.ejb.stateful.remote;
4141

4242
import java.util.List;
43-
import javax.ejb.Remote;
43+
import javax.ejb.Local;
4444

4545
/**
4646
* @author Arun Gupta
4747
*/
48-
@Remote
48+
@Local
4949
public interface Cart {
5050

5151
public void addItem(String item);

ejb/stateless/src/main/java/org/javaee7/ejb/stateless/remote/Account.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
*/
4040
package org.javaee7.ejb.stateless.remote;
4141

42-
import javax.ejb.Remote;
42+
import javax.ejb.Local;
4343

4444
/**
4545
* @author Arun Gupta
4646
*/
47-
@Remote
47+
@Local
4848
public interface Account {
4949

5050
public String withdraw(float amount);

0 commit comments

Comments
 (0)