Webservices- Rest or SOAP based?
Advantages of Rest over SOAP web services?
how have you exposed the rest apis
Have you written a web service or consumed?
Finally, finalize, final. When do u use
exception handling
what concepts of Java 7.0 or 8.0 have u used
what are the different log levels
What information do you log and what do you not log
different kinds of memory leaks in applkication that can occur
what happens when u open a connection on the DB
why does stack overflow happen? Any example in ur experience? What did u do to
solve the problem
advantages of using SPRING framework
Exposed restful services?
how is authorization and authetication implemented? Who will access rest endpoints?
auto wiring used? Why is it better than xml configuration
Spring AOP used? What context was it used?
Where all can u use AOP?
how did u use log4j. Are you aware of any other logging framework
exception handling.. Why is it needed
design patters? Any design pattern that u applied
Factory pattern explain
have u used Hash map
property of string in java
Spring security
what is the use of string being immutable
Generic questions
Development tools used
source code management - which tool do you use
have you proposed any idea to ur project?
how will you start working on a project
if u r given 2 projects of both top priority. What will u do?
how many times have u raised a hand and asked for help. Give practical examples
Agile experience- what was ur role on the team
how do u juggle projects with equal priority
What is inheritence
overloading vs overriding in java
When do u use final, finally and finalize
Wat kind of securty have u impemented for rest apis
What advantages does Spring provide
How does Spring provide all the beans?
Spring MVC and Spring Boot Advantage and Disadvantages
1. REST API design end to end
2. Diff b/w PUT & POST method
Explain what are the OOPS concepts
String vs String builder
Code snippet related to string manipulations. Need to explain the output and memory
allocation
Code snippet related to Inheritance and overriding concept. Need to explain what
the output would be
Write code to reverse a string without using any already provided methods and
without using any temporary variable
How to sort a list of integers
How to sort a list of custom objects
Explain string pool concept and immutability. Why string is made immutable
Explain serialization
Explain volatite, transiant, finalize, try with resources
Write a query to give the employees who belongs to a dept whose employee count is
>100
Query to join two table using where conditions
Please describe your roles and responsibility in your last assignments
How do you manage code versioning in your project
What is the difference between IoC and DI in spring boot
How do you expose a Rest API?
Reverse a string without using any predefined String method
"what will be the output of below code:
public class StringMain {
public static void main(String[] args) {
String str1=""Java"";
String str2=new String(""Java"");
[Link](str1==str2);
[Link]([Link](str2));
}
}"
write a program (we have Emplyee object with name, email and phone) to find out all
the employee name starts with "A" and show it reverse order
Overloading and overridding in java
If we have to exposoe a rest api in springboot, tell me entire flow, how do you
create a controller, service, repository
Why spring boot is better than spring mvc ?
Explain string pool and memory allocation
Explain types of exceptions and handling
Explain lambda and functional interfaces
explain AJAX callback method
What is error in java? Error vs Exception
Security of application , what points you will take care?
Explain the last functionality used
What kind of connection is used
What is the purpose of finalize method? Do we need to call it everytime
Out of memory error - is it possible to catch it programmatically
Have you used the java collection framework? What interfaces have you used?
Tree map
Linked list
String builder
Method builder
What is polymorphism
overloading and overridng - which is compile time polymorphism and runtime
plymorphism
encapsulation
What is super method
try catch and finally
abstract classes and interfaces - difference
serializing an object
classes and interfaces used in coding
hash and tree set
Design patterns
singleton, factories
Data security
Interview - Sailabala - 12/12/23
Difference between Spring and Spring boot .
How to optimize the SQL queries where duplicate records are in result set.
Prototype Scope of Spring boot.
Explain one challenges faced during development. How did u solve the same .
Singleton design pattern.
How did you deploy the application in the UAT/ PROD.
7. How to implement security in Rest API
8. Java 8+ features which you have worked on
How to handle exceptions in spring boot
Use of Qualifier annotation
Use of @RequestBody annotation
Difference between controller and rest controller
How you deploy the application in prod
Scope of beans
Difference of Put and post
What is ioc
Rest api / Rest services
Spring security
Have u used hash map
Difference between Spring mvc and spring boot
Have you used
Jwt tokens
String builder
1-Solid Design Pattern
2. Factory Design Pattern
3. Builder Design Pattern
4. Use of @RequestBody Annotation
5. Aws Knowledge
6. Debugging the Error in the largely communicating Microservices
7. Code coverage tools
8. Writing Api's in Spring Boot
9. Annotations used in springboot.
10. Api Authentication jwt key
11-IOC Container and DI in spring Boot
12-Java 8 Features
13-JUnit Test cases
14-SQL types of joins and implementation
15-Inner Queris