Effective Enterprise Java: Preface, State Management

This excerpt from the book Effective Enterprise Java discusses such items as: using HTTPSessions sparingly, using object-first persistence to preserve your domain model, using relational-first persistence to expose the power of the relational model, using procedural-first persistence to create an encapsulation layer, recognising the object-hierarchical impedence mismatch, using in-process or local storage to avoid the network, and more.

October 2004

Discussion


In the chapter you will read about items such as:

  • Using HTTPSessions sparingly
  • Using object-first persistence to preserve your domain model
  • Using relational-first persistence to expose the power of the relational model
  • Using procedural-first persistence to create an encapsulation layer
  • Recognising the object-heirarchical impedence mismatch
  • Using in-process or local storage to avoid the network
  • Never assuming you own the data or the database
  • Lazy-loading infrequently used data
  • Eagerly-loading frequently used data
  • Batch SQL work to avoid round-trips
  • Knowing your JDBC provider
  • Tuning your SQL

Read Effective Enterprise Java Introduction or Effective Enterprise Java Chapter 5 or Download the chapters

About the Author

Ted Neward - Ted Neward is a Java and .NET author, instructor and speaker who lives in the Sacramento, CA area. He is the Editor-in-Chief of TheServerSide.NET. His personal weblog, on both Java and .NET, can be seen at http://www.neward.net/ted/weblog, and he can be reached at editor@theserverside.net.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudApplications

SearchSOA

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close