= Tomcat Object Factory
:index-group: Unrevised
:jbake-date: 2018-12-05
:jbake-type: page
:jbake-status: published

_The TomcatEjbFactory as discussed in the OnJava
article "OpenEJB: EJB for Tomcat" is no longer required._

As of OpenEJB 3.0 references from Servlets to EJBs happen automatically
with usage of the `@EJB` annotation in the
Servlet, Filter or Listener declared in the `web.xml`.

See the link:deploying-in-tomee.html[Deploying in TomEE] page for the most
up-to-date details on using OpenEJB inside Tomcat.
