for (int i = 0; i < 10; i++) {
User user = new User("usr" + i);
localTaskServiceSession.addUser(user);
}
for (int j = 0; j < 3; j++) {
localTaskServiceSession.addGroup(new Group("grp" + j));
}
Properties serverProperties = new Properties();
serverProperties.setProperty("JMSTaskServer.connectionFactory", "ConnectionFactory");
serverProperties.setProperty("JMSTaskServer.transacted", "true");