Posted by Marcy at February 12, 2016 - 7:35 AM
Posted by Dick at February 19, 2016 - 7:46 AM
Posted by Megan at March 04, 2016 - 8:43 AM
Key is the name of the students, the value can be 0/1 (delegates should come to class)
The sign in when it is according to the specific key, changing the specific value
so, How to use your own www.google.ca
Posted by Abbott at March 06, 2016 - 9:13 AM
Posted by Wordsworth at March 15, 2016 - 9:18 AM
Posted by Maureen at March 19, 2016 - 10:01 AM
Posted by Megan at March 29, 2016 - 10:26 AM
Posted by Wordsworth at April 03, 2016 - 10:41 AM
Posted by Ashley at April 06, 2016 - 11:02 AM
Posted by Megan at April 14, 2016 - 12:02 PM
Java properties files can be solved, the value to set all 1 (all in)
Point to the who, not to change to 0, not to modify. Closed to all set to 1
But the landlord should be found, thus could not record attendance records (who do not know the day of absence)
Although Java properties files, XML files can be resolved
But you might consider the use of database records, maybe the teacher is just let you know Java database operation.
Posted by Abbott at April 24, 2016 - 12:32 PM
Posted by Megan at April 29, 2016 - 1:08 PM
Or, you can understand the following Java Derby database. Written in pure Java, only need to import the derby.jar package can be. Do not need to install the database, very convenient.
Posted by Dick at May 07, 2016 - 1:11 PM
Posted by Sandra at May 22, 2016 - 1:49 PM
Posted by Thomas at May 26, 2016 - 2:17 PM
Posted by Nikita at June 09, 2016 - 2:53 PM
Sqlite: The old file database, completely free (public domain), easy to use, without any configuration, download the source code to be compiled into the library or compiled directly into the application can be (250K, C code). Support the transaction mechanism and BLOB data types.
Berkeley DB: The more the old file database, the most stable database, applications can replace most of the traditional client/server database; support XML (at the expense of 30M hard disk space). Disadvantage is the allocation and use of more complex, not suitable for small projects.
Firebird: Compared with SQLite similar, with C# support. Some of the released version of build cannot, for a long time did not concern.
Access: Generally do not consider.
XML database file.
dat, TXT text file.
Formatted text.
A variety of audio and video files, etc.
=======================
SQLite JSON XML can be
Posted by Blithe at June 20, 2016 - 3:14 PM
Posted by Earl at July 02, 2016 - 3:44 PM
Posted by Wordsworth at July 07, 2016 - 4:35 PM
json
txt
Can, at present Json is also very good, try it.
Posted by Bancroft at November 16, 2016 - 3:40 AM
Txt or XML, or is this way, in fact, set the database itself is a pile of documents.
The properties file should be relatively easier.
Read and write files, read data written under XML is from the Internet to find Java
Posted by Ricky at November 19, 2016 - 4:12 AM
Posted by Angelina at November 22, 2016 - 4:47 AM

Posted by Ronald at December 02, 2016 - 5:33 AM
If you do not want to rely on the server to run, you can use the file for the database, SQLite or the original point of access can be.
Posted by Edward at December 03, 2016 - 5:51 AM
Posted by Bernard at December 16, 2016 - 6:09 AM

Posted by Valentine at December 31, 2016 - 6:26 AM
Posted by Boyce at January 03, 2017 - 6:29 AM
1)Student information table ----> student_ class name.Xml
For example, called the student_1304.xml, you need XML format, read and write XML, use Dom4j
<root> <classInfo> <studentInfo> <name>Tom</name> <age>21</age> </studentInfo> <studentInfo> <name>Tom</name> <age>21</age> </studentInfo> <studentInfo> <name>Tom</name> <age>21</age> </studentInfo> </classInfo> </root>
If no XML, the simplest is to use TXT text file
student_1304.txt, Txt in a row represents a student information
#The serial number, name, student number, class, gender, telephone
0001,1304001,1304,Tom,male,1373430000
0002,1304002,1304,Lucy,female, 1374444
Using the IO, read the TXT.
Either way, the read information can be saved as List or Map, the List or Map is stored in the memory (that is, to build a static property, the List or the Map assigned to it), you can directly use.
2)Call information
Create a folder roll-call, then in this folder
roall-call-student-1304-20131014.properties
A file to generate roall-call-student-1304 every day.
File save
The number =0
The number =1
Or learn =true
The number =false
You use the Properties class to write a tool class, read from a file
Posted by Amos at January 09, 2017 - 7:05 AM
The number =0
The number =1
The number =2
As for the 0, 1, 2 These enumerated values, is how the definition, then build a propertie file
config/defaultSystem.properties
0= to
1= sick leave
2= leave
3= fall in love
4= Niubi flying.
Posted by Amos at January 11, 2017 - 6:52 AM
You can save each database record. .
I want to, can not database? Without a server, my software not networking, direct local records. .
How to save every time I call records.?
Solving?
Started by Megan at February 06, 2016 - 7:21 AM