How to connect Java application with application C?

Please tell me is it possible that the site is written using java and the logic is written for example in C. If Yes
why and how this happens in a bunch? For example , I drive on the website some data(a website written in java), and they go on some calculations for a program that is written in C . If at all this is washed away and when ?
June 26th 19 at 13:58
1 answer
June 26th 19 at 14:00
Solution
Please tell me is it possible that the site is written using java and the logic is written for example in C. If so then why and how it happens bundle?

You can, there are many options, from calls to native methods to the RMI.

If at all this is washed away and when ?

The meaning can be in two cases - when it is necessary to make some very complicated computation with CUDA, OpenCL, etc., or when the performance of C code much faster. But in the second case it is logical to optimize Java code.

In most of the tasks related to web and enterprise, this rental is not needed.
or, when the code that implements non-trivial functionality is already written, or you want a single business logic on different platforms... more options to come up. - Art_Christians commented on June 26th 19 at 14:03
Thanks, became clear - ardith commented on June 26th 19 at 14:06

Find more questions by tags CJava