Java - Interview Questions and Answers for 'Configuration' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2098 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



Interview Questions and Answers for 'Configuration' - 16 question(s) found - Order By Newest

 Q1. What are the contents of Hibernate configuration file ( hibernate.cfg.xml ) ?Hibernate
Admin
info@buggybread.com
Ans. HBM Files ( Mapping )
DB Connection ( DB Connection String , User Name , Password , Pool Size )
SQL Dialect ( SQL variant to be generated )
Show SQL ( Show / No show SQL on Console )
Auto Commit ( True / False )

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

   Like      Discuss      Correct / Improve     hibernate   configuration   barclays     Mphasis  Mccoy Global Links  Availity  Infosys  GlobalLogic  Cognizant (CTS)  Overstock.com  Erricson  Erricson India  HCL Technologies  Tata Consultancy (TCS)


 Q2. Which of the following file is called deployment descriptor ?

a. application.xml
b. project.xml
c. web.xml
d. build.xml
Java EE
Anonymous
Ans. web.xml

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

   Like      Discuss      Correct / Improve     configuration files   deployment   server   java


 Q3. What is the purpose of dialect configured in Hibernate configuration file ?Hibernate
Admin
info@buggybread.com
Ans. It tells the framework which SQL varient to generate.

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

   Like      Discuss      Correct / Improve     hibernate   orm   hibernate configuration


 Q4. What are the configuration files in Hibernate ?Hibernate
Admin
info@buggybread.com
Ans. hibernate.cfg.xml ( Main Configuration File )

and *.hbm.xml files ( Mapping Files )

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

   Like      Discuss      Correct / Improve     hibernate   configuration   mapping files


 Q5. What is Spring configuration file?Spring
Anonymous
Ans. Spring configuration file is an XML file. This file contains the classes information and describes how these classes are configured and introduced to each other.

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

   Like      Discuss      Correct / Improve     j2ee   spring   mvc   frameworks   web applications   spring configuration file     Bosch


 Q6. What is the use of hbm2ddl Configuration in Hibernate ?Hibernate
Admin
info@buggybread.com
Ans. This configuration specifies if hibernate should creates the Schema / Table on its own if the respective table is not found.

"update" doesn't create the table if it's not found whereas configuration set as "create" creates the schema automatically.

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

   Like      Discuss      Correct / Improve     hibernate   hibernate configuration   hibernate.cfg.xml   hbm2ddl


 Q7. Which version control (VC) or software configuration management (SCM) systems work with Merge?Scm
vinay
vinay.putta458@gmail.com
Ans. You can use Tortoise SVN,which has Merge Utility embedded in it.

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

   Like      Discuss      Correct / Improve     svn   configuration management   technologies   technical lead


 Q8. Which version control system you are using in your current project ?Tools
Admin
info@buggybread.com
Ans. We are using SVN and Git Hub.

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

   Like      Discuss      Correct / Improve     build management   version control systems   configuration management   configuration manager   version control manager     IBM


 Q9. What is use of Revert in SVN?Tools

Ans. Revert your local changes.

There are 2 types of reverts -

1) Local Revert: It will delete all changes from files which you made after updates and before commit.
2) Repo Revert: Upload the changes to previous Repo.

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

   Like      Discuss      Correct / Improve     svn  subversion  version control system  configuration management     Mphasis  Oakton



Do you think these are the Best Java Frameworks ?

OpenXavaSPRING MVCApache StripesCheck everything
that is Best in Java

Click Here



 Q10. What is the difference between GIT Commit and Push ?GIT2017-02-08 12:32:51

Ans. Git commit commit the changes to local repository whereas Push commits the changes to Remote repository.

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

   Like      Discuss      Correct / Improve     GIT  Configuration Management  commit vs push


 Q11. What is cloning in GIT ?GIT2017-02-08 12:39:40

Ans. Cloning is the process of making a copy. It could be creating local copy of another local repository or local copy of remote repository.

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

   Like      Discuss      Correct / Improve     GIT  Configuration Management  GIT Cloning


 Q12. What is "convention over configuration" ? Which framework uses this design paradigm ?Design2017-05-06 08:14:46

Ans. Convention over configuration is a way of software design used by frameworks that attempt to decrease the number of decisions that a developer is required to make without necessarily losing flexibility. The objective is to reduce the unnecessary configurations and follow conventions to accomplish that. For example - DB Entity and DB Table name conventionally should be same and hence shouldn't require configuring mapping between the two.

"Spring Boot" and "Ruby on Rails" have adopted this design principle.

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

   Like      Discuss      Correct / Improve     Convention over configuration     VMware


 Q13. Are there any disadvantages of "Convention over configuration" Design paradigm ?Design2017-05-06 08:17:15

Ans. Yes, It may result in some loss of flexibility as the application has to follow all conventions. Moreover it can contradict with other design paradigms or principles used in the application or framework.

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

   Like      Discuss      Correct / Improve     Convention over configuration


 Q14. Can you give an example of "Convention over configuration" Design principle ?Design2017-05-06 08:20:19

Ans. Hibernate mapping configurations are used for mapping hibernate entities and corresponding DB Tables. Conventionally Entities and Table can share the same name and hence framework can provide implicit mapping instead of explicit mapping through configurations. Though it may result in little loss of flexibility in extreme cases but will work with all applications following the convention.

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

   Like      Discuss      Correct / Improve     Convention over configuration


 Q15. Which of the following is a configuration management tool ?Tool
a. Github
b. Jira
c. Tomcat
d. Eclipse

Ans.a. Github

 Q16. Which of following is not a configuration management tool ?Tool
a. SVN
b. Jira
c. GitHub
d. Clearcase

Ans.b. Jira



Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

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:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: