Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Running persistent Python program in parallel to Java Spring API
Post Flair (click to view more posts with a particular flair)
Post Body

I've just started learning Java Spring, and I'm looking to build an API that serves data scraped from a online marketplace using a python script. The problem is, I'm not entirely sure how to go about connecting the two. As far as I've been able to figure out, the python program should be able continuously run, and write the most recent market data to a database, which Spring can simply pull from. But how would I go about actually getting a python program(or even a normal, separate Java program) to run independently of the main API, while still being able to connect to the database?

I'm using IntelliJ as my IDE, and currently have these dependencies:
-Spring Boot DevTools
-Spring Web
-H2 Database
-Spring Data JPA

Any ideas, or extra resources would also be really appreciated

Author
Account Strength
90%
Account Age
5 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,176
Link Karma
730
Comment Karma
205
Profile updated: 3 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago