+ 8
How do you connect a java program to a web page??
What is needed to connect a java program to a web page for gathering data from the user, querying a database, and reporting the results back to the web page? ty!
9 Respuestas
+ 9
Use WebAssembly to compile high level language functions of C, Python or Java to low level browser codes which are callable by JavaScript on web apps or websites.
https://stackoverflow.com/a/47483989
+ 5
Maybe this can help :D
https://www.quora.com/How-do-I-connect-Java-code-to-my-HTML-page
+ 4
if i understand this correctly the progression of technologies are that java applets were the past, jsps are today, and webassembly is the future? thanks.
+ 3
ty Calvin! webassembly is fascinating. do you think it will become an inevitable new standard ??
+ 3
I think WebAssembly has phenomenal potential, due to it enables powerful high level languages to precompile into browsers native codes that available for web applications.
Imagine the real time C applications, operating systems and other powerful graphic software like Adobe and Autocad software that could be executed seamlessly with high performance on our browsers, readily available on internet. It would be a game changer.
+ 2
Use applets in java.
First write your applet and compile. Then add it your page by using <applet code="FILE_NAME.class"></applet tag. But this wouldn't work for chrome. Try IE or firefox
+ 1
Use JSPs for your HTML code for the website, you can use AJAX to make asynchronous calls to Java Servlet where you can implement the bit of the code where you query a database and get the resultsets. JSPs allow you to also add bits of Java code in them. IDEs such as NetBeans allow you to create a Web Project with all these components easily.
https://stackoverflow.com/questions/4112686/how-to-use-servlets-and-ajax
0
yups