{"id":14982992,"url":"https://github.com/in28minutes/interview-guide","last_synced_at":"2025-04-06T13:11:54.908Z","repository":{"id":144879957,"uuid":"68991641","full_name":"in28minutes/interview-guide","owner":"in28minutes","description":"Java interview guide - 200+ Question and Answers","archived":false,"fork":false,"pushed_at":"2019-10-08T16:43:38.000Z","size":14,"stargazers_count":304,"open_issues_count":0,"forks_count":228,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-30T12:08:08.145Z","etag":null,"topics":["java","java-ee-patterns","java-interview-questions","jsp-servlet","spring-mvc"],"latest_commit_sha":null,"homepage":"http://www.in28minutes.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/in28minutes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-23T05:24:42.000Z","updated_at":"2025-03-06T20:22:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c94a359-176d-4627-80dd-27e9cd2b4356","html_url":"https://github.com/in28minutes/interview-guide","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"e135d493b40f8bd235d03f27bdc147a0ab415068"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in28minutes%2Finterview-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in28minutes%2Finterview-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in28minutes%2Finterview-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in28minutes%2Finterview-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in28minutes","download_url":"https://codeload.github.com/in28minutes/interview-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485290,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","java-ee-patterns","java-interview-questions","jsp-servlet","spring-mvc"],"created_at":"2024-09-24T14:06:32.912Z","updated_at":"2025-04-06T13:11:54.889Z","avatar_url":"https://github.com/in28minutes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Java and Spring Interview Guides\n\n[![Image](https://www.springboottutorial.com/images/Course-Spring-Framework-Interview-Guide-200-Questions-Answers.png \"Spring Framework Interview Guide - 200+ Questions \u0026 Answers\")](https://www.udemy.com/spring-interview-questions-and-answers/?couponCode=LEARN-2019)\n\n[![Image](https://www.springboottutorial.com/images/Course-Java-Interview-Guide-200-Interview-Questions-and-Answers.png \"Java Interview Guide : 200+ Interview Questions and Answers\")](https://www.udemy.com/java-interview-questions-and-answers/?couponCode=LEARN-2019)\n\n# Useful interview resources\n- Lambda Expressions and Streams : https://www.youtube.com/watch?v=7YBPb64h2l4\n- Java MultiThreading : https://www.youtube.com/watch?v=AfVbJDr-8ic\n- Java Interview Questions and Answers : https://www.youtube.com/watch?v=5aHZABb1Iwk\n- Java Collections Interview Questions and Answers : https://www.youtube.com/watch?v=3hgYHXDVh-o\n- Exception Handling : https://www.youtube.com/watch?v=wj3UmzeyrvE\n- JUnit : https://www.youtube.com/watch?v=o5k9NOR9lrI\n- Design Patterns : https://www.youtube.com/watch?v=f5Rzr5mVNbY\n- Eclipse : https://www.youtube.com/watch?v=s4ShbtOHMCA\n- Mockito : https://www.youtube.com/watch?v=d2KwvXQgQx4\n- Spring MVC : https://www.youtube.com/watch?v=BjNhGaZDr0Y\n- JSP Servlets : https://www.youtube.com/watch?v=Vvnliarkw48\n- Spring : https://www.youtube.com/watch?v=24rGqtxuLhc\n- OOPS : https://www.youtube.com/watch?v=yJ5RSEZS9oA\n- Maven : https://www.youtube.com/watch?v=0CFWeVgzsqY\n- https://github.com/in28minutes/Java-EE-Design-Patterns/blob/master/JavaEE%20Design%20Patterns%20and%20Architecture%20-%20Presentation%20v0.7.pdf\n\n\n# Our Best Free Courses\n- Spring : http://udemy.com/spring-tutorial-for-beginners/\n\n# OOPS Interview Questions\n- Code Examples : https://github.com/in28minutes/JavaObjectOrientedProgramming\n- OOPS : https://www.youtube.com/watch?v=yJ5RSEZS9oA\n\n# Advanced Java\n- Topics\n  - Servlets\n  - JSP\n  - Spring\n  - Spring MVC\n  - Maven\n    - What is maven? What does it do? https://github.com/in28minutes/MavenIn28Minutes\n- Videos \u0026 Presentations\n  - Full Video on Design Patterns : https://www.youtube.com/watch?v=f5Rzr5mVNbY\n  - Basics of Web Application : https://github.com/in28minutes/RealWorldWebApplicationWithServletsAndJspIn28Minutes/blob/master/Java%20JEE%20Web%20Applicaiton%20In28Minutes.pdf\n  - Java EE Design Patterns : https://github.com/in28minutes/Java-EE-Design-Patterns/blob/master/JavaEE%20Design%20Patterns%20and%20Architecture%20-%20Presentation%20v0.7.pdf\n  - Java Design Patterns : https://github.com/in28minutes/Design-Patterns-For-Beginners/blob/master/DesignPatterns-Presentation.pdf\n- RECOMMENDED COURSE\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n\n# Servlets\n- Reference\n  -       https://github.com/in28minutes/RealWorldWebApplicationWithServletsAndJspIn28Minutes/blob/master/Java%20JEE%20Web%20Applicaiton%20In28Minutes.pdf\n  - Code : https://github.com/in28minutes/JavaWebApplicationStepByStep\n  - 60 Minute Video on JSP Servlets : https://www.youtube.com/watch?v=Vvnliarkw48\n- Questions\n  - If there are 1000 requests to a Servlet, how many instances of Servlet are created?\n  - What is the life-cycle of a servlet?\n  - Difference between Get and Post Request Methods?\n  - What is difference between GenericServlet and HttpServlet?\n  - What is the purpose of RequestDispatcher Interface?\n  - How do you forward to a jsp from the servlet?\n  - What is Session?\n  - What are Cookies?\n  - What is filter?\n  - What is war file?\n  - What is the structure of a war file?\n  - What are the servlet annotations introduced in Servlet 3.0?\n  - What is different between web server and application server?\n  - What is difference between ServletConfig and ServletContext?\n  - What is maven? What does it do? https://github.com/in28minutes/MavenIn28Minutes\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n\n# JSPs\n- Reference \n  - https://github.com/in28minutes/RealWorldWebApplicationWithServletsAndJspIn28Minutes/blob/master/Java%20JEE%20Web%20Applicaiton%20In28Minutes.pdf\n  - Code : https://github.com/in28minutes/JavaWebApplicationStepByStep\n  - 60 Minute Video on JSP Servlets : https://www.youtube.com/watch?v=Vvnliarkw48\n- Questions\n  - Why do we need JSPs?\n  - Explain JSP Lifecycle?\n  - What is difference in roles of jsp in model 1 and model 2 architectures?\n  - What are different types of comments in JSP?\n  - What is Scriptlet, Expression and Declaration in JSP?\n  - What are JSP implicit objects?\n  - What are the disadvantages of Scriptlets?\n  - What is difference between include directive and jsp:include action?\n  - What is JSP Expression Language?\n  - What are JSP EL implicit objects?\n  - What is JSTL?\n  - What happens if an exception is thrown from a JSP?\n  - JSP Best Practices\n  - How can you avoid multiple submit problem?\n- RECOMMENDED COURSES\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n\n# Design Patterns\n- Resources\n  - Full Video on Design Patterns : https://www.youtube.com/watch?v=f5Rzr5mVNbY\n  - Java EE Design Patterns : https://github.com/in28minutes/Java-EE-Design-Patterns/blob/master/JavaEE%20Design%20Patterns%20and%20Architecture%20-%20Presentation%20v0.7.pdf\n  - Java Design Patterns : https://github.com/in28minutes/Design-Patterns-For-Beginners/blob/master/DesignPatterns-Presentation.pdf\n  - What are important Java EE Design Patterns? https://github.com/in28minutes/Java-EE-Design-Patterns\n- Some Creational patterns Examples\n  - Factory method\n    - java.util.Calendar#getInstance() \u0026 java.nio.charset.Charset#forName()\n  - Prototype\n    - java.lang.Object#clone()\n  - Singleton\n    - java.lang.Runtime#getRuntime() \u0026 java.lang.System#getSecurityManager()\n- Some Structural patterns\n  - Adapter\n    - java.util.Arrays#asList() \u0026 javax.xml.bind.annotation.adapters.XmlAdapter#marshal() and #unmarshal()\n  - Decorator\n    - All subclasses of java.io.InputStream, OutputStream etc. \u0026 java.util.Collections : synchronizedXXX() and unmodifiableXXX() methods.\n  - Flyweight\n    - java.lang.Integer#valueOf(int) (also on other Wrapper classes)\n- Behavioral patterns\n  - Chain of responsibility\n    - javax.servlet.Filter#doFilter() \u0026 Exception Handling\n  - Command\n    - java.lang.Runnable\n  - Iterator\n    - All implementations of java.util.Iterator\n  - Strategy (recognizeable by behavioral methods in an abstract/interface type which invokes a method in an implementation of a different abstract/interface type which has been passed-in as method argument into the strategy implementation)\n    - java.util.Comparator#compare(), executed by among others Collections#sort().\n  - Template method (recognizeable by behavioral methods which already have a \"default\" behaviour definied by an abstract type)\n    - All non-abstract methods of java.util.AbstractList, java.util.AbstractSet and java.util.AbstractMap.\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n# JDBC\n- Resources\n  - Video : https://www.youtube.com/watch?v=1WgsDP10iqw\n- Questions\n  - When do you use JDBC?\n  - Different types of JDBC Drivers\n  - What is the use of JDBC API?\n  - What are the steps in a simple query to database? \n  - What is difference between JDBC Statement and PreparedStatement?\n  - What is the difference between execute, executeQuery, executeUpdate?\n  - What is a ResultSet?\n  - What is the use of setFetchSize() and setMaxRows() methods in Statement?\n  - What is JDBC Batch Processing?\n  - What is Transaction Management?\n  - What is JDBC Savepoint? \n  - What is a DataSource?\n  - What are the CLOB and BLOB datatypes in JDBC? Why do you use them?\n  - What is DDL and DML?\n  - What are JDBC Best Practices?\n  - What are the other famous JDBC frameworks? How did they solve the typical problems with JDBC?\n  - What is JPA? https://github.com/in28minutes/HibernateJPAStepByStep\n  - What is Hibernate?\n  - Hibernate interview Questions : https://www.youtube.com/watch?v=nb4kKVDc4cE\n  - Introduction to Transaction Management : https://www.youtube.com/watch?v=HcjHJLEbtRs\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n# J2EE\n- Resources\n  - Everything from https://github.com/in28minutes/Java-EE-Design-Patterns/blob/master/JavaEE%20Design%20Patterns%20and%20Architecture%20-%20Presentation%20v0.7.pdf\n- Questions\n  - What is JEE?\n  - What are tomcat, web sphere and web logic?\n  - What is war?\n  - What is ear?\n  - What are containers? what are the different types of containers?\n  - What is Java EE api? https://docs.oracle.com/javaee/7/api/\n  - Java EE 7 contains 14 new and updated JSRs. Java specifications are available at http://www.jcp.org.\n  - JSR 338: Java Persistence API 2.1\n  - JSR 339: Java API for RESTful WebServices2.0\n  - JSR 340: Java Servlet 3.1\n  - JSR 341: Expression Language 3.0\n  - JSR 342: Java Platform, Enterprise Edition 7\n  - JSR 343: Java Message Service 2.0\n  - JSR 344: JavaServer Faces 2.2\n  - JSR 345: Enterprise JavaBeans 3.2\n  - JSR 346: Contexts and Dependency Injection for JavaEE 1.1\n  - JSR 349: Bean Validation 1.1\n  - JSR 352: Batch Applications for the Java Platform 1.0\n  - JSR 353: Java API for JSON Processing 1.0\n  - What is JPA? https://github.com/in28minutes/HibernateJPAStepByStep\n  - What are important Java EE Design Patterns? https://github.com/in28minutes/Java-EE-Design-Patterns\n  - What is maven? What does it do? https://github.com/in28minutes/MavenIn28Minutes\n  - Introduction to Transaction Management : https://www.youtube.com/watch?v=HcjHJLEbtRs\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n# Maven \n- Resources\n  - https://github.com/in28minutes/MavenIn28Minutes\n  - Maven : https://www.youtube.com/watch?v=0CFWeVgzsqY\n- Questions\n  - What is Maven? What does maven do? https://github.com/in28minutes/MavenIn28Minutes#0-what-is-maven\n  - What is the power of Maven? https://github.com/in28minutes/MavenIn28Minutes#what-is-the-power-of-maven\n  - Maven Full Course : https://www.youtube.com/watch?v=0CFWeVgzsqY\n  - What is Conventions over Configuration?\n  - What is the difference between Ant and Maven?\n  - What is the standard maven folder structure?\n  - What is a Local Repository?\n  - What is a transitive dependency?\n  - What is a dependency exclusion?\n  - What is dependencyManagement?\n  - How do you add code quality checks to your maven lifecycle?\n  - Why do we use Maven Plugins?\n  - What is Maven Build Lifecycle?\n  - What are the different types of artefacts that can be produced using a maven pom?\n  - What is a profile?\n  - What is a SNAPSHOT?\n  - What are maven properties?\n  - What is a maven archetype?\n  - What are maven best practices?\n  - What is a maven release?\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n# Eclipse\n- Resources\n  - https://github.com/in28minutes/EclipseIn28Minutes\n  - Eclipse : https://www.youtube.com/watch?v=s4ShbtOHMCA\n- Questions\n  - What is an IDE?\n  - What is an workspace?\n  - What are views?\n  - What are perspectives?\n  - Integration with Maven Full Course : https://www.youtube.com/watch?v=0CFWeVgzsqY\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n\n# Jenkins\n- Resources\n  - https://ci.jenkins-ci.org/job/Core/job/jenkins/job/master/ \u0026 https://builds.apache.org\n  - http://jenkins-le-guide-complet.github.io/html/sect-first-steps-first-job.html\n  - http://www.javainterview.in/p/continuous-integration-interview.html\n- Questions\n  - What is Jenkins?\n  - What is continuous integration?\n  - How do you create a new project in Jenkins?\n  - What are typical builds that you would create in Jenkins?\n  - What is maven? What does it do? https://github.com/in28minutes/MavenIn28Minutes\n  - Maven Full Course : https://www.youtube.com/watch?v=0CFWeVgzsqY\n- RECOMMENDED COURSES\n  - Java EE Patterns : https://www.udemy.com/java-ee-design-patterns-architecture-and-frameworks/?couponCode=JEEPATTERNS-UTUBE-1\n  - Maven : https://www.udemy.com/learn-maven-java-dependency-management-in-20-steps/?couponCode=MAVEN-UTUBE-1\n  - Spring MVC : https://www.udemy.com/spring-mvc-tutorial-for-beginners-step-by-step/?couponCode=SPRNGMVC-UTUBE-1\n  - JSP Servlets : https://www.udemy.com/learn-java-servlets-and-jsp-web-application-in-25-steps/?couponCode=JSPSRVLT-UTUBE-1\n\n# For Later\n- Git\n- Selenium\n- JavaScript\n- JQuery\n- JUnit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin28minutes%2Finterview-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin28minutes%2Finterview-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin28minutes%2Finterview-guide/lists"}