Total members 11890 |It is currently Fri Apr 19, 2024 7:59 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





can anyone help me how to create DATA ACCESS LAYER in java?
im trying to work on it but i really cant make it.
please help me.thanks.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

I know of at least 3 ways to do this.

1) You can sprinkle your code with JDBC calls (package java.sql). Not
the best.
2) You can follow the DAO pattern. The ideal way to do this is to
carefully define your code so that users of this layer don't know - and
don't care - what the implementation is. Very desirable.
3) Integrate a 3rd party solution, such as Hibernate. With Hibernate,
you only need to define your mappings via XML; other than that, it
appears that you work solely with Java objects (if you defined your
mappings correctly, that is). This is best for larger systems.

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : data access layer for java
 Data Access Object in Servlets.............     -  
 Text Effect Using Add Layer Style     -  
 How java access URL     -  
 MS-Access with java     -  
 access modifiers in java     -  
 HOW I Access the Parallel Port in Java?     -  
 correct syntax for access providers in java     -  
 java code to open word doc attached in ms access.db     -  
 Password Security Manager Access File Java     -  
 java data types     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com