First, let me apologize, I’m new at web development, so I’m not quite sure how this works, but it’s a simple proof of concept, so I don’t think it needs to be too advanced.
I have a jar that accesses a server and pulls information that needs to be displayed for the user, I also have a local site that is set up to display this information to the user via html and javascript (but obviously doesn’t connect to the server or that jar). I plan on using tomcat to act as a middleware server that will display the web page and handle the code that accesses the server.
I’ve seen it done before, but I’m not quite sure how to set it up. Can somebody just give me the basics on where things need to go to make this work? I think I’d be ok after that.
My Google-Fu has failed me in finding this, so really any help is appreciated.
Thanks!
You need to create a WAR file and deploy it to tomcat. Take a look at this link.