Created
January 10, 2014 11:33
-
-
Save Leward/8350465 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.supinfo.java; | |
import javax.ejb.Remote; | |
@Remote | |
public interface FirstSessionBean { | |
public String sayHello(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.supinfo.java; | |
import javax.ejb.Stateless; | |
@Stateless | |
public class FirstSessionBeanImpl implements FirstSessionBean { | |
public String sayHello() { | |
return "Hello"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment