In the previous post , I posted about JSP interview question and now turn for java Servlet frequently asked interview question for all the level.
There are so many questions in JSP but usually in the interview process few questions which is being asked frequently. Due to time constraint , Interviewer not get chance to ask more, as they start from core java and ask more questions from core java. As soon as reaches on JSP they face time crunch not able to asked more. But sometimes, they can focus more practical sort of questions, specially if they have more work on web component or server side component.
Continue reading JSP Interview Question and Answer
I tried to cover SOAP based web service interview questions and answer.
Continue reading SOAP Based Web Services Interview Questions and Answers
In Java web services specially JAX-WS standard, RPC and Document are two different approach of creating JAX-WS style of web service. RPC is older one and Document is newer one. RPC style generate WSDL document based on the method name and it’s parameters. No type definitions are present in WSDL document.
Document style contains type and can be validated against predefined schema. Let’s look at these with a simple program. Below is a simple test program where I am using Endpoint to publish my simple SOAP web service.
Continue reading Difference between RPC Style and Document Style SOAP web Services in Java?
This is one of the mostly asked interview question in the java web services. Initially asked to check, whether he/she is aware about the terminologies or not later deep dive the topic.
Continue reading Differences between SOAP and REST Web services
Although there can be so many questions raised in the mind of interviewer, when specially web services requirement they have. I tried to add some of the most commonly interview questions which my friends and I encountered the interview. This section consist only RESTful web services interview and you can find another page of SOAP based web services Interview questions and answers.
Continue reading RESTful Web services Interview Questions and Answers
HashSet is one of the most frequently asked interview question during any level of core java interview. Usually, Collection framework and multi-threading interview questions are mostly on demand for core java interview question.
HashSet are integral part of Collection framework in java. These are most frequently used collection classes, it means ,
List in java.
Continue reading Difference Between HashMap and HashSet in Java
It’s very important to understand the fundamental of both the
interface for interview point of view or for work assignment aspect. Where should you use which interface? you can say most of the time you get encountered this question in interview which one should be used where?
Continue reading Enumeration VS Iterator in Java
When I first encounter with these terminology, some questions arise in my mind about fail-fast and fail-safe , in initial days. When we add anything while iterating we encounter
ConcurrentModificationException, specially , when we delete element from collection while iterating using for-each loop of jdk 5. I hope every developer in their life must encounter
ConcurrentModificationException. The concept of fail-safe terminology in java iterator is new. First introduced with Concurrent Collections in Java 5 e.g.
Continue reading fail-fast iterator vs fail-safe iterator in Java