Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart

Archive for January 2008

Encryption of User Passwords

Posted by: Chyne on: January 30, 2008

The best method to encrypt user password is using one-way techniques, which is, digest algorithm. This is because encrypted password that is using digest algorithm cannot be decrypted. A two-way technique such as password-based encryption will be a risk because once the attacker knows the encryption password, the user password will be revealed. In summary, [...]

Transfer Files through FTP

Posted by: Chyne on: January 15, 2008

The procedures to transfer a file or upload the file through ftp method:-
1. On the Windows, click Start –> Run to open the Windows dos prompt.
2. Type cmd and click OK.
3. Access to the location of the file that you want to ftp to the server.
e.g.:
if your file is located in desktop and you want [...]

Compile and Build Projects using Ant

Posted by: Chyne on: January 14, 2008

Here are the steps to compile and build projects using Ant in Eclipse:

Choose Window in the Toolbar.
Show View —> Others.
Double click the ‘Ant’ directory and choose the ’Ant’ icon.
Click ‘Ok’.
Choose a specific project.
On the Ant tab, click the icon ‘Add buildfiles’.
Choose the buildfiles to add (build.xml).
After choosing the build.xml, you can do the [...]

Tags:

How to Create a Jar File

Posted by: Chyne on: January 8, 2008

Here are the steps to create a jar file in Eclipse:

Select specific file or package in the Package Explorer / Project Explorer.
Right click the selected file and choose ‘Export’ from the list.
Select the folder ‘Java’ and choose ‘JAR file’.
Click ‘Next’.
Make sure the ticked project in the ‘Select the resources to export:’ is the right location [...]

Tags:

Friday’s Java Snack


In Java, "thread" means:

  • An instance of class java.lang.Thread
  • A thread of execution


An instance of Thread is just an object that has variables and methods, and lives and dies on the heap.
 
A thread of execution is an individual process that has its own call stack (one thread per call stack).

 

January 2008
M T W T F S S
« Dec   Feb »
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives


StatCounter

free hit counters