add MongoDB and Redis for Java