File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 172
Clojure Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it can run without an EJB container, it's not EJB-centric.
 
Yegor Bugayenko
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic