public class WebGreeterEJB extends Object implements GreeterRemote
| Modifier and Type | Field and Description | 
|---|---|
private static org.slf4j.Logger | 
logger  | 
| Constructor and Description | 
|---|
WebGreeterEJB()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
init()  | 
Greeting | 
sayHello(Name name)
This method is an example of a business method that 
 | 
String | 
sayHello(String name)
This method is an example of a business method that can be invoked by
 users of this object (if a POJO) or bean (if deployed as an EJB). 
 | 
@PostConstruct public void init()
public String sayHello(String name) throws BadRequestException
sayHello in interface GreeterBadRequestExceptionpublic Greeting sayHello(Name name) throws BadRequestException
sayHello in interface GreeterBadRequestExceptionCopyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.