N Tier Architecture Tutorial - Software Design

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 53

  • @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 5 месяцев назад

      how much this course was

  • @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.

  • @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.

  • @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.

  • @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

  • @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

  • @_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?

  • @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

  • @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

  • @BetulKaplan
    @BetulKaplan 8 месяцев назад

    Such a clear and extensive explanation, thank you!

  • @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

  • @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.

  • @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!

  • @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.

  • @juanbarman
    @juanbarman 8 месяцев назад

    well done mate !! very solid !

  • @IsmailAdebiyi
    @IsmailAdebiyi Год назад

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

  • @Salehalanazi-7
    @Salehalanazi-7 Год назад

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

  • @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!

  • @brijeshkanchan9776
    @brijeshkanchan9776 Год назад +1

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

  • @dan-gs4l
    @dan-gs4l Месяц назад +1

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

  • @centfox
    @centfox Год назад

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

  • @eugenendjaka342
    @eugenendjaka342 Год назад

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

  • @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?

  • @sardorbekyorqulov
    @sardorbekyorqulov Год назад

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

  • @bolovy6093
    @bolovy6093 Год назад

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

  • @samiali5833
    @samiali5833 Год назад

    Great job

  • @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

  • @myworldletsplay
    @myworldletsplay Год назад

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

  • @Im_not_scareddd
    @Im_not_scareddd Год назад

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

  • @danimusbar
    @danimusbar Год назад

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

  • @enriquemarin5122
    @enriquemarin5122 Год назад

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

  • @maulkunnn
    @maulkunnn Год назад

    Nice bro.

  • @rajab1365
    @rajab1365 Год назад

    Bro what math software engineering of must learn?

  • @techme6053
    @techme6053 Год назад

    U r best . Pls provide notes too

  • @lts8683
    @lts8683 Год назад

    Can you talk about soft delete

  • @luongtrongvinh9457
    @luongtrongvinh9457 Год назад

    We need project including the course

  • @cannont001
    @cannont001 Год назад

    Hey man. Do you need a video editor?

  • @erythsea
    @erythsea 9 месяцев назад

    Walaikum Assalam

  • @jopadjr
    @jopadjr Год назад

    263rd...Thanks

  • @heyprotagonist
    @heyprotagonist 7 месяцев назад

    Bruh...