Header Ads

  • Breaking Now

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

      Servlets
    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?

      Java Message Service APIs

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

    68. When is JMS needed?

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

    70. Explain JMS API Architecture.

    71. Explain Point-to-Point Messaging Domain.

    72. Explain Publish/Subscribe Messaging Domain.

    73. Java Design Patterns
    74. What are Design Patterns and why one needs them?

    75. What are different types of design patterns?

    76. What is Singleton Design Pattern?

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

    78. Explain Adapter Design Pattern in Java

    79. Explain Decorator Design Pattern in Java

    80. Explain Facade Design Pattern in Java

    Post Top Ad

    Post Bottom Ad