Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked
eBook - ePub
Available until 23 Dec |Learn more

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub
Available until 23 Dec |Learn more

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked

About this book

  • 300 Hibernate, Spring & Struts Interview Questions
  • 78 HR Interview Questions
  • Real life scenario based questions
  • Strategies to respond to interview questions
  • 2 Aptitude Tests

Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked is a perfect companion to stand ahead above the rest in today’s competitive job market. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. This book puts the interviewee in the driver's seat and helps them steer their way to impress the interviewer.

The following is included in this book:

(a) 300 Hibernate, Spring & Struts Interview Questions, Answers and proven strategies for getting hired as an IT professional

(b) Dozens of examples to respond to interview questions

(c) 78 HR Questions with Answers and proven strategies to give specific, impressive, answers that help nail the interviews

(d) 2 Aptitude Tests download available on www.vibrantpublishers.com

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Hibernate, Spring & Struts Interview Questions You'll Most Likely Be Asked by Vibrant Publishers in PDF and/or ePUB format, as well as other popular books in Computer Science & Object Oriented Programming. We have over one million books available in our catalogue for you to explore.


INDEX



Hibernate, Spring and Struts Interview Questions


Hibernate


Hibernate Interfaces
1: Explain Database Transaction management using Transaction Interface.
2: What are the core interfaces available in hibernate?
3: What is SessionFactory? Is it thread-safe object?
4: How will you create SessionFactory object?
5: What is Session? Is it a thread safe object?
6: Explain about Criteria in hibernate.


Hibernate Configuration
7: How do you configure hibernate?
8: What are the important tags of hibernate configuration file (hibernate.cfg.xml)?
9: Why column attribute is required if the property name is “date”?
10: How will you get hibernate statistics?
11: How will you make generated sql to be displayed in console?
12: How are the columns of the database mapped with the java class properties in hibernate?
13: If you want to insert data for few columns into a large table with hundreds of columns, hibernate will generate the insert sql query at run time containing all the table columns which will create performance issue. How will you make the hibernate to generate dynamically generated sql queries containing only the necessary columns? For instance, it should not include the null columns / property values.
14: What is the flow of hibernate communication with database?
15: How will you configure Sequence generated primary key?
16: How will you change one relational database to another database without code changes?
17: What is dynamic-insert and dynamic-update option in the class mapping?
18: How will you configure Hibernate to access the instance variables directly without using setter method?
19: What is Automatic Dirty checking in hibernate?
20: Write down a sample code for Automatic Dirty checking.
21: How hibernate is database independent and what are the changes required?
22: How will you include hibernate mapping file in the hibernate configuration file?


Criteria Queries
23: What are the ways in which object can be fetched from the database in hibernate?
24: What is the use of Restrictions class?
25: How will you write criteria query to retrieve records having dept_name containing “hr” and emp_salary between 20000 and 30000?
26: How will you sort the employee class in descending order by employee salary using Criteria query?
27: How will you find out the maximum salary from Employee class?
28: What are the methods available in Projections class?
29: How will you implement pagination using criteria query?
30: What are the disadvantages of Criteria query?
31: How is the Primary Key created using Hibernate?
32: How do you create hibernate generated Primary Key?


Persistent Classes
33: What are Tuplizers?
34: Why can’t we declare a Hibernate persistent class as final?
35: What are the best practices that we need to follow while creating Persistent class?
36: How will hibernate instantiate the persistent classes?
37: What are the functionalities available for the POJO classes which declare identifier property?
38: What are the methods to be overridden in POJO?
39: What is meant by Named SQL query?
40: How will you invoke Stored Procedures?


Object States
41: What is the difference between the Transient and Detached states?
42: What are the types of instance/object states?
43: When does an object come to detached state?
44: How would you ...

Table of contents

  1. Hibernate Interfaces
  2. Hibernate Configuration
  3. Criteria Queries
  4. Persistent Classes
  5. Object States
  6. O/R Mapping
  7. Hibernate Inheritance
  8. Hibernate Caches
  9. Hibernate Interceptor and Filters
  10. Spring Modules
  11. IoC Container
  12. Beans
  13. Dependency Injection
  14. Importing XML Resource
  15. Idref Element
  16. Bean Collaborators
  17. Collections
  18. Depends-on Attribute
  19. Lazy Initialized Bean
  20. Autowiring
  21. Bean Scopes
  22. Bean Lifecycle Methods
  23. Inheritance (Normal Inheritance)
  24. Inheritance with Abstract
  25. Annotations Based Configuration
  26. ApplicationContext
  27. Spring and Hibernate Integration
  28. Spring AOP
  29. Configuration
  30. Main Classes (Action classes and ActionForms)
  31. Exception Handling
  32. Validation and Validator Framework
  33. Logic Tags
  34. Internationalization / Localization
  35. Integrate with other Frameworks
  36. Action and ActionForms
  37. HR Questions
  38. Index