Skip to main content

Home/ InfokeyDEV/ Group items tagged Com

Rss Feed Group items tagged

12More

Classless Inter-Domain Routing - Wikipedia, the free encyclopedia - 5 views

5More

Tomcat 實用小技巧-Tomcat-Java - 3 views

3More

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

4More

Fast Code Eclipse Plugin - 5 views

2More

alive優生活-玩樂祕境-活動首頁 - 3 views

4More

John Resig - JavaScript as a Language - 2 views

  • I think we"ve seen the JavaScript language move through many individual phases: The "We need scripting for web pages" phase. (Netscape) The "We should standardize this" phase. (ECMAScript) The "JavaScript isn"t a toy" phase. (Ajax) The "JavaScript as a programming language" phase.
    • Benx Shen
       
      John Resig 認為,Javascript 歷經了這些成長階段: 1. "網頁所需的腳本(script)語言" (網景 Netscape) 2. "標準化" (ECMAScript) 3. "不只是玩具" (Ajax) 4. "成為真正的程式語言" (!?)
6More

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 解決此問題,他表示至少這招對他是管用的!
    不過,軟體開發很多時候都會發生這種「魔咒」,這種狀況底下,就好像一個並無可醫的人,只好嘗試各種偏方了!

5More

Use Case 中 include 與 extend 的區別 - 0 views

    • Benx Shen
       
      include 是指用例中的包含關係,通常發生在多個用例中,有可以提取出來的公共部分(就像提取公因式一樣),例如 UseCaseA 中包括了 a 和 b 兩個流程,而 UseCaseC 中包含了 c 和 b 兩個流程。
    • Benx Shen
       
      extend 則恰好相反。假設 UseCaseA 的功能描述為"發送一條通知",可是,發送通知的方式可能有許多種,例如通過郵件發送、通過短信發送等。在需求分析階段,可能無法明確到底有多少種方式,在用例分析階段,UseCaseA 需要留出擴展接口,然後把已知的發送方式作為擴展用例給出,例如 UseCaseB 是"通過短信發送",而 UseCaseC 是"通過郵件發送"
3More

InfoQ: Simple JAVA and .NET SOA interoperability - 0 views

2More

Interoperating With COM from .NET applications (COM Interop) - 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
2More

gotAPI/JavaScript DOM - Instant search in JavaScript DOM and other developer documentation - 1 views

2More

Fundamentals of ATL COM Objects (ATL) - 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
2More

Using C# Classes as COM Objects - 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
5More

分析java.lang.OutOfMemoryError: PermGen space - 0 views

  • 發現很多人把問題歸因於: spring,hibernate,tomcat,因為他們動態產生類,導致JVM中的permanent heap溢出 。然後解決方法眾說紛紜,有人說升級 tomcat版本到最新甚至乾脆不用tomcat。還有人懷疑spring的問題,在spring論壇上討論很激烈,因為spring在AOP時使用CBLIB會動態產生很多類。
  • 於是有人對更基礎的JVM做了檢查,發現了問題的關鍵。原來SUN 的JVM把內存分了不同的區,其中一個就是permenter區用來存放用得非常多的類和類描述。
  • 對這個bug最徹底的解決辦法就是不要用SUN的JDK,而改用BEA的 JRokit.
1 - 20 of 3617 Next › Last »
Showing 20 items per page