|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--example.entity.home.HomeServlet
Client using the entity home call for a hello and
an add call.
| Field Summary | |
private Home |
home
Caches the home interface from the JNDI lookup. |
| Fields inherited from class javax.servlet.GenericServlet |
config |
| Constructor Summary | |
HomeServlet()
|
|
| Method Summary | |
void |
init()
On init, load the Home from the JNDI context. |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Prints the result of the hello call and the add call. |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private Home home
| Constructor Detail |
public HomeServlet()
| Method Detail |
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServlet
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
service in class javax.servlet.GenericServlet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||