Wissen Java React WebServices Interview QA Full
Wissen Java React WebServices Interview QA Full
A: HashMap stores data as key-value pairs. It uses a hash function to find the location of
each key. It allows fast access if the key is known.
A: Spring Boot is a tool to make Java apps easily. It helps to create REST APIs quickly
with less code.
A: REST API allows different apps to talk using HTTP (like GET, POST). Example: A
mobile app asking a server for user data.
• Q: What is @RestController?
A: @RestController is used in Spring to make a class handle web requests, like a page
or API.
• Q: What is @Autowired?
REACT JS QUESTIONS
• Q: What is React?
A: React is a JavaScript library to build fast and dynamic web apps using components.
• Q: What is useEffect?
A: useEffect is used to run code when a component loads, updates, or unmounts (like
fetching API data).
SQL + LOGIC
• Q: Write a query to find the 2nd highest salary.
A: SELECT MAX(salary)
FROM employee
WHERE salary < (SELECT MAX(salary) FROM employee);
GENERAL/HR
• Q: Tell me about yourself.
A: "I'm a Java developer skilled in Spring Boot and React. I’ve worked on projects like a
pet adoption system and learned full-stack development. I enjoy solving problems and
learning new tech."
A: "Wissen works on real-world banking and enterprise projects. It values good coding
and architecture, and I want to grow in that kind of professional setup."
A: "I'm good at understanding logic quickly and learning tools by doing hands-on work."
A: "Yes! What kind of projects will I get to work on? How is the learning process for new
joiners at Wissen?"
A: A class whose objects can’t be changed once created. Example: String in Java.
A: Lock gives more control than synchronized like trying to lock or timing out.
MICROSERVICES ARCHITECTURE
• Q: What is Microservices?
A: A way to break large apps into small, independent services that talk via APIs.
A: It acts as a single entry point for all microservices (e.g., Netflix Zuul, Spring Cloud
Gateway).
A: In microservices, services register themselves so others can find them (e.g., Eureka).
A: It secures APIs by checking username, password, and roles. Works with JWT too.
• Q: What is JWT?
A: JWT = JSON Web Token, used for secure login without saving session on server.
• Q: What is Docker?
PROJECT-BASED QUESTIONS
• Q: How did you design your project?
A: Using Axios or Fetch API to call REST endpoints from React to Spring Boot.
A: Used Postman or Swagger to test endpoints, and JUnit for backend testing.
SCENARIO-BASED QUESTIONS
• Q: API call is failing with 500 error. How will you debug?
A: Check backend logs, API URL, input format, and exception handling.
• Q: Frontend shows old data even after refresh — what might be wrong?