This is a must for every Java developer

  Ant in action 2nd Chinese version has been listed. Please stay tuned! Internet purchase:Http://www.china-pub.com/39973 Sample free download:Http://groups.google.com/group/bvpopbook/files ====================================== Praise for

Install Java JDK on Ubuntu and set environment variables of ant JUnit Tomcat

Installing JDK in Ubuntu is simple. $ Sudo apt-Get install sun-java6-jre sun-java6-jdkAutomatic Installation of JRE and JDK Download ant, JUnit, and unzip tomcat to your desired location, under my/home/ycpeng/Java directory Edit/etc/profile $

Java Memory leakage analysis (1)

Java Memory leakage Article Source: http://hi.baidu.com/robin300/blog/item/467854df5ea692134954038c.html Question proposal An important advantage of Java is that the garbage collector (garbage collection, GC) automatically manages memory collection.

Summary of the Java framework and open-source projects (2)

 Jetspeed [Java open-source portal system] Jetspeed is an open-source enterprise information portal (EIP) implementation, using Java and XML. users can access the information portal set up by jetspeed to obtain information through mobile phones or

Questions and answers for Java programmers

Some questions that are frequently asked during interviews with Java programmers on the Internet, although a little old, are still worth reading. 1. Let's talk about the differences between final, finally, and finalize. Final? Modifier (keyword) If

Explanation of Java environment variables-the main class cannot be found or loaded

Installed in the C: \ ProgramFiles \ Java \ jdk1.7.0 directory by defaultEnvironment Variable Configuration:Path =.; % java_home % \ binClasspath =.; % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. jar;Java_home = c: \ Program Files \

Use Java to implement web servers

Use Java to implement web servers I. Principle of the HTTP protocol The principle of HTTP protocol includes four steps: 1. connection: the Web browser establishes a connection with the Web server. 2. Request: the Web browser submits a request to the

Java beauty [from cainiao to masters]-WebSphere Application Server v8.5 installation [Image and text]

Today, I tried to install IBM's heavyweight product WebSphere Application Server. We need two files: 1. Installer (more than 100 MB in Windows) 2. WebSphere Application Server Installation Package (about 3 GB) These files can all be downloaded in:

Apache project: POI-HSSF-Java API to access Microsoft Excel format files (zt)

Introduction: Jakarta_poi uses Java to read and write Excel (97-2002) files, which can meet most of the requirements.Because this tool was used by a project, it took some time to translate poi itself.A guide is provided with some reductions and

Special Java class usage: File class, internal class, local class, Anonymous class

1. File class Test is a file class. class Test { static void method() { //... }}public class Driver { public static void main(String[] args) { Test.method(); }} 2. Internal class class OuterClass { int outerData; static int

Detailed analysis of Java multi-thread programming)

Original access address: http://www.javaresearch.org/article/showarticle.jsp? Column = 546 & Thread = 55480 I. multi-thread understanding Multithreading is a mechanism that allows concurrent execution of Multiple Instruction Streams in a program.

Java dependency injection standard (JSR-330) Introduction

Java dependency injection standard (JSR-330) Introduction Reprinted by the author: By: 88250, Vanessa Time: January 1, November 19, 2009 Java dependency injection standard (JSR-330, dependency injection for Java) 1.0 specification was released in

Concepts of Java Virtual Machine

  Java Virtual Machine (JVM) is a hypothetical computer that can run Java code. As long as the interpreter is transplanted to a specific computer according to the JVM Specification Description, it can ensure that any compiled Java code can run on

Java uses basic JDK to operate ZIP files

Tip: This article briefly introduces the zip interface in JDK. However, the zip operation interface provided by JDK is very imperfect, neither Chinese nor password is supported, so the availability is not high. If you need to process ZIP files in a

Java creates transparent and any shape windows

Java creates transparent and any shape windows I. Basic knowledge of Java 2D graphics Since the release of Java swing, Java's graphics capabilities have been greatly improved. The advanced version of JDK 6 began to support the creation Jframe with

Java obtains the key by value (map get key by value)

To process a document set, you need to calculate all the words contained in corpus, that is, to calculate a vocabulary. Words and corresponding indexes must be saved in the vocabulary. Of course, the document must be stopword removal and text

Java Dynamic proxy implementation

Dynamic proxy, as an extension form of proxy mode, is widely used in the design and development of frameworks (especially the AOP-based frameworks). This article will explain the implementation process of Java Dynamic proxy through examples. Tip:

Computing inaccuracy of floatdouble floating point numbers in Java

mul

Floating Point Calculation in JavaToday, we encountered a problem in numerical calculation. The program is as follows:Double A = (3.3-2.4)/0.1;System. Out. println ();You may think the result is very simple, not 9. Actually, the result is 8.999999998

Java. Lang. illegalargumentexception: resources cannot be null

Java. Lang. illegalargumentexception: resources cannot be null.Org. Apache. commons. validator. validator. (validator. Java: 188)Org. Apache. Struts. validator. Resources. initvalidator (resources. Java: 475)Org. Apache. Struts. validator.

Java concurrency-lock mechanism (iii) Locking Principle (lock. Lock)

From: http://www.blogjava.net/xylz/archive/2010/07/07/325410.html Next, this article starts with lock. Lock/unlock. In special cases, all programs, APIs, and documents are based on JDK 6.0. Public void java. util. Concurrent. locks. reentrantlock.

Total Pages: 6206 1 .... 924 925 926 927 928 .... 6206 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.