• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Architecture/components to use

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rancher
Posts: 527
6
IntelliJ IDE Spring Fedora
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Carl Anton
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe Apache Camel or Spring Integration can help with the ftp part? I haven't used them before.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic