Is there a standard way or recommended way to solve this problem in Java EE?
For this purpose, I would use a real level of integration (as in EAI), working as an external process. Integration tools (ETL, EAI, ESB) are specially designed to work with ... integration, and many of them provide everything you need out of the box (simplified version: transport, connectors, transformation, routing, security).
In principle, when working with files, the file connector is used to control the directory for incoming files, which is then analyzed / split into messages (using optional conversions) and sent to the endpoint for business processing.
Take a look at the Mule ESB , for example (it has a file connector that supports many transports, it can run as a separate process). Or maybe Spring Integration (in combination with Spring Batch?), Which also has files and JMS adapters. But I do not have much experience in this, so I can not say anything about it. Or, if you are rich, you can look at Tibco EMS , WebMethods, etc. Or create your own solution using some parsing library (for example, jFFP or Flatworm ).
Is there a specific application server method?
I don't know anything like that.
Can you justify the violation of this process on the application server? And how would you create a communication channel between these two separate systems?
As I said, I would use an external process to process the files (best suited) and send the contents of the file as messages via JMS to the application server for processing the business (and thus the benefits of Java EE features such as load balancing and management transactions).