Languages Java Databases/ JDBC  

Creating/using persistence layer

download download  
important code information
author:
Patrick Guimalan
minimum requirements:
Creating/using persistence layer description

I just want to show how to create/use persistence layer: DAO, Helper, Models, and the presentation layer


When you build an Java application project that has a main class, the IDE
automatically copies all of the JAR files on the projects classpath to your projects dist/lib folder. The IDE also adds each of the JAR files to the Class-Path element in the application JAR files manifest file (MANIFEST.MF).

To run the project from the command line, go to the dist folder and
type the following:

java -jar "people.jar"

To distribute this project, zip up the dist folder (including the lib folder)
and distribute the ZIP file.

Notes:

* If two JAR files on the project classpath have the same name, only the first
JAR file is copied to the lib folder.
* If the classpath contains a folder of classes or resources, none of the
classpath elements are copied to the dist folder.
* If a library on the projects classpath also has a Class-Path element
specified in the manifest,the content of the Class-Path element has to be on
the projects runtime path.
* To set a main class in a standard Java project, right-click the project node
in the Projects window and choose Properties. Then click Run and enter the
class name in the Main Class field. Alternatively, you can manually type the
class name in the manifest Main-Class element.


File List:
people/0b
people/build.xml3Kb
people/build/0b
people/build/classes/0b
people/build/classes/dao/0b
people/build/classes/dao/personDao.class4Kb
people/build/classes/helper/0b
people/build/classes/helper/personHelper.class1Kb
people/build/classes/models/0b
people/build/classes/models/person.class1Kb
people/build/classes/people/0b
people/build/classes/people/Main.class1Kb
people/build/classes/people/People$1.class1Kb
people/build/classes/people/People$2.class1Kb
people/build/classes/people/People$3.class1Kb
people/build/classes/people/People$4.class1Kb
people/build/classes/people/People$5.class1Kb
people/build/classes/people/People$6.class1Kb
people/build/classes/people/People$7.class1Kb
people/build/classes/people/People.class10Kb
people/dist/0b
people/dist/README.TXT1Kb
people/dist/people.jar23Kb
people/manifest.mf82b
people/nbproject/0b
people/nbproject/build-impl.xml26Kb
people/nbproject/genfiles.properties447b
people/nbproject/private/0b
people/nbproject/private/private.properties260b
people/nbproject/private/private.xml211b
people/nbproject/project.properties2Kb
people/nbproject/project.xml1Kb
people/src/0b
people/src/dao/0b
people/src/dao/personDao.java3Kb
people/src/helper/0b
people/src/helper/personHelper.java1Kb
people/src/models/0b
people/src/models/person.java1Kb
people/src/people/0b
people/src/people/Main.java1Kb
people/src/people/People.form9Kb
people/src/people/People.java14Kb
people/table.sql2Kb
people/test/0b

Similar code
Some Code for Inventory System (Popularity: ) : Download this and you will learn 1.) JDBC Manipulation 2.) The use of connection , statement and resultset 3.) The use of classes to optimize the codes 4.) Move first , next , previous and last to the record using ...
Employee Tracking System (Popularity: ) : Employee Tracking System is a simple Employee written in Java that can save, search and sooner once I will finished this simple project, the delete, edit and close will also function accordingly. It has an image displayed on the right ...
Client-Server-DataServer (Popularity: ) : A three tier application having a client connecting to the server requesting for some data from the database. In turn then server connects to the data server and requests the query requested by the client from the database. Then the ...
College Library Record Application (Popularity: ) : The application have all the capabilities to control over the Data-Base, i.e ADD, DELETE, NEW, UPDATE an particular record in the database with the help of this application.
Email Recovered Password (Popularity: ) : J2ee based password recovery code. The user supplies his/her email and the code use that parameter to retrieve the forgotten password and send it to the user's email address at real time.
TList: A Java List with fast add/remove (Popularity: ) : Java's ArrayList suffers severe performance degredation when adding/removing numerous elements to/from a large List near the beginning or middle of the List. Our implementation (TList) features very rapid addition/removal from anywhere in the list even when the List is very ...
A 3-T Application (Popularity: ) : A client passes the parameter to server, server creates a query and passes it to the dataserver, dataserver processes the query a return the result back to the server, server will process the result add some essential tags like no ...
Excel Worksheet Name Reader (Popularity: ) : After searching the site, I noticed that there were no code entries enabling the user to learn the names of the worksheets in an excel file. This code allows your program to determine which worksheet to read from at runtime. ...
To Retrieve Image (Popularity: ) : This program is very simple program.This program retrieves image from database with file path.So i wanna to retrieve image from database(no file path).Please help me about that with simple code.
TOH (Tower Of Hanoi) (Popularity: ) : Solve classical problem,Tower of Hanoi. A little trick to complete it that is using recursive method. This program run on console mode or window mode.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 33
version
size in Kb 37
popularity   1566/7913374
user rating 4/10
ad


New Code
Popular Code