1

I'm new to DevOps so please forgive my ignorance. I have inherited a Win10 Java app that is currently run by pressing play in NetBeans. It makes API calls to a server running in a Linux VM.

What I'd like to know is how can I bundle this together and create an application that can be installed and run'out of the box' in win 10? Also, if possible, as a web service.

I'm just after pointers on how to start.

schoon
  • 113
  • 3

1 Answers1

1

Generally people go the opposite direction and try to get more to run on Linux as it is generally cheaper (e.g. license free). Also, Windows 10 is more of a personal workstation (vs Windows Server). So, it seems like it may be a short term strategy (unless you're just learning on your own).

Having said that, the most DevOps standard way to do this would be to:

  • Install Docker on your Windows 10 PC. Docker (in layman terms) lets you run apps on top of slimmed down operating systems of various kinds in a portable manner.
  • Dockerize the application(s) running on the Linux server. You can start off with some slim linux variant like Alpine and just add what you need.
  • While you're at it, just Dockerize your windows 10 Java app at the same time and start running it from command line rather than NetBeans.
  • Now, you can run it all on Windows or Mac Or Linux (or kubernetes) with ease.

This assumes the server-side app is not a Java or otherwise portable app. If it is portable, you can just run it locally and forget all this (although all of this is still a good idea).

John Humphreys
  • 1,570
  • 7
  • 18