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 ...
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 ...
Client-Server-DataServer (Popularity: ) : A three tier application having a client connecting to the server requesting for some data from the database. In turn ...
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 ...
Employee Tracking System (Popularity: ) : Employee Tracking System is a simple Employee written in Java that can save, search and sooner once I will finished ...
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 ...
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 25
version
size in Kb 37
popularity   383/5995044
user rating 0/10
ad


New Code
Popular Code