Connect java with javascript for data visualization in Browser
<p>I am working on a project where I access the APIs and get the output using <code>Java</code>. Now I want to display the data using some graphs and other data visualization tools in a browser. I have searched for some <code>JavaScript</code> libraries for that. But how can I connect java and javascript to get the output in a browser.</p>

<p>Can I do it with <code>JSP</code>? I don't want to use applets. Please suggest other ways also.</p>

<p>EDIT: If I use JSP then I will have to host a server. Is there a direct way without hosting a server?</p>
