O'Reilly logo

Java EE Development with Eclipse - Second Edition by Ram Kulkarni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Creating JEE Applications with EJB

Recall the architecture of database applications in Chapter 4, Creating a JEE Database Application. We had JSP or a JSF page calling a JSP bean or a managed bean. The beans then called DAOs to execute the data access code. This separated code for the user interface, business logic, and the database nicely. This would work for small or medium applications but may prove to be a bottleneck in large enterprise applications; the application may not scale very well. If the processing of business logic is time consuming then it would make more sense to distribute it on different servers for better scalability and resilience. If the code for the user interface, business logic, and data access is all on the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required