« Home « Chủ đề java

Chủ đề : java


Có 40+ tài liệu thuộc chủ đề "java"

Addison Wesley - Effective Java Programming Language Guide

tailieu.vn

If you are not, consider one of the many fine introductory texts [Arnold00, Campione00]. When discussing features of the Java programming language and its libraries, it is sometimes necessary to refer to specific releases. A class whose implementation uses an API is a client of the API.. This gives you great flexibility in choosing the class of the returned object.....

Addison Wesley - The Design Patterns Java Companion (1998)

tailieu.vn

Creating an Instance of the Class 32. Consequences of the Builder Pattern 44. Consequences of the Prototype Pattern 50. Consequences of the Bridge Pattern 93. Consequences of the Composite Pattern 100. Consequences of the Decorator Pattern 110. Consequences of the Façade 115. Consequences of the Chain of Responsibility 138. Consequences of the Command Pattern 143. Consequences of the Interpreter Pattern...

Generics in the Java Programming Language

tailieu.vn

Here is a version of the program fragment given above using generics:. The compiler can now check the type correctness of the program at compile-time. Here is a small excerpt from the definitions of the interfaces List and Iterator in pack- age java.util:. public interface List<E>. Iterator<E>. public interface Iterator<E>. Those are the declarations of the formal type parameters of...

Java network programming, 2nd edition

tailieu.vn

The most obvious change to the first edition is that all of the examples have been rewritten with the Java 1.1 I/O API. Organization of the Book. Parsing and rendering HTML is one of the most difficult. You should be thoroughly familiar with the syntax of the language. You should also be an accomplished user of the Internet. Indeed, in...

Java Programming Unleashed

tailieu.vn

In order for users to use Java content, they must have a key piece of Java software—the Java. Thus, Java-enabled browsers “see” the Web plus more—applications written using Java. Numerical Simulation of the Lorenz Equations. Thus, Java profoundly changes the texture of the Web in the following ways: </P>. around the text of the document’s title. This is the body...

Language Features of Java Generics

tailieu.vn

Generics adds substantial expressive power to the Java programming language. Editor's Note: This is the second of two installments presenting an overview of Java Generics, a new language feature that will be supported in the upcoming release of Java 2 Platform, Standard Edition 1.5. installment—"Language Features of Java Generics,". Static and nonstatic methods as well as constructors can be parameterized...

O'Reilly - Java & XML, 2nd Edition

tailieu.vn

11.4 The Real World. 14.1 The Foobar Public Library. in the U.S. They are afraid of the perception that XML is. Instead, it focuses on the structure of the document. The content of the document and the elements and attributes used remain up to you. One of the most important layers to any XML-aware application is the XML parser. The...

O'Reilly - Java Cookbook

tailieu.vn

In older versions of Java you had to set your CLASSPATH to include ".". classpath="../com-darwinsys-util.jar"/>. System.out.println("Hello, World ");. System.out.println("Life is a voyage, not a destination");. bug # 1 System.out.println(n);. bug #2 System.out.println(name. 8 System.out.println(n);. System.out.println("Hello, World");. System.out.println(msg);. System.out.println("System Properties:");. p.list(System.out);. System.out.println(. System.out.print("Options: ");. System.out.println("Inputs: ");. System.out.println(fileName. System.out.println(". System.out.print(". fileName.endsWith(".gif") and extension.equals(".gif") (and the equivalent. ".gif".equals(extension)) are commonplace.. System.out.println(a);. System.out.println(b);. System.out.println(c);....

O'Reilly - Java Message Service

tailieu.vn

4.4 Publishing the Message Persistently. The constructor of the Chat class starts by obtaining a connection to the JNDI naming service used by the JMS server:. The TopicConnectionFactory provides two overloaded versions of the. The behavior of the no-arg method depends on the JMS provider. The TopicConnection represents a connection to the message server. Here is the definition of the...

O'Reilly - Java Reference Library

tailieu.vn

Part III: Programming with the Java 1.1 API. Chapter 9: Exception Handling Chapter 10: The java.lang Package. Container : The java.awt Package Container class : (Reference page) Dialog class : (Reference page). The java.util.zip Package (Reference page). The java.util Package (Reference page) bitwise operators Operators. The java.lang Package (Reference page). Handling Local Customs The java.text Package (Reference page). (Reference page)...

O'Reilly - Java Swing

tailieu.vn

3.2 Sending Change Events in Swing 3.3 The JComponent Class. Bounded Range Components - 112 6.1 The Bounded-Range Model. 6.2 The JScrollBar Class 6.3 The JSlider Class 6.4 The JProgressBar Class 6.5 Monitoring Progress 7. 7.2 Representing List Data 7.3 Handling Selections 7.4 Displaying Cell Elements 7.5 The JList Class. Swing Dialogs The JDialog Class 10.2 The JOptionPane Class. 11.2...

Struts in Action

tailieu.vn

2 Exploring the Struts architecture 29. 4.2 The web application deployment descriptor 107 The web.xml file 107 ■ ActionServlet parameters 110 4.3 The Struts configuration 113. 4.4 The Struts configuration elements 116. Rolling your own 126 ■ A skeleton Struts config 127 4.5 The application resources file 128. 4.7 Configuring the Struts core 133. 6.6 Why doesn’t the address bar...

O'Reilly - Java Servlet Programming

tailieu.vn

The Servlet API. The Servlet Life Cycle. The Servlet Alternative. The Server. and with its WebSite server, O’Reilly Software promoted the use of a tech- nology it (only coincidentally) dubbed “servlets.” The drawback: each of these technologies was tied to a particular server and designed for very specific tasks.. You can also see many of the servlets in action at...