public AdminService() {

        UserXMLHandler usXMLHandler = new UserXMLHandler();
        BookXMLHandler bkXMLHandler = new BookXMLHandler();
        userFactory = new ObjectFactory();
        bookFactory = new com.model.book.ObjectFactory();
        try {
            userList = (UserListRoot)usXMLHandler.readFromFile();
            bookList = (BookListRoot)bkXMLHandler.readFromFile();
            if (userList == null) {
                userList = userFactory.createUserListRoot();
            }
            if (bookList == null) {
                bookList = bookFactory.createBookListRoot();
            }
        } catch (JAXBException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (SAXException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }