Spring module

Java Tutorial
8 min readMay 31, 2018

Spring module

The Spring Framework includes several modules that provide a range of services:

what is the difference between set and map in java? what is the difference between hashset and treeset in java? what is the difference between hashset and hashmap in java? what is the difference between hashmap and treemap in java? what is the difference between hashmap and hashtable in java? what is the difference between collection and collections in java? what is the difference between comparable and comparator interfaces? what is the hashcode method in java? What is garbage collection in java? What is garbage collector in java? What is gc() in java?What is finalize() method in java? Can an unreferenced objects be referenced again in java?What kind of thread is the garbage collector thread in java? what is serialization in java? what is Deserialization in java? What is transient keyword? Interview questions on java Interview questions on main Interview questions on final Interview questions on constructor Interview questions on access modifiers Interview questions on method overloading Interview questions on method overriding Interview questions on inheritance Interview questions on interface Interview questions on abstract class Interview questions on string handling Interview questions on exception handling Interview questions on multithreading Interview questions on collectionsInterview questions on Servlet Interview questions on JSP Interview questions on Struts Interview questions on JSF Interview questions on Hibernate Interview questions on Javamail Interview questions on Quartz Interview questions on JDBC Interview questions on SQL Interview questions on generics Interview questions on JUnit Interview questions on Log4j Interview questions on JavaScript Interview questions on PLSQL What is a Web application? What is a Web browser? What is different between web server and application server? What is a servlet container? What is MIME Type? Why do we need a constructor in a servlet if we use the init method? When servlet object is created? Who is responsible for creating the servlet object? What is the difference between HttpServlet and GenericServlet? What is HTTPServletRequest class?What is HTTPServletResponse class? How can we create deadlock condition on our servlet? For initializing a servlet can we use a constructor in place of init()? How to read form data in servlet?How to write html contents using servlets? How to send an authentication error from a servlet?What is servlet collaboration? What is lazy loading? How do we call one servlet from another servlet? What is the difference between sendRedirect and RequestDispatcher? Can we call a jsp from the servlet? How to configure a central error handling page in servlets? How to get session object? How to set attribute in session object? How to get attribute from session object? What are JSP lifecycle methods? Which JSP lifecycle methods can be overridden? How to disable session in JSP? Which directive is used in jsp custom tag? How can a thread safe JSP page be implemented? Can we use JSP implicit objects in a method defined in JSP Declaration? Which implicit object is not available in normal JSP pages? What is difference between include directive and jsp:include action? How to disable caching on back button of the browser? What are the types of JSTL tags? How is scripting disabled? How to extend java class in jsp? What is MVC?What is the difference between struts1 and struts2? Explain struts 2 request life cycle. What are the core components of a Struct2 based application? What are the types of validators in struts 2?How tag libraries are defined in Struts? Is Struts thread safe? What is the significance of @ManagedProperty annotation? How to terminate the session in JSF? Is it possible to have more than one Faces Configuration file? What are the core components are of hibernate architecture? What is SessionFactory? Is SessionFactory a thread-safe object? What is Session?Is Session a thread-safe object? What will happen if we don’t have no-args constructor in Entity bean? Can we make an hibernate entity class final? How to log hibernate generated sql queries in log files? What is POP? Explain SMTP? Explain IMAP? What is the use of MIME within message makeup? What is the difference between execute, executequery, executeupdate? What is the difference between Statement and PreparedStatement in jdbc? How can we execute stored procedures and functions? How to rollback a JDBC transaction? Explain JDBC Savepoint. What is the use of blob and clob datatypes in JDBC? What is Connection Pooling? How do you implement connection pooling? What is 2 phase commit? What are the different types of locking in JDBC? What is a “dirty read”? What is DBMS? What is RDBMS? Difference between DBMS and RDBMS What are various DDL commands in SQL? What are various DML commands in SQL? What are various DCL commands in SQL? Can you sort a column using a column alias? Is a null value same as zero or a blank space if not then what is the difference? How can you eliminate duplicate rows from a query result? Difference between TRUNCATE, DELETE and DROP commands? What is the difference between CHAR and VARCHAR2 datatype in SQL?What are the differences between sql and pl/sql? What are the transaction properties in sql?What is the sql case statement used for? How many types of aggregate functions are there in sql? What are scalar functions in sql? What is the difference between sql and mysql? What is the use of nvl function in sql? What do you mean by subquery? What are Indexes in SQL? How to create index in oracle sql? How to view index in oracle sql? How to get list of tables in oracle sqlDifference between clustered and nonclustered indexes in oracle sql? How to update with select subquery in sql server Explain different types of index in sql server What is JavaScript? What are the advantages of JavaScript? What are the disadvantages of JavaScript? Is JavaScript a case-sensitive language? How to use external JavaScript file? How to create javascript object? How to add method to javascript object? What does the isNaN() function? What is the difference between undefined value and null value? How to access cookie using JavaScript? How to create cookie using JavaScript? How to read cookie using JavaScript? How to get cookie by name in JavaScript? How to delete cookie using JavaScript? How to redirect a url using JavaScript How to print a web page using JavaScript? How to handle exceptions in JavaScript? How to create a procedure? How to execute stored procedure? How to drop stored procedure? How to create a function? How to execute a function? How to drop a function? What is Context area? How to use explicit cursor? How to declare a cursor? How to fetch a cursor? How to close a cursor? Maven Eclipse Servlet Maven Eclipse JSP Maven Eclipse Spring Maven Eclipse Hibernate Maven interview questions What are the build tools in java? What are the aspects Maven manages? how to check the maven version in windows? how to check the maven version in linux? how to check the maven version in mac? What information does pom contain? What is a goal in maven? What are the types of repository in maven? Explain Maven repository search order What is local repository in maven? What is central repository in maven? What is remote repository in maven?What is maven plugin used for? What are the types of maven plugins? What is archetype in maven? How profiles are specified in maven? How can you build your project offline? How to exclude dependency in maven? Java cloning deep and shallow Shallow vs Clone copy Write a java program to find duplicate elements in an array? Write a java program to find second largest element in an array of integers? Write a java program to check the equality of two arrays? Write a java program to find all pairs of elements in an integer array whose sum is equal to a given number? Write a java program to find continuous sub array whose sum is equal to a given number? Write a java program to find the intersection of two arrays? Write a java program to separate zeros from non-zeros in an integer array? Write a java program to find all the leaders in an integer array? Write a java program to find a missing number in an integer array? Write a java program to convert an array to ArrayList and an ArrayList to array? Write a java program to count occurrences of each element in an array? Write a java program to reverse an array without using an additional array? Write a java program to remove duplicate elements from an array? Write a java program to find union and intersection of multiple arrays? Write a java program to find the most frequent element in an array? Java interview programs Java array interview questions Java array interview programs Java star pattern programs Java number pattern programs Spring security tutorial with examples Spring security overview Spring security architecture diagramSpring security maven dependency Spring security hello world xml example Spring security hello world annotation example Spring security custom login xml example Spring security custom login annotation example Spring security form login using database example Spring security limit login attempts example Spring security remember me example Spring security password encoder example Spring security hibernate xml example Spring security hibernate annotation exampleSpring boot tutorial with examples Spring boot overview Spring boot architecture diagram Spring boot components Spring boot starter parent in pom maven repo Spring boot web app configuration Run spring boot application from command line Spring boot hello world exampleSpring boot jsp example Spring boot restful web services example Spring boot common application properties Spring boot change default tomcat port Spring boot change context pathSpring boot configuration properties example Spring boot slf4j example Spring boot ajax exampleSpring boot with mysql database example Spring boot with hibernate example How to log sql statements in spring boot? Spring boot deploy war file to tomcat Java design patterns tutorial with examples Java creational design patterns

--

--