Interview Questions and Answers for 'Web' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Newest

   next 30
 Q121. Which Web and Application server is being used by your application ?Server
Ans. We are using Apache 2.3 and Tomcat 5.6

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     web server  application server  server      Basic        frequent


 Q122. What is the difference between filter and filter-mappings xml tag within deployment descriptor ?Java EE
Ans. filter tag speficies the filter name and respective class for handling filter action whereas filter mapping maps the filter to the url patterns ( specifying the url that needs to be intercepted )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     deployment descriptor  web.xml  filters  filter mapping


 Q123. What does the Web module contains ?Java EE
Ans. JSP files, media files and deployment descriptor ( web.xml )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     j2ee  j2ee web module


 Q124. How Access control Policies are implemented in WCS ?IBM WCS
Ans. There are three elements i.e Users ( Who want access ) , Actions ( What kind of Access ) and Resources ( Whose Access ). The relationship between resource and user is store in ACRELATION table and ACRESREL associate a resource and relationship.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q125. What are the tables used for Access control ?IBM WCS
Ans. ACPOLICY , ACPOLDESC , ACACTION , ACRELATION , ACRESREL , ACRESGRP

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q126. Who manages the Access control policies and How ?IBM WCS
Ans. Site Administrator and through Org Admin Console.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q127. What are the design patterns used in WCS ?IBM WCS
Ans. MVC , Display Design and Command.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q128. What is reload interval and where it is defined ?IBM WCS
Ans. reload interval or jsp caching interval is a parameter that indicates how frequently a JSP should be recompiled.

It is defined within

Stores.warWEB-INFibm-web-ext.xmi

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q129. What information is stored in CACHEIVL table and How does this help in caching ? IBM WCS
Ans. This table records the changes to product or category information in the database. This is referred by WCS for invalidating dynacache.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q130. What are the different types of Auctions in WCS ?IBM WCS
Ans. open cry, sealed bid, and dutch

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce  Auctions


 Q131. Can we schedule auctions and promotions in WCS ?IBM WCS
Ans. Yes

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce  promotions  marketing


 Q132. How do we set Auctions in WCS ?IBM WCS
Ans. Through Accelerator.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce  Auctions  Marketing


 Q133. What is SKU ?IBM WCS
Ans. SKU is Stock keeping unit. Items are referred to as SKU as they are the narrowest identifier for which business needs to track quantity.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q134. Why can't we add Products while specifying Target Catalog entry in Promotions?IBM WCS
Ans. Product refer to category of Items and hence can't be associated to a particular Stock keeping unit. Items can only be targeted while creating promotions.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce  Promotions  Marketing


 Q135. What is B2C and B2B Business model ?IBM WCS
Ans. B2C business deals with selling merchandise directly to consumers whereas B2B business deals with selling / coordination with other businesses ( partners , distributors , affiliates etc ) for selling merchandise.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q136. Explain concept of Hubs and Extended site stores ?IBM WCS
Ans. Hub and Extended sites /stores are used in case of selling through partners and affiliates. Hub is the central site around which extended stores are created by/for the respective partner / affiliate. Store owner performs the extended site administrations whereas overall control over merchandise remains with the site.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q137. What are eSpots and How do we manage them ?IBM WCS
Ans. eSpot is the mechanism in WCS to schedule and display dynamic content. Content management for these slots are done through Accelarator.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce  eSpots  Marketing subModule


 Q138. What are different Business Models supported by WCS ?IBM WCS
Ans. B2C , B2B , Supply Chain , Extended Sites.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     IBM Websphere Commerce


 Q139. Write a Program to validate an email addressCore Java
Ans. public class Class{
public static void main(String[] args){
String str = "xyz@123.com";

if(!str.contains("@") && !str.contains(".") && (str.indexOf('.') < str.indexOf('@'))){
System.out.println("Not a Valid Email Address");
}
}
}

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     validate an email address  coding  code     Asked in 3 Companies


 Q140. What is stub and skelton ?SOAP
Ans. RMI uses a standard mechanism for communicating with remote objects i.e stubs and skeletons. A stub for a remote object acts as a client's local representative. The caller invokes a method on the local stub which is responsible for carrying out the method call on the remote object.

Stub resides at the client that upon calling whose method results in establishing connection with the server, serializing and mar shelling the request and then waiting for the response whereas skelton resides at the server that receives the request, unmarshal it and then deserialize to fulfil the request.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     web service  soap  stub  skelton  RMI


 Q141. What are the benefits of Rest services over using SOAP ?Web Service
Ans. Rest services are light weight and hence facilitate faster development and involve less overheads compared to SOAP.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve             frequent


 Q142. How would you go about creating a get rest service if it requires multitude of params or inputs ?Rest
Ans. If the number of input values is large, we can go about passing them as query params instead of path params. If the number is even larger and complex , its better to create a post service that behaves like a get service. Though this practice is not recommended but technically it can be accomplished.I dont mind doing it if the exceptionally large number of input would make it much more confusing.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     rest  restful web services


 Q143. What is AWS or Amazon Web Services ?Amazon Web Services (AWS)
Ans. These are the platforms or set of services provided by Amazon for cloud services , database storage , content delivery and other business applications and solutions.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws  amazon web service


 Q144. What are the different layers of cloud computing ?Infrastructure
Ans. Paas - Platform as a service
Iaas - Infrastructure as a service
Saas - Software as a service

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     cloud computing  Amazon Web Service (AWS)  Google Cloud Platform (GCP)


 Q145. If given a choice , which one would you prefer to send params to the Get service , path params or query param ?Web Service
Ans. If the number of params is quite large , I would prefer to either split it with majority of it in query params or all in query params.

If the params are all mandatory , I would keep it as path params. If it's optional , I would keep it as query param so as to keep consistent base url.

If we don't require the param name , then they can be kept as path params as query params necessitates the usage of param name.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Web Service  Get service  path vs query param  Rest  query param  path param


 Q146. Is it necessary to specify "employeeId" with @PathParam("employeeId") in this case,

@Path("/{employeeId}")
public String employeeInfo(@PathParam("employeeId") Long employeeId){
}
Rest
Ans. No, it's optional as the name of path param required is same as method param name in this case.

Even the declaration as following should work -

@Path("/{employeeId}")
public String employeeInfo(@PathParam Long employeeId){
}

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Web Service  Get service  Rest  path param


 Q147. How do you take screenshot in selenium?Selenium
Ans. TakeScreenshot th = TakeScreenshot(driver); //Enable the driver object to take screenshot

File src = th.getScreenShotAs(OutputType.FILE);

FileUtils.copyFilesrc("locationWhereUWantToPlaceTheScreenshot.jpg");

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     webdriver  selenium     Asked in 1 Companies


 Q148. What is Amazon EC2 ?Amazon Web Services (AWS)
Ans. Amazon Elastic Compute Cloud or EC2 provides scalable computing capacity in the AWS cloud. It can be used to create Virtual Environments , storage and configure. EC2 enables to upgrade or downgrade infrastructure according to the rules defined ( with fluctuation in latency, traffic etc )

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     aws  aws ec2  aws computing  amazon cloud computing  amazon ec2  Elastic Compute Cloud  Amazon Elastic Compute Cloud     Asked in 2 Companies


 Q149. What is the difference between latency, response time and processing time ?Web Service
Ans. Latency is the delay incurred while communicating a message i.e the time took the message in transit over network.

processing time is the delay it took for the server to process the request.

Response time is the sum total of latency and processing time.

For example -

Let's say it takes 1 ms for the request to reach from client to server and similar 1 ms for the response to come back to client. Moreover it takes approx 10 ms for the application to process the request. So The response time would be outward latency + processing time + inward latency = 12 ms

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     latency   response time    processing time


 Q150. What is the difference between Elastic Compute Cloud and Elastic Beanstalk ?Amazon Web Services (AWS)
Ans. EC2 is Amazon computing service whereas Elastic Beanstalk is the AWS service for deploying and managing web applications.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     Elastic Compute Cloud   EC2   Elastic Beanstalk


previous 30   next 30

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: