N Tier Architecture Tutorial - Software Design

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

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

  • @amigoscode
    @amigoscode  ปีที่แล้ว +3

    Join waiting list here folks - waiting-list.amigoscode.com/

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

      Hi
      Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.

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

      when start sell ?

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

      salam alikum i missed vlogs so much

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

      Hi Nelson, When you release the course PROFESSIONAL Full Stack Developer?, I need it

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

      how much this course was

  • @haltsmaul.
    @haltsmaul. ปีที่แล้ว +10

    Good job shedding some light onto what the different layers of an application do and how they work together.
    I think understanding the big picture is crucial to understanding some of your other, more in-depth videos.
    A video on the DAO pattern would be much appreciated.

  • @felipefigueira9689
    @felipefigueira9689 ปีที่แล้ว +3

    TLDR: The key idea of the video is that N Tier architecture separates code into layers for scalable, reusable, and secure software, and the speaker emphasizes the importance of testing and announces a full stack development course.
    1. 🏢 N Tier architecture separates code into layers for scalable, reusable, and secure software; the speaker emphasizes testing and announces a full stack development course covering back-end, front-end, testing, and typescript.
    2. 📚 The presentation layer receives requests from clients and passes them to the business layer, which performs business logic, and then to the data layer, which interacts with data sources, with the API producing data in formats like JSON or XML and exposing endpoints for various HTTP methods.
    3. 📝 The business layer validates input data and communicates between multiple classes, while the data layer allows for easy changes between different data sources by implementing an interface.
    4. 🏢 The N Tier Architecture separates concerns into different layers, with the presentation layer handling requests, the business layer performing logic and validation, and the data layer being tested with unit tests on database queries.
    5. 📝 The speaker demonstrates the functionality of a deployed application within AWS, showcasing features such as login validation, customer management, and email uniqueness validation.
    6. 📚 The video explains how to connect different layers of an N Tier architecture using dependency injection, with the service class handling business logic and connecting to the Dao, while also discussing the importance of testing.
    7. 📝 Unit testing code with a real database like PostgreSQL is important, but avoid duplicating tests already done in the Dao; integration tests are needed to test the entire application's HTTP functionality.
    8. 👉 The video covers setting up data source and migrations, starting Tomcat on a random port, and promoting a course that teaches various aspects of software development.

  • @lxdzii
    @lxdzii ปีที่แล้ว +4

    beautiful stuff!!.. A database design/data model course would be nice to compliment this section of the course to consolidate everything, specifically how the data will be when it is stored in the database

  • @felipefigueira9689
    @felipefigueira9689 ปีที่แล้ว +3

    Key insights
    🏗 The N Tier architecture is used in the industry for building scalable, reusable, and secure enterprise applications.
    💡 N-tier architecture separates the application into distinct layers, including the presentation layer, business layer, and data layer, allowing for better organization and scalability.
    💡 Using the Data Access Object (DAO) pattern allows for easy switching between different data sources, such as PostgreSQL and MySQL, by simply changing the implementation.
    💡 The N Tier Architecture promotes the idea of separation of concerns, where each layer focuses on a specific task and performs it well.
    🏢 The N Tier Architecture allows for flexibility in choosing different implementations without breaking anything.
    🏭 Integration tests involve spinning up the entire application, including the database, to ensure accurate testing against the running application.

  • @_mounir
    @_mounir ปีที่แล้ว +19

    Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.

    • @IvanRandomDude
      @IvanRandomDude ปีที่แล้ว +8

      JSP? It's not 2000

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

      ​@Ivan
      Hi, you should know it if you want to get Java EE 7 Application Developer Certification from Oracle

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

      no use of learning servlet jsp and jdbc , i learnt that in 2010 and it was outdated that time itself

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

      isn’t java EE deprecated?

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

    Hi Nelson. Great video. Looking forward for the course release. Regarding databases, I would love to see examples of stored procedures, transactions, and triggers and when is useful to use them. Also, any input about how we can check how performant is the application regarding database operations, identifying botlenecks etc would be very useful.

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

    Nice video. I would like to add one more thing.
    If you start a new project, go without any architecture and when things start to get messy, the look what goes together and boom you have something

  • @140times
    @140times ปีที่แล้ว +1

    I have the assumption that with those 3 layers you focus on, you basically describe the "Layer-Architecture". It confused me when I saw the "N-Tier-Architecture" because I was wondering how does it differ from the layered. After googling, I think you basically described the layered architecture instead of the tiered. The tiered architecture is the hardware abstraction and the layered is more the way how you structure your code, which is what you described. Would be happy to get feedback on this assumption since I am still a bit unsure what the differentiation is. Cheers!

  • @javierdetena8830
    @javierdetena8830 ปีที่แล้ว +3

    Hi Nelson! Could you make a video about hexagonal architecture? Thanks for your amazing job

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

    Always the Best tutor of all time, I have been following your content and I love it...I'm still a junior developer wishing to be like you in future

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

    Would love a course on Java EE 10. Looks like many changes on JSF on EE 10, but would also like to see the other features, such as JNDI, JMS, and REST. Thanks for the video and signed up as well for waiting list. Great work!

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

    Hello Nelson! First of all, congratulations on your excellent work!
    I have two questions...
    To run the N Tier Architecture can I build my project instead of using packages within the same module, can I build through modules?
    Second question, in what situations does the service layer also appear? i.e. separate it from the business layer
    Thank you!

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

    Such a clear and extensive explanation, thank you!

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

    Walaikum salam waramotulahi wabarakatu bro, i really love the way you always simplify your designs .. Jazakumllahu khairan

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

    hey Nelson, you kind of went quick when going thru the DAO layer... do you use Hibernate anywhere in the connecting layer or everything is built from scratch? a bit confused on the implementation when try to think about
    can anyone answer this please

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

    Thank You Nelson. Love from India🙏
    Please give some discount for indian user, as we cannot afford.

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

    Hi, Nelson! It seems to me that it will be better to push all the java classes into an appropriate packages (controller, repository, etc ...). It will be more obvious to explain. In this case we can also use ArchUnit to test the project architecture.

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

    Please Make a content of Thread in Java, and show us how you, can use it in web applications.

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

    Assalamou Aleykoum bro, thank you for a very high-quality content💪🏻 Could you make a crash course of Hibernate please

  • @Salehalanazi-7
    @Salehalanazi-7 ปีที่แล้ว

    Great Job, No one could've made it better!

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

    well done mate !! very solid !

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

    hey man big fan here xD... can you a video about Oauth2 plz !!!

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

    Great job

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

    i love your videos, very easy to understand, could u please cover the topic of hexagonal architecture ?

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

    U r best . Pls provide notes too

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

    Awesome Sir,
    Btw please make fresh tutorial about Postgresql 15.1 for beginner to pro

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

    Hello there ! it would be great if you could also teach about spring security privileges and roles !

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

    Hi Nelson, can you make a video on hexagonal architecture? (port-adaptor + DDD)

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

    What about calculations? My app calculates factors based on user input, API output, and database data. Should I place all the calculations in the service layer, or would it be better to create separate component classes for this purpose?

  • @TurkishCowboy-z1d
    @TurkishCowboy-z1d ปีที่แล้ว

    Can you share github repo of the sample code you had walked though in the video? Thanks for this great content

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

    Bro what math software engineering of must learn?

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

    Hey bro could you please record a video on "how to draw the software architecture " using any tool.

  • @dan-gs4l
    @dan-gs4l 14 ชั่วโมงที่ผ่านมา +1

    This is not an N-tier architecture, it's N-layer architecture. N-tier refers to physically separated layers.

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

    Nice bro.

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

    Can you talk about soft delete

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

    Hey man. Do you need a video editor?

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

    We need project including the course

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

    Walaikum Assalam

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

    263rd...Thanks

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

    Bruh...