Home
Webmaster and SEO Forum Home
05/16/12 06:13
Webmaster and SEO RSS Feed

Your Web Application's Data Access Layer


All listings are the responsiblity of the posters; keep in mind, anyone can post anything!
, any: Manufacturer of interlining cloth INDRA TRADING CO.
us





Advertisement:
Want more customers?



Recent Notes and Tags
Search Tags:

Webmaster and SEO

Your Web Application's Data Access Layer


PreviousContentsNext

Thank author of this post/comment

In contemporary servlet development, there is what we call layering when it comes to developing the applications. This means that we divide the project into different code layers depending on the functionality that the code brings to the project. The three basic layers are, namely, the data access layer, the service layer, and the presentation layer. Of the three layers, I think I can say that I am most familiar with the first one.

 

The data access layer is basically the layer of a development project that handles methods that transfer data from the highers levels of the application to the data storage. A data access layer is essential in good software architecture because it enables the developers to carry out tasks relating to data access without even bothering what use the data has for the business application.

At the core of the data access layer is the data access object (DAO), which represents a single domain object in the application. For example, if you are going to store a database of application users, you allocate one DAO whose objective is just to provide methods that will give you access to the user database. The DAO is separated from the other layers of your applications. This means you can change the implementation of the data access methods without bothering to change the code in the other layers.

So, for example, you can configure separate DAO implementations for both Oracle databases and the filesystem and have them connected to the service layer using the same code for your service classes. This is definitely more economical than if you included the data access code within the business logic or the presentation layers.

Good layering corresponds to good web application design. Meanwhile, a good web application corresponds to a good browsing experience for your users. Don't waste developer time and money by investing in designs that do not work. Instead, stick with principles that have been proven to be effective for a long time. Do remember that.

You can talk about... Your Web Application's Data Access Layer

Tags: • architectureservice layerpresentation layerapplication designweb applicationsoftware architecturegood softwaredata storageservlet developmentweb applicationsservletdata accessdata access layer


Related articles:
Social sharing because it feels good:

PreviousContentsNext


Your Web Application's Data Access Layer
Webmaster and SEO

Have you added a link to us from your website? (2367764876):
  • <a href="http://article-library.webmasterjrseo.com">Webmaster and SEO</a>
  • <a href="http://article-library.webmasterjrseo.com/servlet_development">Your Web Application's Data Access Layer (servlet development); Webmaster and SEO </a>
Your Web Application's Data Access Layer (servlet development); Webmaster and SEO Copyright (c) 2008-2011 GLR Sales LLC.
(rozwqizwipzetq)

Privacy & DMCA Policy -- Sitemap
servlet development Your Web Application's Data Access Layer