#26 Project using Spring | Fetching Image

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 35

  • @J0RDIMAN
    @J0RDIMAN หลายเดือนก่อน

    When you call GET /api/products (get all products for home page) it will send too much data and slow down page loading because it includes all the image data stored in the byte arrays. We don't even use this data because each image is grabbed separately using GET /api/product/{id}/image. I learned that you can correct this by setting up a JPA Data Projection, which will only grab certain columns you specify.
    EDIT: Of course, as was mentioned it would be better to avoid storing the byte data in our RDBMS altogether and use some kind of blob storage instead.

  • @Devivl
    @Devivl 3 หลายเดือนก่อน

    You have to learn JavaScript to understand React. Watching React code and I don't understand how it works. I need to learn, learn and learn again.
    Thanks for the lesson. It was interesting.

  • @brewedtech7224
    @brewedtech7224 4 หลายเดือนก่อน +2

    Hi Naveen, could you please start a series in telugu on Leetcode problems??

  • @lootster
    @lootster 2 หลายเดือนก่อน

    00:05 Troubleshooting image display and stock visibility issues
    00:58 Resolving backend code issues and working with product details
    01:52 Creating method for fetching image by product ID
    02:43 Fetching and saving product image in bytes format
    03:30 Returning image data and setting content type
    04:27 Sending response in proper bite format
    05:24 Successfully adding products and managing UI features
    06:22 Integrating front end and back end for fetching data

  • @mayakrish50
    @mayakrish50 4 หลายเดือนก่อน +6

    I do have one doubt. We are sending byte[] to the ui right where it will convert to image

    • @MedhanshSharma
      @MedhanshSharma หลายเดือนก่อน

      when u are sending binary data from backend it is recieved in frontend and response type u will see here 1:48 is blob which will convert it into a image.... when sending binary data we specified the content type to jpg and in the frontend we are creating a imageurl of that image file to use that

  • @vinitrajbingi2875
    @vinitrajbingi2875 4 หลายเดือนก่อน +1

    best content 💯

  • @naraynwetal6544
    @naraynwetal6544 3 หลายเดือนก่อน

    Really enjoying a lot

  • @vishaldindalkop294
    @vishaldindalkop294 2 หลายเดือนก่อน

    Thank you for the video

  • @AjayKumar-go4jr
    @AjayKumar-go4jr 2 หลายเดือนก่อน

    Nice Content!

  • @naraynwetal6544
    @naraynwetal6544 3 หลายเดือนก่อน

    Awesome content

  • @Praveenpodela
    @Praveenpodela 4 หลายเดือนก่อน +1

    Pls upload a real time project by using spring boot and react js till the production

  • @GlitteringGenius01
    @GlitteringGenius01 2 หลายเดือนก่อน +2

    when i click on product it is showing me loading and in the last of url showing me undefined .....plz someone help me

  • @emotinal_pain
    @emotinal_pain หลายเดือนก่อน

    Thank you

  • @TirthPrajapati-by9mu
    @TirthPrajapati-by9mu 4 หลายเดือนก่อน

    thank you sir

  • @rafiyaddarazat3835
    @rafiyaddarazat3835 หลายเดือนก่อน +1

    how to test it from postman .

  • @Praveenpodela
    @Praveenpodela 4 หลายเดือนก่อน

    Thanks 🎉❤

  • @Biswajit_Pradhan
    @Biswajit_Pradhan หลายเดือนก่อน

    Sir I have a doubt here, what if we want to get a list of product to show in frontend and for that we will call the api....We will get the List but in that scenario how to handle this image file?

  • @NandinerdeneMandakh
    @NandinerdeneMandakh 2 หลายเดือนก่อน

    Looking forwared to update and delete video!

  • @sarathkumar8783
    @sarathkumar8783 2 หลายเดือนก่อน

    He doesn't explain what it is; he's just trying to implement a simple e-commerce project.

  • @Vijay-123-46
    @Vijay-123-46 4 หลายเดือนก่อน +1

    Sir you have already uploaded spring boot in this channel ,so this playlist and the previous playlist is same or different ,which i have to learn pls reply Sir!

    • @Prydz117
      @Prydz117 4 หลายเดือนก่อน +1

      this series is about a project, i suggest you to watch the previous playlist of srpingboot first

  • @manipalreddy3378
    @manipalreddy3378 3 หลายเดือนก่อน

    sir i have done the same thing as what you have done in the video but the problem is i am not able to get add to cart it still says out of stock could you fix this problem?

  • @ismetomerovic2617
    @ismetomerovic2617 หลายเดือนก่อน

    Its hard to understand return block of code, because it is called "train wreck" code function after function...

  • @Rohit-ft6qt
    @Rohit-ft6qt 2 หลายเดือนก่อน

    image is showing in my project what is the solution

  • @mereum971
    @mereum971 3 หลายเดือนก่อน

    i just cannot get the image dynamically loaded, no matter what i do.
    It is showing correct name, type and size in h2 console, and even showing the image when i manually the src through inspect element in page, but not loading the image, stock available and out of stock button.
    anyone has any idea what might be going wrong?

    • @devforDumb
      @devforDumb 2 หลายเดือนก่อน

      If you get a solution do let me know, that can be of great help to me-
      Thank you.

  • @gokulmaash7077
    @gokulmaash7077 27 วันที่ผ่านมา

    I get a new error called 'application/octet-stream' when i try to upload. can anyone help me with this

  • @abthulrahumanimrath-oe2cc
    @abthulrahumanimrath-oe2cc 4 หลายเดือนก่อน

    Hi sir. I don't have any knowledge of programming. How to start coding.

    • @Factualvibess
      @Factualvibess 4 หลายเดือนก่อน +1

      Hey im also in your stage u can start with python course of this man he already uploaded full playlist

  • @orekisato9145
    @orekisato9145 4 หลายเดือนก่อน

    Sir,when is complete java developer course new batch coming out?.

  • @abthulrahumanimrath-oe2cc
    @abthulrahumanimrath-oe2cc 4 หลายเดือนก่อน

    Hi sir. I don't have any knowledge of programming. How to start coding.