The question may be already present here on SO, in this case please apologize my not having been able to find it. I'm planning to rewrite a desktop application whose communication layer is currently implemented invoking methods (functions) in a CAN device driver's .dll file.

However the application would be rewritten as a Java enterprise app using JCA. Is it possible to wrap the communication layer in a JCA Resource Adapter, so it can still communicate with the device via the .dll file from inside the .ear, or I need to implement a standalone Java SE service for that?

Update: looks like I indeed need to wrap the communication layer inside a standalone Java SE service that can be called from the Business Logic layer. The good news is that no Resource Adapter is needed for this.

有帮助吗?

解决方案

I'll need to put the communication layer in a desktop service that will be called from the enterprise application.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top