Saturday, 17 September 2011

J2EE Questions

Continuing from last post with basic questions, it's time for J2EE questions:
  • What is J2EE?
  • What are the 4 J2EE components?
  • What is multi tiered architecture?
  • What is the difference between a 3 tiered architecture and 3 layered architecture?
  • What is a J2EE container? What 7 services does it provide?
  • Describe JAR, WAR and EAR files.
  • What is EJB and what is its role?
  • What are the main differences between EJB 2.1 and EJB 3.0+?
  • What's the difference between Session Bean, Entity Bean, and Message Driven Bean and give an example where each should be used.
  • When would you want to use Stateful Session Bean?
  • What is the difference between Bean Managed Persistence (BMP) and Container Managed Persistence (CMP)?
  • What is deployment descriptor?
  • What is the role of JNDI?
  • What problems can you see using Java enum persisted in a database?
blog comments powered by Disqus
Share |