Apr 22nd, 2008 | 2008年4月22日| J2EE J2EE的 | No Comments沒有評論
java.net.BindException: Address already in use: JVM Bind is one of the most popular error among java developers and guys who do socket java.net.bindexception :地址已在使用中: JVM的約束是其中一個最熱門的錯誤之間的Java開發人員和球員誰做插座
programming in some other language too.編程在其他一些語言。 But with respect to java this error is much familiar with socket programming and during web development.但與尊重Java的這個錯誤是很多熟悉Socket編程,並在Web開發。 This error happens for ports 80 (HTTP) , 1098 (RMI) when it is used by other applications that is running on the same PC or server.這個錯誤發生的端口80 ( HTTP )的, 1098年( RMI的)時,這是其他應用程序使用的是運行在同一台PC或服務器。 So I am going to explain how to debug and solve this problem.因此,我會解釋如何調試和解決這個問題。
→ continue reading →繼續閱讀
Apr 1st, 2008 | 2008年4月1日| J2EE J2EE的 | No Comments沒有評論
Coding Standards play a vital role in the development of any software applications and development irrespective of the language that is used to develop the same.編碼標準方面發揮重要作用,在發展的任何軟件的應用和發展,不論語言,是用來發展相同的。 Every language whether it can be C, C++ or Java following the coding standards is must for any applications mainly to address bugs, memory leaks, performance issues and scalability.每一種語言,是否可以是C , C + +或者Java之後的編碼標準是必須為任何申請,主要是解決錯誤,內存洩漏,性能問題和可擴展性。 Since the style of coding may vary from language to language or developer to developer always there is always a degree of error in any software development.由於作風編碼可能會有所變動從語言到語言或開發,以開發始終始終存在著某種程度的誤差在任何軟件開發。 Most of the time the code gets crappy when multiple developers started working on the same piece of class or code and results in maintainability issues.大部分的時間代碼得到crappy當多個開發商開始工作就同一塊的階級或代碼和結果在維修的問題。 There is always a possbility of crap code present in any software application but the degree varies.總有一possbility的crap代碼,目前在任何應用軟件,但程度各有不同。 How crappy is your code ?如何crappy是你的代碼? Can somebody tell the degree of crappiness ?有人可以告訴程度crappiness ? The answer is Yes.答案是肯定的。 Alberto Savoia and Bob Evans of Agitar Labs which is a research division of Agitar Software came up with a solution called阿爾貝托savoia和Bob埃文斯agitar實驗室,這是一個研究部agitar軟件成立了一個所謂的解決方案 Crap4J crap4j framework for Java.框架的Java 。
→ continue reading →繼續閱讀
Mar 30th, 2008 | 2008年3月30日| J2EE J2EE平台 | No Comments沒有評論
The concept reverse engineering led to the invention of decompilers in the world of softwares and programming.的概念,逆向工程,導致發明decompilers在世界上的軟件和編程。 Decompilers in java is mainly used to covert the compiled object code back to source. decompilers在Java ,主要用於秘密編譯對象代碼回到源。 Decompilers often help programmers by helping them to recover the lost code from the compiled binaries. decompilers常常幫助編程人員,幫助他們收回失去的程式碼編譯的二進制文件。 Decompilation of java code or any code from some other languages need to undergo some steps like disassembly, program analysis, code analysis, structure rebuilding and code generation depending on the language or type of the code.解析Java代碼或任何代碼,從其他一些語言需要接受一些步驟一樣,拆卸,計劃分析,代碼分析,結構重建和代碼生成依賴於語言或類型的代碼。 But nowadays, decompilers are mainly used for software piracy and is used to steal copyrighted code rather than for legitimate use.但現在, decompilers主要用於盜版軟件是用來竊取受版權保護的代碼,而不是為合法使用。 We will discuss some of the best known decompilers for Java in this post.我們將討論一些最知名的decompilers為Java在這個職位。
→ continue reading →繼續閱讀
Mar 28th, 2008 | 2008年3月28日| J2EE J2EE的 | No Comments沒有評論
EJB’s popularly known as Enterprise Java Beans are one of the state-of-the-art feature of J2EE. EJB技術的通稱企業Java豆是一個國家- - -藝術特色的J2EE 。 EJB’s are mainly used for handling transactions, security, providing remote services etc. Even though lot of Object Relational Mapping Frameworks like Hibernate has replaced EJB’s which is considered to be so heavy in any Enterprise Application. EJB技術的,主要用來處理交易,安全,提供遠程服務等,即使有很多的對象關係映射框架一樣,休眠已取代的EJB的是被視為沉重的,所以在任何企業應用。 Invoking an EJB inside the Application Server Container is quite simple and process is not as tedious when you try to do the same from outside the Application Server.引用一個EJB的內部應用服務器的貨櫃相當簡單的過程是不是繁瑣的當您嘗試做同樣的從外部應用服務器。 Today I am going to explain how to invoke an EJB service which is deployed in a remote machine using a plain java client.今天我要說明如何引用一個EJB的服務,這是部署在遠程機器使用的一種樸素的Java客戶端。
→ continue reading →繼續閱讀
Mar 20th, 2008 | 2008年3月20日| J2EE J2EE的 | No Comments沒有評論
Err is human thats what we say.犯錯是人類這就是我們說什麼。 Unit Testing, Code Review are considered as some of the bugging terms in the current software industry.單元測試,代碼審查被視為一些竊聽條款,在目前的軟件產業。 It is because until now no software neither framework has been guranteed to be fool-proof or bug free.這是因為直至目前為止,沒有軟件既不框架已經保證是傻瓜-證明或錯誤,免費入場。 Testing of any software or an application can be done at two levels.測試的任何軟體或應用程式可以做在兩個層次上。 One at usability and functionality level ie.一,在可用性和功能水平,即。 nothing but black box testing.只不過是黑盒測試。 The second one is nothing but White box or glass box testing the internal structure of the application or software.第二個是什麼,但白色方塊或玻璃盒測試的內部結構,應用程序或軟件。 In terms of Electrical Engineering this kind of testing is called ICT (In Circuit Testing).在條款電機系這種測試是所謂的信息和通信技術(在電路測試) 。 The success of a software or application is much dependent on White box testing for a long run in terms of scalability, maintenance, load-factor etc. You can find lot of opensource and licensed frameworks available in the market to test the internal structure of the design, framework, code etc. For Java development open-source tools like Junit, PMD, Hamurapi are the prominent frameworks that has been used wide across the industry.成功的軟件或應用程序是在很大程度上取決於白色方塊測試一個長遠來說,條款的可擴展性,維修,負荷因子等,您可以找到很多開源和持牌框架可以在市場上,以測試內部結構的設計,框架,代碼等,為Java開發的開放源代碼工具,如junit , PMD的, hamurapi是突出的框架已經被用於廣泛的整個行業。 Now a new open-source framework called現在一個新的開放源代碼框架,所謂的 Enerjy enerjy joins the party.加入黨。
→ continue reading →繼續閱讀