Package ehistory.web.server.frontend

Examples of ehistory.web.server.frontend.ClientBean


            throw new RuntimeException(e);
        }

        // get client bean
        HttpSession session = request.getSession();
        ClientBean clientBean = (ClientBean) session.getAttribute(CLIENT_BEAN);
        if (clientBean == null) {
            ServletContext context = session.getServletContext();
            BackendBean backendBean = (BackendBean) context.getAttribute(BACKEND_BEAN);
            if (backendBean == null) {
                backendBean = new BackendBean();
                context.setAttribute(BACKEND_BEAN, backendBean);
            }
            clientBean = new ClientBean();
            clientBean.setBackendBean(backendBean);
            session.setAttribute(CLIENT_BEAN, clientBean);
        }

        // process request
        FlexResponse flexResponse;
View Full Code Here

TOP

Related Classes of ehistory.web.server.frontend.ClientBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.