@@ -0,0 +1,783 @@
+package com.validation.manager.core.server.core;%0D%0A%0D%0Aimport com.validation.manager.core.DataBaseManager;%0D%0Aimport com.validation.manager.core.db.Role;%0D%0Aimport java.util.HashMap;%0D%0Aimport java.util.List;%0D%0Aimport java.util.Map;%0D%0A%0D%0A/**%0D%0A *%0D%0A * @author Javier A. Ortiz Bultron %3Cjavier.ortiz.78@gmail.com%3E%0D%0A */%0D%0Apublic class RoleServer extends Role %7B%0D%0A%0D%0A    private static final Map%3CString, Object%3E PARAMETERS = new HashMap%3C%3E();%0D%0A%0D%0A    public static Role getRole(String role) %7B%0D%0A        Role r = null;%0D%0A        PARAMETERS.clear();%0D%0A        PARAMETERS.put(%22name%22, role);%0D%0A        List%3CObject%3E result = DataBaseManager.namedQuery(%22Role.findByName%22,%0D%0A                PARAMETERS);%0D%0A        if (!result.isEmpty()) %7B%0D%0A            r = (Role) result.get(0);%0D%0A        %7D%0D%0A        return r;%0D%0A    %7D%0D%0A%7D%0D%0A

Add new server class.