What is an Enterprise Java Bean really?
Posted
by HDave
on Stack Overflow
See other posts from Stack Overflow
or by HDave
Published on 2010-06-07T20:05:21Z
Indexed on
2010/06/07
20:12 UTC
Read the original article
Hit count: 206
On the Tomcat FAQ it says: "Tomcat is not an EJB server. Tomcat is not a full J2EE server."
But if I:
- use Spring to supply an application context
- annotate my entities with JPA annotations (and use Hibernate as a JPA provider)
- configure C3P0 as a connection pooling data source
- annotate my service methods with @Transactional (and use Atomikos as JTA provider)
- Use JAXB for marshalling and unmarshalling
- and possibly add my own JNDI capability
then don't I effectively have a JEE application server? And then aren't my beans EJBs? Or is there some other defining characteristic?
What is it that a JEE compliant app server gives you that you can't easily/readily get from Tomcat with some 3rd party subsystems?
© Stack Overflow or respective owner