Tuesday, 21 June 2016

Infosys interview quesitions

1.Write a sql query to get the highest second salary of employee?
2.Write a syntax for uploading file through ajax in liferay?
3.What is spring mvc portlet flow?
4.what is diff b/w function and procedure?
5.What is diff b/w liferay 5 version and latest versions(6,7)?
6.diff b/w StringBuffer and StringBuilder?
7.Why most cases password data type is char array, why not String?
8.What are the exception which you handled in portal level?
9.what happens If you insert same duplicate key to HashMap?
10.Which type of payment gateway is used in you project?(If you integrated any payment gateway) and how it works?
11.What will be output for following java program 1.0/0.0?

Saturday, 11 June 2016

Liferay HP interview quesitions

1.What is portlet lifecycle?
2.What is the hook?
3.Have you used any hooks in your project If yes which type of hook?
4.How to support I18N?
5.How to provide a translations?
6.What is diff b/w CE and EE?
7.I have two portlets in page one is showing all department list and another portlet will have the text field for depart name, If we enter department name in portlet B based on that I will display Department list in portlet A (Ans: IPC)
8.How many ways are doing IPC,Which one is better?
9.What is the purpose of servResource  method?
10.what are the steps for IPC event mechanism?
11.What is the database you used in your project If Mysql then what is the common problem with mysql which you observed?
12.How to provide a portlet as multi instance?
13.Can you tell me the any one of liferay out of box portlet which supports multi instance?
14.What is DDL(Dynamic Data list)?
15.What is service.xml?
16.Service builder will create a table in database if table doesn't exist right? Can we stop that functionality?
17.I have action url in jsp and some action methods in portlet, Now when I click on submit I want request go to specific action method in portlet?
18.What are the action methods parameters?what is the use ActionRequest and ActionResponse?
19.Have you configured any external search engine for liferay?
20.What auto login  feature in liferay, how to make it work?


Wednesday, 8 June 2016

Liferay Interview Quesitions : KPIT & HP

1.What is the purpose of release_ table in liferya?
2.How many tables effected while creating user?
3.What are the disadvantages of service builder?
4.How to share the data b/w action method to render?
5.Render portlet in theme?
6.Render portlet in web content?
7.Diff b/w servlets and portlet?
8.Have you worked on any work flows?
9.What is purpose of "tags" in control panel?
10.What is purpose of "Categories" in control panel?
11.I have 2 pages(P1 & P2) and 2 users(U1 & U2) in portal now I want show P1 to U1 and P2 to U2 immediately to their login?
12.What is diff b/w hook and EXT?
13.If your application supports I18N then how you handle to save other language data to database?
14.How to enable recaptha in liferay?
15.what is the friendly url and what are steps to implement it?
16,What are tables reflected when you publish content from control panel?
17.Where did you used exts in your project?
18.What are the .tpl files in layout plugin?
19.How to get default liferay servies from theme? Can we get the custom services also?
20.What is the use of generics?
21.What is the diff b/w linked list and array list?
22.What is the use of finally block?
23.Why you want change your job? Be careful about it,If you say There no more projects then they wont give u money which u expected.
                              If you say career growth, They will ask what type of career growth your looking?
                              If you say looking for location then they will ask you like If we ask you to go to some other places then your not ready to go right?.  


24.What is the diff b/w site and organization?
25.How to generate a web services in liferay?
26.What is diff b/w web server and application server?
27.What is structures and templates?
28.Have you done any integrations?
29.What is the purpose of hook,what are the things which we can do with hook?
30.Can we show another portal(web sphere or some other) plugin portlet to our liferay portal?
31.How to move content from one environment to another(dev to QA to UAT to Prod)?
32.What is the tool your using for bugs tracking?
33.How to handle all stories tracking in your projects?
34.What are new features in liferay 7?
35.What is diff b/w liferay CE and EE?
36.Can we write entity info without primary key?
37.What is the use finder tag in service.xml?
38.What is use of services builder?
39.Once we done with servie.xml configuration At what time liferay will create the data table in DB(Ans:war file deployed to server liferay will create table in db)?
40.How to do mapping in sevice.xml?
41.What is the use of "Order" attribute for finder tag in service.xml?
42.How to add portlet to control panel and how to decide their order?
43.Spring portlet in liferay?
44.Connecting multiple dbs?
45.What is the use of annotations?
46.What is the diff b/w union and union all in DB?
47.How to integrate LDAp with liferay?
48.Is there way to handle to XSS issue with url(Ans: Using filters we can get all url parameters and filter finally re frame it)?
49.What is concept of Auto login in liferay?
50.I have one text filed for asking user id  and submit button on guest page, When I click Which allows me to logged in without asking credentials?