Tutorials to .com

Tutorials to .com » Jsp » Java skills and code

Java skills and code Articles


1: [Java] examples of the basic learning
Not been updated for a long time, and lazy, the beat! 1, this is a basic file operations, realization of the document to read, write a number of operations package trying; import java.io. *; / ** * @ Author gooing * / public class FileRw ( p...

2: Study Notes
Methods and Notes Necessary to combine your JAVA code and AOP combination, you can use some of the labels, like the new JDK5.0 version of the meta-data and XDoclet . For your JAVA method, somewhat like the use of synchronized on the same. When you...

3: Right java pop-up menu
package test1; import java.awt .*; import java.awt.event .*; import java.applet .*; public class Applet1 extends Applet ( boolean isStandalone = false; PopupMenu popupMenu1 = new PopupMenu (); MenuItem menuItem1 = new MenuItem (); MenuItem m...

4: Java design patterns using UML to prepare examples of FactoryMethod Pattern
Taken from the college a long time Read the article on the forums, read FactoryMethod Pattern UML diagrams, wrote a small example program. As the article added! / / Creator.java public abstract class Creator ( / ** * Looks like a factory * Co...

5: Installation, upgrade, and uninstall the central part (java in preparation)
Installation program of work: the source files are copied to the appropriate directory. Upgrade program of work: the source file, the purpose of the updated file to overwrite the file, additional files are copied to the appropriate directory. Unin...

6: To encapsulate the database operations Javabean
Package database operations, the purpose is to hide the java.sql package of classes, in the encoding of the database operation to remove the core code. To eliminate direct database resources are not easy to bring the issue of release. Also reduce th...

7: JAVA dynamic compilation and static compilation
Two popular approaches for compiling Java programs are Just-In-Time (JIT) compilation (eg Sun Hotspot [29], Cacao [18], OpenJIT [24], shuJIT [28], vanilla Jalapeno [1]) and static compilation ( eg BulletTrain [22], Excelsior JET [10], GCJ [32], IBM ...

8: java simple application of io
java's io system is relatively large and complex, the general concept of it is also a feeling of novice is not very clear, I did a few simple examples to all of us want to have some help. / / Read data from the file, display on the screen pack...

9: Written in cipher with the Java classes
package data; import java.security .*; import javax.crypto .*; import javax.crypto.spec .*; import java.io. *; / ** * Security provides a security algorithms class, including a symmetric cryptographic algorithm, and hash algorithm * / public...

10: The preparation of mine clearance with Java games - code for Thought
import java.awt .*; import java.awt.event .*; import javax.swing .*; / * Button class * / class Bomb extends JButton ( public int num_x, num_y; / / the first of several box No. public int BombRoundCount; / / around the mine a few public bool...

11: Application of a simple timer: VarTimer (java)
package cn.com.softwise.mailplug.service; import java.util.Timer; import java.util.TimerTask; public class VarTimer ( private Timer timer; private int iFreq; private boolean bRuning; public VarTimer () ( timer = null; bRuning = false; iFre...

12: java.util.Collection
Java Collection of Dictionary, Vector, Stack,, Properties for a unified management. Cluster support for the interface is as follows: Collection List Set SortedSet Comparator compare to the definition of two objects Iterator object of enumerat...

13: java feelings along the way
New section of the summary of a project (the first time writing articles, please advice predecessors) napoleonn http://www.jdon.com Oct 1, 2004 3:42 PM Reply Confucius said: "Learning without thought is indiscriminately, thinking without lear...

14: javascript function prototype
string. length of characters to deal with two Chinese characters . Tlength -------------------------------------------------- ------------------------------ <script> / * This following code are designed and writen by Windy_sk <seasonx@...

15: Javascript in the shallow and deep copy copies of the realization of
javascript in the assignment and the like is the same as in Java, for reference. In other words, in a like assignment to a variable, then the variable is still the point is like the original address. That the answer is how to do this cloning. What...

16: java class in the use of Properties
package com.adrop.util; import java.io. *; import java.util.Properties; import javax.servlet.http .*; import javax.servlet .*; import javax.servlet.jsp .*; public class PropertiesUtil ( private String fileName; private Properties p; private...

17: JAVA + ACCESS programming experience
Spent the afternoon time, the next experience programming java & access. In fact, the company's need to integrate data from two heterogeneous systems. Ms of a database using sql server, the other is access. In fact, data sheets for the opera...

18: Getting Started javaRMI procedures and configuration
This example contains a total of five documents, namely HelloClient, Hello, HelloServer, Configur, config.properties -------------------------------------------------- ------------------------------ / * Hello.java * / / * * Created on 2004-11-10...

19: On the development of JAVA VM
On the development of Java VM Jim Huang <jimchyun @ ccns.ncku.edu.tw> <jserv @ kaffe.org> Slightly finishing is the author of the Java VM for the experience, to share with you, in the latter part of this article will focus on a number...

20: How Java is rapidly becoming a master
Many friends asked me to learn Java Is there any shortcut, and I said "no, he only hand-cooked Seoul." But I am very willing to learn from their written some experience so that few detours later, to help others is the greatest joy it! To ...


Page 1 of 38
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]   [26]   [27]   [28]   [29]   [30]   [31]   [32]   [33]   [34]   [35]   [36]   [37]   [38]