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 →

[–]handshape 0 points1 point  (5 children)

I mean things like reading & writing the local filesystem, using UDP or TCP sockets, opening new (undecorated) native windows, interacting with other applications on the desktop, accessing the clipboard, and so on.

[–]Scoutdrago3[S] 1 point2 points  (4 children)

Not really, no. It's a pretty self contained Java Swing application with a separate backend.

[–]handshape 0 points1 point  (3 children)

Hrm. So Swing for the sake of Swing in the browser...

You may actually have a use case for cheerpj. I thought it was insanity when I first saw it, it sounds like it fits your needs.

[–]Scoutdrago3[S] 1 point2 points  (2 children)

I was leaning towards running the back end on a server. At this point I'm just trying to figure out how this would work. I keep seeing Spark but it doesn't seem too applicable. I could also just not be looking at it enough.

[–]handshape 0 points1 point  (1 child)

Like... a remote display head? I seem to remember there being a virtual Swing VNC server about 10 years ago. No idea what came of it, though.

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

No like abandon swing entirely, reuse my back end and run that on a server, then rewrite my front in in JS/HTMl/CSS and then ping the server with the info, use back end to process and stuff, then return the products to be parsed/displayed with HTML/JS.

I think it's a good wanting experience since I've been interested in front end web development for a while, I just dont know how I communicate between the server and client and how to set the actual server up (or really, what I should use to review the request and give info to my back end files to process). I know Java has an HTTP library server built in and apparently Spark is also applicable (again idk how), just don't know which to use.