Apr 22nd, 2008 | أبريل 22nd ، 2008 | 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 تربط هو احد اكثر الوسائل الشعبية لخطأ بين مطوري جافا والرجال من القيام المقبس
programming in some other language too. البرمجه في بعض اللغات الاخرى ايضا. But with respect to java this error is much familiar with socket programming and during web development. ولكن فيما يتعلق جافا هذا الخطأ الكثير من المآخذ على درايه خلال البرمجه وتطوير الشبكه. 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 (بروتوكول انتقال النص المتشعب) ، 1098) وجمهورية جزر مارشال) عندما يستخدم من قبل تطبيقات اخرى ان يعمل على نفس الكمبيوتر او الخادم. So I am going to explain how to debug and solve this problem. حتى وانا ذاهب الى شرح كيفية التصحيح ولحل هذه المشكلة.
→ continue reading → مواصلة القراءة
Apr 1st, 2008 | أبريل 1st ، 2008 | 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. كل لغة ما اذا كان يمكن ان تكون ج ، ج + + او جافا عقب ترميز المعايير يجب ان اي طلبات لاساسا لمعالجة الخلل ، والتسرب في الذاكرة ، قضايا الأداء وتطويره. 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 هذا القانون في اي تطبيق البرامج الحاسوبيه ولكن تختلف درجة. 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 وبوب ايفانز agitar من مختبرات البحث الذي هو شعبه من البرامج agitar خرجت دعا الى حل Crap4J Crap4j framework for Java. في اطار لغة جافا.
→ continue reading → مواصلة القراءة
Mar 30th, 2008 | مار 30th ، 2008 | 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 في يافا هو اساسا تستخدم لتجميع وجوه خفية فان قانون العودة الى المصدر. 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. Decompilation جافا للقانون او اي قانون من بعض لغات اخرى الحاجة الى الخضوع لبعض الخطوات مثل التفكيك ، وبرنامج التحليل ، وقانون التحليل ، واعادة بناء هيكل توليد الشفره اعتمادا على لغة او نوع من القانون. 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 لجافا في هذا المنصب.
→ continue reading → مواصلة القراءة
Mar 28th, 2008 | مار 28th ، 2008 | J2EE تنافسية | No Comments لا يوجد تعليقات
EJB’s popularly known as Enterprise Java Beans are one of the state-of-the-art feature of J2EE. Ejb 'sالمعروفة المشاريع جافا الفول هي واحدة من الدول - من احدث سمة من سمات تنافسية. 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 الخدمة التي تنتشر في الجهاز عن بعد باستخدام جافا سهل العملاء.
→ continue reading → مواصلة القراءة
Mar 20th, 2008 | مار 20th ، 2008 | J2EE تنافسية | No Comments لا يوجد تعليقات
Err is human thats what we say. أخطأ هو الانسان thats ما نقول. 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. ونجاح اي برامج او تطبيق الكثير مما تعتمد على صندوق الابيض لاجراء التجارب على المدى الطويل من حيث التطوير والصيانة ، وما الى عامل تحميل - يمكنك ان تجد الكثير من الأطر ومرخصه مفتوح المتاحة فى السوق لاختبار البنية الداخلية لل تصميم الاطار ، وما الى ذلك ، لقانون التنمية جافا المفتوحه المصدر مثل ادوات JUnit ، pmd ، hamurapi هي ابرز الاطر التي استخدمت على نطاق واسع فى جميع انحاء الصناعة. Now a new open-source framework called الان جديد في اطار المصدر المفتوح ودعا Enerjy joins the party. لينضم الى الحزب.
→ continue reading → مواصلة القراءة