Showing posts with label Java J2EE Hibernate Spring Struts Interview Question. Show all posts
Showing posts with label Java J2EE Hibernate Spring Struts Interview Question. Show all posts

Wednesday 28 August 2013

Top Most Java JEE Hibernate Spring Struts Interview Questions ?

Cheers everyone. I have some interview question that is asked by interviewer oftens. Have a look on these questions and their answers from Google before going for interview.


Q:Is Java Compiler or Interpreter ?
Ans: Javac is compiler and JVM works as interpreter 
Q:Static method and non static method difference?
Q:How java is platform independent?
Q:Airthmetic Progression Patterns: like 0 3 6 9 12 Write a Program for this progression.
Q:  Write Program for:  a file may have three word( its generated during run time by another thread)  like sms,email, fax according to word create thread and perform the task.
Q: Write Program for a machine that can only receive 2,10,1,20,20,50,70 coins and can give you product for any price and machine should return denomination as above if price you give the machine is more than product price.
Q: Where use abstract class and where interface?
Q:Singleton Factory Class.
Q:How long variable works in 32 bit memory as long take 8 byte memory to work? Two threads works on 4 -4 byte.
Q. What is parent class of ArrayList?
Q:Having Clause in SQL Query?
Q: Find duplicate row in table?
Q:What is cursor, Stored Procedure and Function?
Q: annotation configuration in Spring.
Q: what is DI in Spring?
Q. For Flushing the Jsp what you will use? And How much byte you can flush on jsp?
Q: JSP Implicit Objects
Q:What is call back interfaces and callback methods
Q: Java 1.5 concurrency Locking
Q: Multithreading 
Q: How annotation work internally? Create your custom annotation.
Q:  Java memory model? Heap Stack? Where class object and method and variable reside in memory?
Q:How Transaction annotation works internally? If f1 f2 f3 are three methods and f1 commit some data to db and f2 coomit some data to db but f3 fails some where and f1,f2,f3 are in single transaction then how rollback will happen because if data commited then it won’t roll back.
Q:What is cohesion  give me scenario and example where cohesion is used?
Q:deamon thread?
Q: What is the difference between Java and JavaScript?
Q: What is monitor or shimaphore in Thread?
Q: How to make sure threads are race condition free?
Q:What is authentication and authorization in spring give some implementation points.
Q: What is DI what is AOP and how u ? give some scenario where AOP should be use.
Q: MVC in spring 3.0
Q: Isolation levels in Spring.
Q: What is point cut and what about the static and dynamic Pointcut in Spring .
Q: What is the difference between Bean Factory and application context in spring .
Q: What are the main difference between Struts MVC and Spring MVC why we should use Spring MVC?
Q: how u get the request or session data in HTML page?
Q: What is lazy initialization of bean in Spring?
Q: What is proxy in hibernate?
Q: How many locks are present in Hibernate?
Q: What is inverse in Hbm.xml file in Hibernate?
Q: Hibernate Versioning when saving or updating data in database. When multiple JVM is there then how hibernate make Lock when saving data to database.
Q:What is eager and lazy loading in Hibernate?
Q: How you make sure your database data and Hibernate Session data should be in Sync.
Q: What is dirty checking in Hibernate.
Q: What is Lazy initialization Exception in Hibernate and tell the situation when it will occur in your application and what you will do to avoid this kind of situation.
Q: What is JPA and How it can be used with Hibernate?
Q: How can you make secure your Soap message when you will send or receive? Digital Certificate.
Q: How many types of Web Services are? What is your approach top to down or bottom to up? 
Q: How you create Ajax request tell in detail and how you receive the success text from server and what are the checking parameter to get the success and failure of your request?

Q: How to avoid the cyclic dependency to create the objects if a need object of b to initialize itself and b need a to initialize itself?
Q: What is priority Queue? Which kind of object you can store in priority queue?
Q: What is class and Object?
Q: What are basic oops concepts?
Q: What is complexity when you are retrieving the elements from List and Linked List and While Traversing the element?
Q: Write down and your design and UML diagram of class when your are creating a shopping complex application?
Q: What is UML diagram or Class diagram?
Q: What is association aggregation and composition?
Q: Which kind of design pattern you use in your application and tell about them when and in which scenario you use them?
Q: What is template pattern? Observer and Observable ?
Q: How you create the Singletons ?How many types of singletons?





LinkWithin

Related Posts Plugin for WordPress, Blogger...

Labels

Core Java programming core java interview question Core Java Faq's Servlets coding database jsp-servlet spring Java linux unix interview questions java investment bank Web Services Interview investment bank mysql Senior java developer interviews best practices java collection tutorial RMI SQL Eclipse FIX protocol tutorial tibco J2EE groovy java questions SCJP grails java 5 tutorial jdbc beginner error and exception Design Patterns Java Programming Tutorials fundamentals general object oriented programming xml Java Programs Hibernate Examples Flex JAMon Java xml tutorial logging Jsp Struts 2.0 Sybase and SQL Server debugging java interviews performance FIX Protocol interview questions JUnit testing WebSphere date and time tutorial experienced java IO tutorial java concurrency thread Ejb Freshers Papers IT Management Java Exapmle Java Script SQL and database tutorial examples Scwcd ant tutorials concurrency example and tutorial future state homework java changes java threading tricky Agile Business of IT Development JSTL Java JSON tutorial Java multithreading Tutorials PM Scrum data structure and algorithm java puzzles java tips testing tips windows 8 5 way to create Singleton Object Architect Interview Questions and Answers Architecture Architecure Bluetooth server as swing application that searches bluetooth device in 10 meter circle and show all devices. You can send file to any bluetooth device. C Programming CIO Callable Statement in Java Circular dependency of Objects in Java Comparable Example in Collection Custom annotation in Java Developer Interview Divide and rule example in java Drupal Example of Singleton Pattern FIX protocol ForkJoin Example in Java 7 Get data from dynamic table with Java Script Git HTML and JavaScript Health Hello World TCP Client Server Networking Program Hibernate Basics Hibernate Interview Question Answer J2EE Interview Question And Answers J2ME GUI Program JEE Interview QA JMS interview question Java J2EE Hibernate Spring Struts Interview Question Java System Property Java Threads Manager Portlets Provident Fund Read data from any file in same location and give the required result. Reading Properties File in Java Redpoint Rest WebService Client Rest Webservice Test SAL join with ven diagram SCP UNIX COMMAND SSL Singleton Pattern in Java Spring Bean Initialization methods and their order Spring Interview Questions Struts Struts 2.0 Basics Struts 2.0 Design Pattern Submit Html Form With Java Script On The Fly Unix executable For Java Program XOM DOM SAX XP books computers core java; core java; object oriented programming data structure; java investment bank; design pattern dtd duplicate rows in table get browser name with jquery grails podcast inner class java beginners tutorial java cache java networking tutorial java spring java util; java collections; java questions java.java1.5 linked list mailto function with all browser oracle database oracle duplicate rows orm schema social spring mvc questions struts transaction tricks tweet windows xslt