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.
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.
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.
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
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!
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
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
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.
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!
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.
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!
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?
Join waiting list here folks - waiting-list.amigoscode.com/
Hi
Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.
when start sell ?
salam alikum i missed vlogs so much
Hi Nelson, When you release the course PROFESSIONAL Full Stack Developer?, I need it
how much this course was
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.
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.
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.
Please we need tutorial about Servlet, JSP, JDBC, Tomcat, and the basics Java EE architecture, most suffer from the basics.
JSP? It's not 2000
@Ivan
Hi, you should know it if you want to get Java EE 7 Application Developer Certification from Oracle
no use of learning servlet jsp and jdbc , i learnt that in 2010 and it was outdated that time itself
isn’t java EE deprecated?
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
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!
Hi Nelson! Could you make a video about hexagonal architecture? Thanks for your amazing job
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
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
Walaikum salam waramotulahi wabarakatu bro, i really love the way you always simplify your designs .. Jazakumllahu khairan
@erikssonbland ok
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.
Thank You Nelson. Love from India🙏
Please give some discount for indian user, as we cannot afford.
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!
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.
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
hey man big fan here xD... can you a video about Oauth2 plz !!!
Such a clear and extensive explanation, thank you!
Please Make a content of Thread in Java, and show us how you, can use it in web applications.
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!
Assalamou Aleykoum bro, thank you for a very high-quality content💪🏻 Could you make a crash course of Hibernate please
U r best . Pls provide notes too
Great Job, No one could've made it better!
well done mate !! very solid !
Great job
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?
i love your videos, very easy to understand, could u please cover the topic of hexagonal architecture ?
Hi Nelson, can you make a video on hexagonal architecture? (port-adaptor + DDD)
Awesome Sir,
Btw please make fresh tutorial about Postgresql 15.1 for beginner to pro
Hello there ! it would be great if you could also teach about spring security privileges and roles !
Can you share github repo of the sample code you had walked though in the video? Thanks for this great content
Nice bro.
Bro what math software engineering of must learn?
Can you talk about soft delete
Hey bro could you please record a video on "how to draw the software architecture " using any tool.
We need project including the course
Walaikum Assalam
263rd...Thanks
Hey man. Do you need a video editor?
Bruh...