开发者

JSF frontend calling C++ event handler client functions

开发者 https://www.devze.com 2023-01-27 16:22 出处:网络
I have a huge code written in C++. The code has around 300 screens. I want the new screens to be written in JSF.

I have a huge code written in C++. The code has around 300 screens. I want the new screens to be written in JSF.

However, rewriting the the existing C++ code is a lot of work.

Is there a way to create a generic code to interact between HTML/JSF components and C++ components?

My problem is that I feel that C++ components are not parallel to JSF components. Am I write 开发者_JAVA技巧about it?

Is there a solution?

EDITED

Our components are VCL - Delphi for C++


Yes, there is no 'automatic' way or tool to create JSF screens from Delphi / C++Builder forms.

If the code base follows a clean model/view/controller architecture, maybe with some effort the C++ side can be extended by a service layer, which could be accessed from the Java side using JNA, web services, a message-oriented middleware or other interprocess communication methods.

0

精彩评论

暂无评论...
验证码 换一张
取 消