Setting Up Your Database


Resin-EE Features

When you use EJBs, you realize that the effort put into the development needs to be balanced with the size of the sites. EJBs aren't designed to be used on single-machine architecture; they gain their power through scalability. This fact leads the developer of small and medium-sized sites to rely on ASP, JSP, and servlets and continue to write SQL—which might lead to problems down the road.

Resin-EE gets its power from its implementation of container-managed persistence (CMP). In CMP, the server does all of the hard work producing database access code. The developer is left the task of writing good object-oriented code. Since Resin-EE handles the database access, it can use advanced caching to push performance as high as possible.

Our goals in this chapter are to illustrate the features of Resin-EE and provide you with a full understanding of how to use CMP in a production environment.




Mastering Resin
Mastering Resin
ISBN: 0471431036
EAN: 2147483647
Year: 2002
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net