Example to question in title:List<UUID> ids = dao1.getContactsOfUser(userId);List<String> contact_names = ids.stream    .map(uid -> dao2.getContactByUid(uid)) //is it ok?     .filter(contact -> contact.getPhone!=null)    .map(contact -> contact.getFullName())    .collect(Collectors.toList());I know that it works, and even works fine, but is there no snags?
Is it OK to do IO inside java 8 streams?
java;java8