Search code examples
jakarta-eenetbeansjava-ee-6

What is an EJB module in Java EE 6?


When I go to create a new Java EE 6 project in eclipse I see a bunch of types of projects....

  • Enterprise Application
  • EJB Module
  • Enterprise Application Client
  • Packaged Archive

What are these different types and what do they mean?


Solution

  • EJB module produces a .JAR containing all your enterprise java beans.

    An EAR file is to contain at least one JavaEE module, an EJB is a JavaEE module.