Embedded Postgres/Docker for Postgres image

I have to develop a Contact Management system with Postgres DB as Java console app. The requirement is the db should be bundled to that java app so that when it start/stops this db also starts/stops. I read blogs which made me realize there are things like initializing db while installing our app in new system or using external java docker. But everything is confusing me. So, Kindly help me in  How to bundle my db file so that even the java app is installed in my friend computer he can use the app as it can access to that db file

Scenario:

1.considering target pc has postgres

2.considering target pc has no postgres

  Topic Computer Software & Hardware Subtopic Computer Programming Tags java postgres postgresql SQL web application
2 Years 0 Answers 1.1k views

vijay vignesh

Reputation Score: 0

Submit An Answer

To answer this question, you must be logged in.

Create an account

Already have an account? Login.

By Signing up, you indicate that you have read and agree to Sage's Terms and Conditions and Privacy Policy