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.xml
3Kb
people/build/
0b
people/build/classes/
0b
people/build/classes/dao/
0b
people/build/classes/dao/personDao.class
4Kb
people/build/classes/helper/
0b
people/build/classes/helper/personHelper.class
1Kb
people/build/classes/models/
0b
people/build/classes/models/person.class
1Kb
people/build/classes/people/
0b
people/build/classes/people/Main.class
1Kb
people/build/classes/people/People$1.class
1Kb
people/build/classes/people/People$2.class
1Kb
people/build/classes/people/People$3.class
1Kb
people/build/classes/people/People$4.class
1Kb
people/build/classes/people/People$5.class
1Kb
people/build/classes/people/People$6.class
1Kb
people/build/classes/people/People$7.class
1Kb
people/build/classes/people/People.class
10Kb
people/dist/
0b
people/dist/README.TXT
1Kb
people/dist/people.jar
23Kb
people/manifest.mf
82b
people/nbproject/
0b
people/nbproject/build-impl.xml
26Kb
people/nbproject/genfiles.properties
447b
people/nbproject/private/
0b
people/nbproject/private/private.properties
260b
people/nbproject/private/private.xml
211b
people/nbproject/project.properties
2Kb
people/nbproject/project.xml
1Kb
people/src/
0b
people/src/dao/
0b
people/src/dao/personDao.java
3Kb
people/src/helper/
0b
people/src/helper/personHelper.java
1Kb
people/src/models/
0b
people/src/models/person.java
1Kb
people/src/people/
0b
people/src/people/Main.java
1Kb
people/src/people/People.form
9Kb
people/src/people/People.java
14Kb
people/table.sql
2Kb
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 ...