|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.samples.daytrader.web.prims.PingServlet2EntityRemote
Primitive designed to run within the TradeApplication and makes use of trade_client.TradeConfig
for config parameters and random stock symbols.
Servlet will generate a random stock symbol and get the price of that symbol using a trade.Quote Entity EJB
This tests the common path of a Servlet calling an Entity EJB to get data
In this servlet the call is made the through the Quote EJBs Remote Interface
| Constructor Summary | |
PingServlet2EntityRemote()
|
|
| Method Summary | |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
this is the main method of the servlet that will service all get requests. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
forwards post requests to the doGet method Creation date: (11/6/2000 10:52:39 AM) |
java.lang.String |
getServletInfo()
returns a string of information about the servlet |
void |
init(javax.servlet.ServletConfig config)
called when the class is loaded to initialize the servlet |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PingServlet2EntityRemote()
| Method Detail |
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
java.io.IOException
res - javax.servlet.http.HttpServletRequest
javax.servlet.ServletException
java.io.IOException
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.io.IOException,
javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletExceptionpublic java.lang.String getServletInfo()
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
config - ServletConfig:
javax.servlet.ServletException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||