Skip to main content

Home/ InfokeyDEV/ Group items tagged java

Rss Feed Group items tagged

Benx Shen

gotchas : Java Glossary - 0 views

  • A gotcha is a nasty surprise in the Java language or the standard libraries.
  •  
    Java 被認為不好設計的語言特性列表。 當然,Java肯定不是一個十全十美的程式語言,發現不好的設計,其實也是一種進步。看一看,究竟我們這些Java programmer算不算是在泥巴裡面打仗。
Benx Shen

Bertrand's weblog: When was this Java class compiled? - 0 views

  • When was this Java class compiled? Credits to Dmitry Beransky on the advanced-java@discuss.develop.com list. import java.util.Date; import java.io.IOException; public class When { public static void main(String args[]) throws IOException { Date d = new Date( When.class.getResource("When.class") .openConnection() .getLastModified() ); System.out.println("This class was compiled on " + d); } }
Benx Shen

Java object queries using JXPath - Java World - 0 views

  • Java object queries using JXPath Query complex Java object trees using the XPath expression language
涼鞋

探索 OSGi 框架的组件运行机制 - 0 views

  •  
    OSGi 框架为基于 Java 的组件开发提供了一套通用的和标准的解决方案,通过 OSGi 框架可以轻松实现组件信息的隐藏和共享。本文介绍了 OSGi 框架中的组件(Bundle)的运行机制,并结合实际示例加以说明,读者可以进一步深入了解 OSGi 框架的基本原理,并解决实际开发工作中遇到的类似问题。" /> 24072008zoucl@cn.ibm.com
Benx Shen

Preventing Java's java.lang.OutOfMemoryError: PermGen space failure | Eric's Agile Answers - 0 views

  • The "OutOfMemoryError: PermGen space" message is normally encountered during development activites where a long-running JVM is asked to load/unload builds.
  • The message is a symptom of an incomplete garbage collection sweep where resources are not properly released upon unload/restart. There is no shortage of debate (Hibernate forum, Sun forum, Spring Framework forum ) regarding which codebase is responsible for this symptom, but the finger of blame has been pointed at CGLIB, Hibernate, Tomcat, and even Sun's JVM.
  • In my experience, the most pain-free method of resolving this issue is to switch from Sun's JDK implementation to BEA's freely available JRockit implementation.
  • ...1 more annotation...
  • On a recent project utilizing Tomcat 5.5.12 with Hibernate, I was plagued with this PermGen error, at times even experiencing it during web-based unit testing. Since making the switch to JRockit, I have not encountered this issue even once.
  •  
    又是一位和我一樣都慘遭 "PermGen Space" 錯誤的開發者了!
    很奇怪,為何會發生這樣的錯誤呢?
    其中這篇文章所提到的技術,恰巧都是我現在所發生問題的架構,像是 Hibernate, Spring, Tomcat 等,還有 Sun JVM.... Orz
    比較特別的是,多數提供的解決方式,都是去調整 JVM 的設定(-XX:MaxPermSize=256m)。這位老兄則是採用了 BEA JRockit 版本的 JVM 解決此問題,他表示至少這招對他是管用的!
    不過,軟體開發很多時候都會發生這種「魔咒」,這種狀況底下,就好像一個並無可醫的人,只好嘗試各種偏方了!

Ching Yi Chan

Creating a Custom JMX Client (The Java™ Tutorials > Java Management Extension... - 0 views

  • Bean and JMX agent as were
  •  
    Chinese new year animals horoscope2016
    Happy Chinese new year 2016 messages & quotes
    Happy new year 2016 greetings for Chinese
    Chinese new year 2016 funny poems
Benx Shen

Java 7 路线图更新:反响强烈 - [Matrix - 与 Java 共舞] - 1 views

Ching Yi Chan

When Runtime.exec() won't - Java World - 0 views

  •  
    使用 java 執行外部程式的注意事項
Benx Shen

NetBeans 6.0預覽版讓Java開發者驚喜 - [Matrix - 與 Java 共舞] - 0 views

Benx Shen

Java 編程的動態性,第 1 部分: 類和類裝入 - 0 views

Ching Yi Chan

Java Tip 17: Integrating Java with C++ - JavaWorld - 0 views

  •  
    Chinese new year animals horoscope2016
    Happy Chinese new year 2016 messages & quotes
    Happy new year 2016 greetings for Chinese
    Chinese new year 2016 funny poems
1 - 20 of 136 Next › Last »
Showing 20 items per page