Java Hyd Team
746 subscribers
986 photos
39 videos
670 files
690 links
https://teamhydteam.my.canva.site/

Can visit us on our website 😊
Still working on it 😊
Download Telegram
serves a specific purpose in the application.

2. @Autowired: This annotation tells Spring to inject an instance of the specified bean into the annotated field.

3. @Service: This annotation is used to denote a service class. It is used to indicate that the class is responsible for providing some sort of service to the application.

4. @Repository: This annotation is used to denote a data access object. It is used to indicate that the class is responsible for data access operations.

5. @RequestMapping: This annotation is used to map a specific HTTP request to a particular method in a controller class.

6. @Controller: This annotation is used to indicate that a class is a controller. It is used to indicate that the class is responsible for handling requests from the view layer.


Q15.) spring orm and jdbc (implemented methods and persistent methods)

Spring ORM:

Spring ORM is a data access framework that provides an abstraction over JDBC and other ORM frameworks. It offers a consistent programming model for accessing data from relational databases, NoSQL databases, and other data sources. It provides a simple way to access and query data, and can be used to reduce the amount of code needed to access a database.

Implemented methods:

• Data Access Object (DAO) - provides an interface for accessing data from the database.
• Query Interface - provides a way to create, execute, and manage queries.
• Transaction Management - provides an abstraction layer for managing transactions.
• Object-Relational Mapping (ORM) - provides a way to map Java objects to database tables.
• Object/Relational (O/R) Metadata Mapping - provides a way to define relationships between Java objects and database tables.
• Data Access Template - provides a way to easily access and manipulate data in the database.

Persistent Methods:

• Create - allows you to create a new entry in the database.
• Retrieve - allows you to retrieve an existing entry from the database.
• Update - allows you to modify an existing entry in the database.
• Delete - allows you to delete an existing entry from the database.
• Save - allows you to save an existing entry in the database.
• Merge - allows you to merge two existing entries in the database.

Q16.) mvc in spring and springboot

Spring MVC is a web framework built on the core features of the Spring framework. It is a component of the Spring Framework for building web applications and provides an alternative to the Java Enterprise Edition (JEE) framework. Spring MVC provides an easy way to create web applications. It is designed to be extensible and adaptable for a variety of applications, from small personal projects to large enterprise applications.

Spring Boot is a framework for building web applications on top of the Spring Framework. It simplifies the development of applications by providing a ready-made configuration for most common web development tasks. Spring Boot makes it easy to create stand-alone, production-grade Spring-based applications that you can "just run". It also provides a way to package and deploy applications to different environments, such as a cloud platform.

Q17.) spring mvc execution flow

1. User sends an HTTP Request to a web browser.

2. DispatcherServlet, receives the request and checks the web.xml file to identify the appropriate Controller.

3. The DispatcherServlet maps the request to the appropriate Controller and calls its handler methods.

4. The Controller processes the request and generates the Model or view object.

5. The view object is passed to the appropriate View Resolver.

6. The View Resolver identifies the appropriate View Component and prepares the output.

7. The DispatcherServlet passes the output to the web browser.
What is pom.xml ??
What is dependency injection?
In how many ways dependency injection done ??
What is pojo poji bean ??
What is configuration how many ways we can achieve
Setter injection getter injection construction injection
Explain annotations
Spring life cycle
Bean life cycle
Explain stereotype annotations
What is component scan
MVC architecture
Model view controller
What is data binding??
What is IOC ?
Explain different spring containers
Explain path param
Response param
Response body
Response param / body
Tight loose coupling??
Come to class
Forwarded from SathyaReact
Assignment 2:
Forwarded from SathyaReact
Assignment 3:
Forwarded from SathyaReact
Ping us for any support regards concept n coding

Just by clicking @stockkida
DATA FLOW
👍1
👍1
Whatever we share here please don't share to anyone in institute because some people are telling our names and we don't want these things else let us know we will not share any answers to this channel
If you have issues tell us because we are providing if we are getting these with outside people we don't enjoy that
We are getting some messages from other people that why we are sharing or we are making things
Comfortable for you guy's to get placed