Introduction to AEM Sling Servlet

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • What is a servlet? and how the Sling Servlets are implemented in AEM are discussed in this video.
    AEM Tutorial for Beginer Playlist:
    • What is Adobe Experien...

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

  • @AryaVicky
    @AryaVicky 12 วันที่ผ่านมา

    your teaching style is very simple to understand and that is the best part. please keep up the great work.

  • @gpauleverett
    @gpauleverett 2 ปีที่แล้ว +1

    This is super useful! Thanks for posting this and all the other videos. You are helping me out immensely 👍🏼

  • @ShahidOfficial1
    @ShahidOfficial1 2 ปีที่แล้ว

    wow I started learn servlet in aem and suddenly I my suggestion feed I got your videos thanks

  • @Medico-t1k
    @Medico-t1k ปีที่แล้ว

    Namaste , thank you for your videos. Very helpful for beginners

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

    Why do I see no (NO) descriptions for how to validate input outside of boilerplate functions

  • @pjtshra
    @pjtshra ปีที่แล้ว

    Please let me know if you have any blogs related to AEM . Completed the Begineers series and really want to learn in depth concepts expalined by YOU only 😄.i feel confident now that I can learn and master all the aem concpets if I follow your teachings. Also any pay and learn tutorials available as well let us know . And planning to launch any advance developer turtorials for AEM

    • @adithyudu.b
      @adithyudu.b  ปีที่แล้ว

      Thanks for your interest and feedback. Will let you know on the complete course details too when available.

  • @sremugaan
    @sremugaan 2 ปีที่แล้ว

    Great explanation

  • @Krp1412
    @Krp1412 ปีที่แล้ว

    How are you hitting the sling servlet here when the resourceType of the components on the page /content/wknd/us do not have the value sling/servlet/default? It looks like the resourceType is wknd/components/title. Is there a component on that page that we can't see in the video that has a sling:resourceType='sling/default/servlet'? Not sure how the flow gets to the servlet.

    • @adithyudu.b
      @adithyudu.b  ปีที่แล้ว

      Default will be triggered in aem if it cannot resolve the path given. So basically you can you any path ending with json in postman to hit. Since that path ending with json is not available, it triggers default page. There might be multiple seevlets based on the same default resource then among that it matches selector and extension like json and based on that it picks servlet to execute. So to answer you questions. There is no component with resource pointing to servlet is added. Instead, since page resources is not found by aem, it falls back to default resource mention.

  • @MPraveenmaddy
    @MPraveenmaddy 2 ปีที่แล้ว

    Hi Aditya, waiting for the next part!!

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว +1

      Sorry for keep you waiting. But was busy in my office work and did not get time to do a video this weekend. Will try to do it coming weekend!

    • @MPraveenmaddy
      @MPraveenmaddy 2 ปีที่แล้ว

      @@adithyudu.b TQ

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

    I want to print a String content in the new line but the out.println() is not working in Servlet.
    out.print("
    Java");
    out.print("
    J2EE");

    • @adithyudu.b
      @adithyudu.b  11 หลายเดือนก่อน

      It won't work you need to use loggers. See the videos on the sling model I did you will get an idea

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

      @@adithyudu.b Thanks.

  • @michaji9957
    @michaji9957 ปีที่แล้ว

    which is the correct Approach to integrate a 3rd party API in AEM ? eg: a simple login API.

    • @adithyudu.b
      @adithyudu.b  ปีที่แล้ว

      For login if you have to do it thru aem, you can validate sessions using servlet filters and redirect to login page if invalid. You can do api call to auth system from servlet filter only for all behind the login pages

  • @vira781
    @vira781 ปีที่แล้ว

    Hi Sir, Could you please make video on jsp in aem. Thanks for the hard work!

    • @adithyudu.b
      @adithyudu.b  ปีที่แล้ว

      JSP too old no one uses now I guess.

  • @ShahidOfficial1
    @ShahidOfficial1 2 ปีที่แล้ว

    I am not getting logger value and confused in triggering servlets in crx

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      Logger we use just to log something. I this case i used it to test if my code is triggered properly or not. Servlet will be triggered based on sling resources type.

    • @ShahidOfficial1
      @ShahidOfficial1 2 ปีที่แล้ว

      @@adithyudu.b It is not generate any logger

  • @ShahidOfficial1
    @ShahidOfficial1 2 ปีที่แล้ว

    Sir, I have created servlet step by step but still it is not working, when I tried to hit the paths is shows error, also I have tried with "doGet" method also. And Also checked proper sling resource type

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      Oh sry to hear that. What is the error you are getting and how you tested??

    • @ShahidOfficial1
      @ShahidOfficial1 2 ปีที่แล้ว

      @@adithyudu.b Thanks sir, but now working. There was error in instance

  • @nareshbanka9737
    @nareshbanka9737 2 ปีที่แล้ว

    Sir, How to add marketo and act on to embed component? In component enhancement.

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      Sry could not understand what you meant. Please post in stackoverflow for specific questions.

  • @cheribgh275
    @cheribgh275 2 ปีที่แล้ว

    Hi Sankham, thanks for the great explanation! can u pls make a tutorial on how can we containerize AEM code with Docker, also how to create an AEM application deployment pipeline in bitbucket. Really appreciate it. thanks!

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว +1

      Will try doing it..thanks for suggesting.

  • @anilkumargadhamsetty6297
    @anilkumargadhamsetty6297 2 ปีที่แล้ว

    Hi Aditya, I hope u are doing well. Could you pls do a video on why resource type servlet is preferred than path type servlet.
    I searched abt this on google but I can't understand it properly.

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      Thanks for suggesting. Will try doing it

  • @vasanth3253
    @vasanth3253 2 ปีที่แล้ว

    First Like and very informative content 🤩 Sir could you please share me what all the java concepts I need to learn for knowing the codebase to work on ("backend developer") ??

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      It's better if you know fundamentals of oops, design patterns, and web application development fundamentals.

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

    Superlike

  • @venkatamanoj5611
    @venkatamanoj5611 2 ปีที่แล้ว

    Hi how to install AEM?? IS IT FREE FOR ATLEAST POC LEVEL? HOW CAN I CREATE FREE ACCOUNT

    • @adithyudu.b
      @adithyudu.b  2 ปีที่แล้ว

      No it's not free even for poc that is the bad part. You need to be an employee of a company who is Adobe partner. Only then you get access to it.