Tomcat is not an EJB container. It only serves up servlets and JSPs.
However, there are several EJB containers (a/k/a Application Servers) that provide embedded Tomcat (or Jetty) servers. Two I can mention are JOnAS and JBoss. Apache Geronimo may also do so. Geronimo's still so new I haven't checked.
An IDE is no substitute for an Intelligent Developer.
posted 11 years ago
Quote from OpenEJB site ..
"OpenEJB is an open source, modular, configurable, and extendable EJB Container System and EJB Server."