Package ejava.examples.webtier.web
Class JPADAOInit
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- ejava.examples.webtier.web.JPADAOInit
-
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
public class JPADAOInit extends HttpServlet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private EntityManager
em
private org.slf4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description JPADAOInit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGet(HttpServletRequest request, HttpServletResponse response)
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
-
-
-
Field Detail
-
logger
private org.slf4j.Logger logger
-
em
private EntityManager em
-
-
Method Detail
-
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- Overrides:
doGet
in classHttpServlet
- Throws:
ServletException
IOException
-
-