I’m going to build my first spring boot app and am wondering where to begin, what components to use etc. i’m pretty new to Java in general. The app will fetch a zip file by ftp or sftp from a remote server - it’s important it retries and that I get a notification by mail and slack if this fails because the file is important and it gets updated every week. After that it will unzip the file, process the xml files inside it and store the files ond disk and update a mysql database. This app will also have a healthchwck url which reports if the frp endpoint ans mysql db is reachable.
Okay, well the easiest place to start is start.spring.io to get the project. There's a spring project for mail so you'll probably want that. Since you're using database you'll want to get the jpa project too and mysql connector. You'll also want to use some library for the ftp, but I've never used that before. Make sure you take advantage of the properties file for the server paths.
Je sais ce que je sais
posted 1 year ago
Maybe Apache Camel or Spring Integration can help with the ftp part? I haven't used them before.