Problem
Novice Java friends are likely to encounter a lot of problems, the following collection of some for reference.
from: Java Club
1. Ask What do application and applets each refer to? Is there a difference in use?
Data | database
added: In the actual project development process, it is necessary to put the JDBC driver package (Xxx.jar) of various databases under the project's Web module in the Lib folder (recommended) or under the application server
Java provides the BufferedReader class used to read strings from the stream, and FileReader classes to read files. We use these two classes to read the strings in the file.
Here is an example:
Import Java.io.BufferedReader;Import
How to take the file name and line number in the Java source code file:
In the C + + program, the compiler provides two macros to support the acquisition of line numbers and file names in the source file, the two macros are __file__,__line__
You
The following is a discussion of array sorting and search capabilities, while a common approach is to implement the comparable interface, a method that needs to be implemented through Java generics. Here's a step-by-step explanation of why, and how
Today we do some basic work on some of the design patterns in Android development, and we analyze the architecture design of the Android project:
1. Static Factory method
Static Factory method can be regarded as a factory method plus the
J2ee
second, the development of the first EJB
3 enterprise beans are defined in the EJB2.0 specification. Sessions beans (session beans), entity beans (Entity beans), and message-driven beans (messages driven beans), respectively. The session bean
servlet| Data | database | database connection keywords: Servlet connection pool
Author: Jrq
Body:
Test Web Application Environment: Win2K Pro + Tomcat 5.0
Note the order in which the servlet and connection pools are deployed in the Web.xml file
Servlet Glossary
Bytecode
BYTE code: Machine code generated by the Java compiler and Java interpreter.
Cookies
Data created by a Web server that is stored on the user's computer and provides a way for a Web site to track the user's parameters and
Related communities: Sun official Chinese community http://gceclub.sun.com.cn Csdn-java Community http://community.csdn.net/expert/deeptree/RoomForum.asp? BIGROOMID=54 Sunjava Certified Community
Question | Chinese I'm going to say how Tomcat realizes the JSP you know.
Preliminary knowledge:
1. Bytes and Unicode
The Java kernel is Unicode, even the class file, but many media, including how files/streams are saved
Is the use of Word
Data | Database When we do information systems, we have to access the database, I recently took over a project, the project team decided to write in Java, I am responsible for the design and coding of the data layer, in order to improve the reuse of
Compiling four, p code instructions
Because the system is simpler, the underlying hardware is simplified:
1, there is no register, only one data stack
2, only the main memory for storage, access operations
3, only support main memory indirect
Solve | Chinese
4. Classification of Chinese problems and the optimal solution
After understanding the principle of Java processing file, we can put forward a set of optimal solution to the problem of Chinese characters.Our goal is: we edited in
Design One, primer
In fact, there is no good example to introduce the interpreter pattern, because it describes how to form a simple language interpreter, the main application in the use of object-oriented language development compiler; In
The scalability of performance IO APIs is of great importance to Web applications. In the previous API for Java version 1.4, blocking I/O was disappointing to many people. Starting with the J2SE 1.4 version, Java finally has a scalable I/O API. This
Solve the problem if the application system is oriented to many languages, it is necessary to solve the problem of internationalization in programming, including the style of the Operation interface, the version of the prompt and help language, the
Data | Data type Java In addition to binary files and the use of text files and data based operations, where data refers to the Java basic data types and string. Basic data types include byte, int, char, long, float, double, Boolean, and
xml| generate XML in general, as soon as we mention XML, most of the problems are focused on parsing XML and XML structures. In this type of technology, the world's Business consortium proposes DOM and sax specifications to parse data, Sun provides
Optimizing the memory usage of application code is not a new topic, but people usually don't understand it well. This article will briefly describe the memory usage of the Java process, and then delve into the memory usage of the Java code that you
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