wood burning stoves*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Question" Watch "Question" New topic
Author

Question

Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Please don't laugh at my stupid question but I just want be sure about my thinking.

Since JPA can run without container, will a pure core Java API & JPA based application (without container) be considered EJB centric app?
Another words, is JPA considered integral part of EJB since it came with EJB3?

My thinking: An EJB centric app must have at least one session bean or MDB.
David Byron
Rancher

Joined: Jan 20, 2009
Posts: 172

If it can run without an EJB container, it's not EJB-centric.


SCJD 6, OCPJP7, Baroque Potion, G+
Yegor Bugayenko
Ranch Hand

Joined: Feb 11, 2011
Posts: 77
Take a look at this link: http://java.sun.com/blueprints/guidelines/designing_enterprise_applications/web_tier/application_designs/index.html

Quote:

An EJB-centric application extends the modular, component-based application described in the previous section, with two main differences. First, this design uses a front component for a controller. Second, data represented by the JavaBeans components is maintained by enterprise beans. This design provides flexibility, manageability, and separation of developer responsibilities.


Did it answer the question?


SCEA, PMP, read my blog: www.yegor256.com
 
Don't get me started about those stupid light bulbs.
 
subject: Question