now there is a need for
to interact with each other without using ajax
(that is, to transfer data and call the local database to verify things), because the service cannot be started because of the cost. When I search for categories on the Internet, most of them are mobile (andriod),. There is a webview
that can help achieve this function, but my project is on PC, so I"d like to ask the big god:
1, can the PC end interact with each other by avoiding ajax
?
2. Can the front-end js connect to the database directly? Most of the information I found is realized under IE. Is there any other general method?
my colleagues at the background ask others for advice, and the solution is to encapsulate the browser withswing
, and then let me find a browser plug-in or something, but I have no idea about the front-end js. I don"t understand how js can call the java method. Isn"t js running in a browser environment?the front end of the project uses
vue
, and the background usesjava
+ssm
+sql server
.