I'm working currently on a system, which is havily dependent on file system and external apps. Knowing that EJB should not access file system/external apps (through Runtime.exec) I decided to develop two JCA connectors: one for file access and one for external apps invocation.
And now I have a few questions:
1. is this solutions correct?
2. is this solutions save for clustered environment (will JCA connector always execute on the same file system - on the same machine)
3. can JCA connector interface return file input/output streams to EJB? or should it perform file access internally and return whole file content?
4. any suggestions?
Thanks in advance