File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 169

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


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

Joined: Feb 11, 2011
Posts: 54
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, OCUP
Lead Architect of fazend.com - Free Hosted Continuous Integration Platform
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question
 
Similar Threads
SCEA Part1 EPractize Labs - some answer seems incorrect
what is seam frame work
Performance - How to justify
EJB cluster
Is it possible to use JPA 2.0 with EJB 3.0? (not EJB 3.1)?