Do the Sun ONE Application Framework applications require the use of EJBs?
No. As in any other J2EE application, you can obtain a reference to an EJB and use it directly from within a Sun ONE Application Framework application. However, while EJBs are a component of J2EE, they are not a mandatory component. Furthermore, they are a relatively complex addition to an application’s architecture, and currently have some significant drawbacks. A large number of Web developers are not prepared to move to an EJB-based architecture, as it presents many unique challenges and requires a significant additional investment in many areas of application design and implementation. Therefore, requiring the use of EJBs would be a disservice. However, the use of EJBs is supported and facilitated. The Sun ONE Application Framework provides valuable features based on a flexible and pluggable model-view architecture, which compliments both Web-oriented and EJB-oriented applications. As an alternative to using an EJB directly, for example, a developer could use a model that is either