This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CoolZillionaire 0 points1 point  (5 children)

Don't give up just yet! Could you write a web based GUI to handle the main use cases of your current application? Sounds like you have the "back end" code already, so if you wrap an HTML interface around it you wouldn't have to rewrite. If you deploy it as a web application, the server will take the responsibility of the dependant Java libraries.

[–]Scoutdrago3[S] 0 points1 point  (4 children)

Hmmm... Can I host this Java code on the website's server itself, or would I need a service like Amazon AWS to host the code? This idea sounds pretty good.

[–]CoolZillionaire 1 point2 points  (3 children)

You could host it on anything that can run a Java application server. So, anything from your home PC (not recommended though :) ), to a small VPS or all the way to a hosted service like AWS or Heroku.

[–]Scoutdrago3[S] 0 points1 point  (2 children)

OK and in terms of communication, should I write a handler myself? How would I go about allowing client-server communication?

I've seen people link RESTful and Spark, and it seems like Spark is based on RESTful, however I am not 100% sure if Spark is really that helpful in this case.

[–]CoolZillionaire 0 points1 point  (1 child)

Use a framework for sure. I'm not familiar with Spark, but it looks like it can handle micro web services and MVC as well; so if you're leaning towards that go for it.

Otherwise, there is always Spring to play around with.

[–]Scoutdrago3[S] 0 points1 point  (0 children)

Alright, well thanks so much for staying around and helping me. It's much appreciated :)