CSSBox is an (X)HTML/CSS rendering engine written in pure Java. Its primary purpose is to provide a complete and further processable information about the rendered page contents and layout. However, it may be also used for browsing the rendered documents in Java Swing applications. http:...【阅读全文】
Pico container or google-guice. See a comparison here.Btw, few people will call spring "ligthweight", but it can be used as such with only the basic features. Hence it's included in the above comparison.http://stackoverflow.com/questions/5332041/lightweight-ioc-cont...【阅读全文】
今天因为客户的一个小需求,要获取用户打开系统的数量,看看一般用户会启动多少个客户端,用JNI太麻烦,想java应该也会有类似的底层代码提供,虽然应用不是很广泛,但是一般的用户电脑也足矣!下面是具体的实施代码:public class Test { public static void main(String[] args) { ...【阅读全文】