Master List Of Java EE,Open Source,Advanced Technologies Questions(Release I )


  1. What is a servlet? Explain its lifecycle.

  2. What is the difference between CGI and servlets?

  3. What is a middleware and what is the functionality of Webserver?

  4. Can there be more than one instance of a servlet at one time ?

  5. Why there are no constructors in servlets?

  6. What is a Servlet Context?

  7. What is meant by Session tell me something about HttpSession?

  8. What is the difference between GenericServlet and HTTPServlet?

  9. What is the difference between doGet and doPost methods of HttpServlet class?

  10. Why do GenericServlet and HttpServlet class implement Serializable interface?

  11. How will you pass values from HTML to the servlet?

  12. Can you use System.exit in your servlet end code?

  13. If my browser does not support Cookie and my server sends a Cookie instance what will happen?

  14. Can you use System.exit in your servlet end code?

  15. What is the difference in between encodeRedirectURL and encodeURL?

  16. How do you make servlet thread-safe?

  17. How do you communicate between applet and servlet?

  18. JSP

  19. What is the difference between Java Servlets and Java ServerPages (JSP)?

  20. What is the difference between page directive 'include' and 'jsp include' action command?

  21. What is the difference between 'jsp:forward' and HttpResponse.sendRedirect()?

  22. What is the difference between 'include file=".."' and 'jsp:include page = ... '?

  23. What are implicit objects in JSP?

  24. Explain the life-cycle methods of JSP

  25. Explain different constituents of JSP like comments,expressions,declarations,scriptlets.

  26. Does JSP support XML pages creation?

  27. How can I show various kind of documents to a web client from JSP's and/or servlets?

  28. How will you handle runtime exceptions in your JSPs?

  29. How can you prevent caching in JSP?

  30. EJB

  31. How EJB evolved over the years?

  32. What are Entity Bean and Session Bean?

  33. How is container managed entity bean created?

  34. What is the difference between Container managed persistent and Bean managed persistent

  35. What is the difference between ejbCreate() and ejbPostCreate() in EntityBean?

  36. What are the services provided by the EJB container ?

  37. What are new features of EJB3?

  38. What is Connection Pooling? Is it advantageous?

  39. What's difference between Servlet/JSP session and EJB session?

  40. How is JDO(Java Data Object) different from VO(Value Object) ?

  41. What is session facade?

  42. EJB Transactions

  43. What are Bean-Managed Transactions?

  44. What are some tips for using bean-managed transaction demarcation?

  45. What is JTS ?

  46. What are transaction properties?

  47. What are transaction attributes ? Which transaction attributes should I use in which situations?

  48. How can you handle transaction isolation?

  49. Struts Framework

  50. What is Struts and how it helps in web development?

  51. Explain Struts1.x in a nutshell?

  52. What are the methods in Action class?

  53. How you will handle errors and exceptions in Struts?

  54. How does Validator framework work in Struts?

  55. What is DispatchAction?

  56. How to handle duplicate submits in Struts?(new)

  57. Spring Framework

  58. What is Spring framework

  59. Why is Spring Framework needed anyway?

  60. What do you understand by Inversion of Control/Dependency Injection?

  61. What is BeanFactory?

  62. Explain ApplicationContext in Spring framework.

  63. What is Aspect Oriented Programming and how is it related with Spring?

  64. What are the problems you have with JDBC and how does Spring framework help to resolve them?

  65. Explain typical Bean life cycle in Spring Bean Factory Container

  66. What are ORMs supported by Spring and how it integrates with Hibernate?

  67. Java Message Service APIs

  68. What is messaging and how is it different from RMI?

  69. When is JMS needed?

  70. How Does the JMS API Work with the Java EE Platform?

  71. Explain JMS API Architecture.

  72. Explain Point-to-Point Messaging Domain.

  73. Explain Publish/Subscribe Messaging Domain.

  74. Java Design Patterns

  75. What are Design Patterns and why one needs them?

  76. What are different types of design patterns?

  77. What is Singleton Design Pattern?

  78. What is difference between Abstract Factory and Factory Method design patterns?

  79. Explain Adapter Design Pattern in Java

  80. Explain Decorator Design Pattern in Java

  81. Explain Facade Design Pattern in Java


java training on April 11, 2014 at 3:34 AM said...

Your technical information related with java programming is very useful and interesting. Also share updated details about java in your website. Thanks for sharing this article.

JAVA Training on September 18, 2014 at 12:08 AM said...

The Information which you provided is very much useful for JAVA Training Learners Thank You for Sharing Valuable Information.i like this blog and this is very informative.

JAVA Institutes in Chennai

jhansi joe on March 21, 2015 at 4:06 AM said...

I am following your blog from the beginning, it was so distinct & I had a chance to collect conglomeration of information that helps me a lot to improvise myself. I hope this will help many readers who are in need of this vital piece of information. Thanks for sharing & keep your blog updated.

JAVA Training in Chennai | Fita Chennai Reviews

Suresh on January 4, 2017 at 11:55 PM said...

The people who want to upgrade their knowledge in Java can really achieve it by understanding the answers of the above questions. It is really giving them a new dimension in learning.

Java Training

sivanesan on March 24, 2017 at 12:56 AM said...

Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it. erp in chennai | erp for automotive industry chennai

Mohana M on June 8, 2017 at 5:47 AM said...

Hi, I am a big follower of your blog. Really very informative post you shared here. Keep sharing this type of informative blog. Waiting for your next update. If anyone wants to become a Java professional learn Java Training in Bangalore. Nowadays Java has tons of job opportunities for all professionals.


Interview Questions On Java,Java EE Copyright © 2018. Reads: best tracker