Vaadin 10/11 applications in EAR package

Hi,

I have an EJB module containing classes which might refer to APIs of flow-server/flow-data/flow-html-components, and WAR module containing JAVA/HTML files for custom layout. I hope to package all as EAR package. The question is, as to the libraries downloaded from vaadin-core, which ones can be put under EAR-level lib directory, and which ones have to be put under WEB-INF/lib directory?

Best regards,
Joey