CSV file upload using Spring Boot | persist the data to database | Step by Step tutorial

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 36

  • @mohamedtomori4
    @mohamedtomori4 11 місяців тому +2

    Here some great topics to teach :
    1 Caching with Redis
    2 Spring Batch with multithreading and retry mechanism
    3 Distributed Transactions in microservices architecture

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Thanks for the suggestion.
      Already planned

  • @viewer_evgeniy
    @viewer_evgeniy 11 місяців тому

    That's quite interesting because I've just started some small selenium, csv reading and uploading practice with just one difference - I don't want to use Spring because I think it brings an overcomplication to such a modest functionality of my project. But so-called butch updates were one of my concerns in terms of "how to do it without spring" or even how to do it without even hibernate - just with an old good jdbc api. And here is your video (even though it's about spring lol)...

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Spring batch is coming soon

  • @argjendzuka6289
    @argjendzuka6289 Місяць тому

    Hey @Bouali Ali, this is so helpful. Thank you very much. Can you do one video now for CSV download with this project to continue for downloading file from database?

  • @jnayehsirine6222
    @jnayehsirine6222 11 місяців тому

    Hi , spring Batch can make good fit too ! once again thank you for this valuable contribution

    • @BoualiAli
      @BoualiAli  11 місяців тому +1

      Sure,
      Coming soon 😁

  • @faixan13
    @faixan13 11 місяців тому

    Awesome. Learned new stuff today. Thanks

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Happy you liked it!

  • @VarshaGit
    @VarshaGit 3 місяці тому

    Hello, nice video. But can you explain when would we use spring batch and when would we use the other methods for csv file upload like this one?

  • @sadeepaalwis5938
    @sadeepaalwis5938 11 місяців тому

    great informative video simple and precise thank you Bou ❤, can you please do some on avro schemas with event publishing and consuming

    • @BoualiAli
      @BoualiAli  11 місяців тому +1

      Happy you liked it!
      Coming next week

  • @veereshdeepak9466
    @veereshdeepak9466 8 місяців тому

    Please make a vedio how to validate using csv file from scratch like
    - how to create a csv file,
    - why we use it
    - how to do the validation
    Please

  • @Rajnish089
    @Rajnish089 11 місяців тому

    Great explanation brother

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Glad you liked it

  • @brahmareddylingam8283
    @brahmareddylingam8283 Місяць тому

    Hi Bouali,
    In swagger, it's not showing the choose file option , it's showing only plain,
    Try it once

  • @mokhtarzouari1240
    @mokhtarzouari1240 27 днів тому

    hi M @Bouali Ali if in the csv file there are fields mandatory et other optional how i do

  • @maalelmarwen3002
    @maalelmarwen3002 10 місяців тому

    Hello,
    Thank you for the video, very interesting.
    I want to know, if my .csv file doesn't have title on each column. How can I make a strategy for reading my file?

    • @BoualiAli
      @BoualiAli  6 місяців тому

      just ignore the first line

  • @hieunguyen0801
    @hieunguyen0801 11 місяців тому

    Hope to release a video about spring boot microservices using RabbitMQ or Kafka

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Kafka is coming next week

  • @ViralAiStories-d7q
    @ViralAiStories-d7q 9 місяців тому

    Interesting☺.Thank you

    • @BoualiAli
      @BoualiAli  6 місяців тому

      Glad you think so!

  • @anon_geek
    @anon_geek 11 місяців тому

    Hey Ali, your videos have been quite informative and have learnt a lot from them especially in spring security with jwt tokens and Oauth2, however If I want to combine the jwt and Oauth2, how should I achieve that as the client or the front-end application will send me a valid access token to the backend so that the user could login to the user dashboard, but I didn't find any resource on this issue

    • @BoualiAli
      @BoualiAli  11 місяців тому

      I will publish.a video about that soon enough

    • @anon_geek
      @anon_geek 11 місяців тому

      @@BoualiAli would it be about setting up an Authorization Server on the backend using Jwt with access and refresh tokens?
      Also regarding the previous video of jwt, if I want to add Roles in the jwt for claims like Admin then how should I go about it, because your implementation was different from all the other resources available on the internet and I didn't quite yet understand how we didn't create a userdetailsService class and how we implemented the User class with the model User and didn't implement the Userdetails interface

    • @BoualiAli
      @BoualiAli  11 місяців тому

      @@anon_geek i published videos covering all you asked about.
      Subscribe and enable the notifications and you won’t miss any new video
      It is really hard to answer everyone separately.
      Enjoy it

  • @hassanaskar5
    @hassanaskar5 6 місяців тому

    i think after uplaoding the csv file it's better to use spring batch to save the info in csv file. right?

    • @BoualiAli
      @BoualiAli  6 місяців тому +1

      right, that's why the video I released after that was Spring batch 😃
      You need to enable the notifications and follow the publish timeline.
      this is how I do things

  • @adarshmishra742
    @adarshmishra742 4 місяці тому

    Please can you suggest some solution for, let say i have 500 student , but before saving them to database firstly i have to get max roll number then add one to it to make new roll number then save data to database for that new roll number, as to saving 500 records with more then 35 csv header(column) and have to save data in different-different table taking 2 to 3 min to save so i had used multithreading concept and time comes to 10 to 15 s but problem i am facing is of duplicate roll number as database get read by multiple thread before saving new record, (let say i do not want to make roll number unique in databse) (need application level solution) i have use Transactional annotation and also make method syncronized but problem not solved , please suggest me some solution that i may have to try, thank you in advance 🤗

  • @ramadanlotfe829
    @ramadanlotfe829 11 місяців тому

    fancy content 🤩

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Happy you liked it!

  • @pabitrabera5454
    @pabitrabera5454 11 місяців тому

    Sir can you make special vedio on spring boot distributed tracing using zipkin.

    • @BoualiAli
      @BoualiAli  11 місяців тому

      Already done, check the microservices video

    • @pabitrabera5454
      @pabitrabera5454 11 місяців тому

      @@BoualiAli I know that but i don't know why in my zipkin dashboard always shown span 1 in the span tab , though my request goes through 3 services. For that reason sir if you help me find out what's ths problem??