BAEL-317 - Added junit and surefire, updated the authentication info so that it fits the article

This commit is contained in:
slavisa-baeldung
2016-11-16 07:21:01 +01:00
parent 35ee1b89bb
commit 0262d2728f
5 changed files with 55 additions and 34 deletions
@@ -1,15 +1,10 @@
package com.baeldung.ejb.tutorial;
import javax.annotation.Resource;
import javax.ejb.SessionContext;
import javax.ejb.Stateless;
@Stateless(name = "HelloWorld")
public class HelloWorldBean implements HelloWorld {
@Resource
private SessionContext context;
@Override
public String getHelloWorld() {
return "Welcome to EJB Tutorial!";