Discussion on Java and. net

The evening before yesterday, I published the article "Java cross-platform is a lie.", It was originally a weekend of no time. I published a slightly controversial blog post to make everyone have a quarrel and express my views. I didn't even think

Small Example of Java-controlled automatic PDF printing

CopyCodeThe Code is as follows: public byte [] autoprintpdf (byte [] pdf_byte ){ Bytearrayoutputstream Bos = NULL;Try {Pdfreader reader = new pdfreader (pai_byte );Bos = new bytearrayoutputstream ();Pdfstamper PS = new pdfstamper (reader, Bos

Java data type conversion

Some beginners may encounter difficulties in converting data types in Java, such as conversions between integers, float, and double, and between integers and strings, and Handling and displaying time issues. Below I will introduce some experiences

Java reflection Summary

1 Java reflection is actually to find the complete information of a class through an instantiated object, for example, for the following form:X = new x ();X. getclass (). getname ();The complete information of the class is output here, that is,

Java-self-built online bookstore (1)

Technical Exchange, DH explanation.For some reason, I plan to create a JSP online bookstore. It must be quite simple if I do it myself.Environment: myeclipse8.5 + mysql5Framework: STRUTS + JDBCThese are all preliminary predictions. The database has

Java: schema + xmlbeans (2)

Writing XML by hand is a very painful task. Writing schema by hand is even more painful, that is, using xmlspy, or something that cannot be written, such as complicated data restrictions. Xmlbeans is a Java Bean generation tool donated by BEA to

[Java] several applications of annotation metadata

  After tiger was out of the cage, annotation became a small highlight. Despite the suspicion of plagiarism. net, it makes Java developers much more convenient. Ejb3.0 and hibernate annotation are based on this. The following is an automatic log/

[Java] fleco (flash + echo) Ideas

Echo uses pure JavaCodeGenerate the browser HTML interface and respond to Customer Events.Due to some inherent features of HTML, the interface is as beautiful as flash. So is Echo's server side event mechanism + flash a good combination? Let's

[Java] izpack3.7.2 installation and production tool Chinese problem solving

Izpack is an open-source installation and production tool written in Java. The things made are basically quite satisfactory.Many Chinese problems encountered during use are solved as follows:1. garbled characters on the Chinese interface:Modify CHN.

Java and Mode

This book is one of my favorite books. Many people say that it is too thick and must have been very tired. In fact, at the beginning of my purchase of this book, I think so too, and I found that many of the content in the book is repeated. What's

* Complete the first Java program (a window framework of jogl)

Today, I finally got out of the box (usually a lot of time, but I used it to eat and play games). I implemented this simple framework, but it was still a beta version, it's just a place where render is stored, so there's no way to handle events.

Settings and functions of java_home path classpath in Java environment variables

Today, I set the Java environment variable again. I suddenly found that every setting was completed step by step. I didn't know why I needed it. So I searched for it online and found it again.ArticleAnd leave it.Only for record learning. Transferred

Java intermittent interruption-JUnit unit test

JUnit best practices: 1. Create a separate unit to test the SRC folder. The package structure is consistent with the official SRC folder. In this way, the generated class file and the official file are placed in the same place, this facilitates

Java parses XML documents -- DOM parses XML

I. PrefaceThere are two common methods to parse XML documents using Java: Simple API for XML) the Document Object Module, known as Sax and the Document Object Model Based on trees and nodes, is called Dom. Sun provides the Java API for XML parsing

Java Web Server Jetty

Home page: Http://jetty.codehaus.org/jetty/   Reference: Http://blog.csdn.net/zhaozheng7758/article/details/6101346 Http://www.cnblogs.com/lexus/archive/2011/08/23/2150191.html Http://www.cnblogs.com/yangchao/archive/2011/03/26/2044393.html

Java transaction note

Summary of ibatis, connection pool, and transactions: 1. ibatis works with proxool. Session. close () does not actually call connection. close (). proxool replaces the connection by entrusting a dynamic proxy. close () implementation, must call

We recommend a series of articles on the special issue of AOP by AOP @ WORK, mainly about the implementation of AOP in Java. After all, the implementation of AOP in Java is indeed comparable. net is much more mature, a total of 12 articles

Http://www-128.ibm.com/developerworks/library/j-aopwork1 Http://www-128.ibm.com/developerworks/library/j-aopwork2 Http://www-128.ibm.com/developerworks/library/j-aopwork3 Http://www-128.ibm.com/developerworks/library/j-aopwork4

Multi-thread explanation based on Java Review

A thread is the basic unit of operation in the operating system. It is encapsulated in a process. A process can contain multiple threads. Even if we do not manually create a thread, the process will have a default thread running. For JVM, when we

Introduction to the join method of java threads

In the preceding example, the join method of the Thread class is used multiple times. I think you may have guessed what the function of the join method is. Yes, the function of the join method is to convert the asynchronous thread into synchronous

Js front-end display back-end JAVA data response by PAGE

I haven't written any code for a long time, and my hands are itchy. The implementation of some functions of my younger siblings has really affected the project progress, so I wrote a piece of code myself. Function: Display js frontend by PAGE +

Total Pages: 6206 1 .... 2356 2357 2358 2359 2360 .... 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.