Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 251. |
Explain the difference between RequestDispatcher and sendRedirect? How JSP handles runtime exceptions? |
| Answer» | |
| 252. |
How to pass the information from the the JSP to the included JSP? Explain the difference between directive include and jsp include. |
| Answer» | |
| 253. |
Explain the difference between ServletContext and PageContext. How to create request.getRequestDispatcher () and context.getRequestDispatcher()? |
| Answer» | |
| 254. |
What is the query used to retrieve all the table names on SQL Server (Query analyzer)? Is it possible implement an interface in a JSP? Give all the different scope values for tag. |
| Answer» | |
| 255. |
What are the ways through which the EJB control can be extended? |
| Answer» | |
| 256. |
Explain using a sample code the EJB as a stateless session bean. |
| Answer» | |
| 257. |
What are the different types of enforcement that are present in EJB? |
| Answer» | |
| 258. |
What are the categories used to contain one or more restricted components? |
| Answer» | |
| 259. |
State the difference between CMP and BMP. |
| Answer» | |
| 260. |
Explain what are transaction attributes. |
| Answer» | |
| 261. |
What are the problems caused by loading native code? |
| Answer» | |
| 262. |
Why is this necessary to use J2EE server with servlet and EJBs together? |
| Answer» | |
| 263. |
How can two interfaces and a bean class be compiled? |
| Answer» | |
| 264. |
What are the things which should be kept in mind while building a bean? |
| Answer» | |
| 265. |
What is the difference between stateless session bean and singleton session bean? |
| Answer» | |
| 266. |
Why EJB compliant server is necessary to use EJB components? |
| Answer» | |
| 267. |
What is the function of Message drive beans? |
| Answer» | |
| 268. |
Explain with an example Singleton session beans. |
| Answer» | |
| 269. |
Explain with an example Stateless session beans |
| Answer» | |
| 270. |
Explain with an example Stateful session beans. |
| Answer» | |
| 271. |
What are the different types of enterprise beans exist? |
| Answer» | |
| 272. |
What is component-based development architecture? |
| Answer» | |
| 273. |
What is EJB important in perspective of Java? |
| Answer» | |
| 274. |
What are the different types of extension interface that is present in Hibernate? |
| Answer» | |
| 275. |
What is the importance of Lifecycle and validatable interface in Hibernate? |
| Answer» | |
| 276. |
Why are callback interfaces useful in Hibernate? |
| Answer» | |
| 277. |
What are the different types of interfaces present in Hibernate? |
| Answer» | |
| 278. |
What is the difference between managed and non-managed environment in Hibernate? |
| Answer» | |
| 279. |
What is the use of Hibernate proxy in Hibernate? |
| Answer» | |
| 280. |
Why Hibernate is preferred over JDBC? |
| Answer» | |
| 281. |
Write a code to do the component mapping in Hibernate. |
| Answer» | |
| 282. |
How components are used in Hibernate? |
| Answer» | |
| 283. |
What is the purpose of using HibernateTemplate? |
| Answer» | |
| 284. |
Write the code that maps the Java Object with the database tables? |
| Answer» | |
| 285. |
What is the purpose of HQL in communication between Hibernate and RDBMS? |
| Answer» | |
| 286. |
What is the process of communication between Hibernate with RDBMS? |
| Answer» | |
| 287. |
What is the role played by SessionFactory interface in Hibernate? |
| Answer» | |
| 288. |
What is the role played by Session interface in Hibernate? |
| Answer» | |
| 289. |
What are the tags that are importantly used in Hibernate configuration file? |
| Answer» | |
| 290. |
What is the need of hibernate tools when ORM tools can be used? |
| Answer» | |
| 291. |
What is the function performed by code generator in Hibernate? |
| Answer» | |
| 292. |
How does Hibernate useful in mapping object and its relations? |
| Answer» | |
| 293. |
What do you mean by Named – SQL query? |
| Answer» | |
| 294. |
What are the different types of caches in Hibernate? |
| Answer» | |
| 295. |
How do you define sequence generated primary key in hibernate? |
| Answer» | |
| 296. |
What is the difference between merge and update method? |
| Answer» | |
| 297. |
What is lazy fetching in Hibernate? |
| Answer» | |
| 298. |
What is the difference between load() and get() method? |
| Answer» | |
| 299. |
What is HibernateTemplate? |
| Answer» | |
| 300. |
What are the Collection types in Hibernate? |
| Answer» | |