T
T
triadecom2019-02-20 03:53:37
PHP
triadecom, 2019-02-20 03:53:37

How to implement work with java in the web interface?

And good afternoon again, gentlemen.
I got a task, according to which I have to implement some class in the Java language, and then import it to the site page. How to organize the work and the relationship between Java and Php in the web interface?
The site itself is on a simple hosting

its description
5c6ca507e97ca524764844.png

Is it possible to solve this problem with my resources? If so, how much will it load the site?
(The task itself is to write a Graph class in Java / Kotlin and implement graph visualization on a web page)
Ie . the graph class itself needs to be written exactly in Java / Kotlin, and its visualization can be implemented on anything, as long as it works.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2019-02-20
@sergey-gornostaev

Incomprehensible moments are best immediately clarified with the one who gives the task. It looks like a task for an applet, but since 2015 most browsers have stopped supporting them, and since September 2017 Oracle has declared the technology obsolete. Most likely, in 2019 it will be finally removed from Java. This and completing the task complicates and is an alarming sign that the task was given to you by a severely retarded person.

M
mystifier, 2019-02-20
@mystifier

It doesn't seem to be about applets.
We need a microservice on a separate server with Java, which will return data on request, for example, in the form of json.
We pick up through ajax and visualize.

P
Petr Vasiliev, 2019-02-20
@danial72

Little did not understand the graphs on the server side are built?
If yes: your server is not suitable, you need vps/vds.
If it is not possible to purchase (for ihor 100-200 r), then you can make the browser work (it was 2019, we used applets as best we could)
https://www.java.com/ru/download/help/enable_brows... .
Interaction with php through ajax.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question