Many would think at this point I am talking about better AJAX support in the core. اعتقد ان الكثيرين في هذه المرحلة وانا اتكلم عن افضل لتقديم الدعم في اجاكس الاساسية. While we do need better support for AJAX and I am not talking about DWR, I don’t think that’s what ails Java in its quest for being . وبينما نحن في حاجة الى دعم افضل للاجاكس وانا لا اتحدث عن dwr ، لا اعتقد ان هذا هو ما يمرض جافا في سعيه الى تحقيق يجري. At the end we will look at two ways in which we can overcome this problem. في نهاية وسنتطرق في اثنين من الطرق التي يمكننا التغلب على هذه المشكلة.

Java is taking a beating in better mass adoption against PHP simply because it is harder to setup in web hosting environment. جافا اتخاذ الضرب في اعتماد افضل الجماعية ضد بي. اتش. بي لسبب بسيط هو انها اكثر صعوبة في الاعداد لاستضافة المواقع والبيئة. PHP and even Ruby is available as an Apache module which is very trivial to setup and use. بي. اتش. بى وحتى روبي متاح بوصفه وحدة اباتشي التي تافهه جدا لاعداد واستخدامها. JSP / Servlets on the other hand is much harder to integrate with Apache. التخطيط الاستراتيجي المشترك / Servlets ومن ناحية اخرى هي اكثر صعوبة في الاندماج مع اباتشي.

Why Apache is the the key to Web 2.0 adoption? لماذا اباتشي هي المفتاح لاعتماد شبكة 2،0؟
Apache is the most popular web server, known for its stability and ease of use. اباتشي هو الأكثر شعبية لخادم الويب ، وهو المعروف استقرارها وسهولة الاستخدام. It is cross platform. ومن للمرور. Most Web 2.0 companies and products rely on Apache as their web server and for right reasons. الويب 2،0 معظم الشركات والمنتجات التي تعتمد على اباتشي هو ملقم الويب وللاسباب الصحيحه.

What are the problems of Java in Apache Integration? ما هي مشاكل التكامل اباتشي في جافا؟
Complexity in short. تعقد في القصير. Tomcat is probably the most popular JSP, Servlet container for most organizations. قط على الارجح الاكثر شعبية التخطيط الاستراتيجى المشترك ، Servlet حاويه لمعظم المنظمات. Tomcat is free (which aids its popularity) and developed under the Apache organization. قط مجاني (التي شعبيتها متلازمه نقص المناعه المكتسب) وأباتشي وضعها في اطار المنظمه. I would have expected both these products to be tightly integrated. الأول يتوقع ان يكون كل من هذه المنتجات لتكون متكاملة باحكام. In reality it is a nightmare from hell to even begin. في حقيقة الأمر هو كابوس من الجحيم حتى البدء. I wouldn’t say there aren’t any documents. لن اقول انه لا توجد اي وثائق. There are وهناك few قليل confusing التشويش ones which leads to more questions than answers. منها مما يؤدي الى اسءله اكثر من الاجوبه. What we lack is a clear simple guideline to integrate the two. وما ينقصنا هو واضح بسيط المبدأ التوجيهي لدمج اثنين.

Solutions الحلول
Previouly I had described a much simpler way to Previouly كان لي وصفا لطريقة لأبسط بكثير integrate Tomcat 5.5 with Apache 2.x دمج 5،5 قط مع اباتشي 2.x , in just 5 steps. ، في 5 خطوات فقط.

However we need to move further. ولكن نحن بحاجة الى مزيد من التحرك. We need to make Java Servlet container as easily integratable as php or ruby . اننا بحاجة الى جعل جافا Servlet الحاويات بسهولة كما integratable بي. اتش. بى او روبي. Running a separate Tomcat instance may not be an acceptable solution to many web hosting providers. أدارة منفصلة قط المثال قد لا تكون حلا مقبولا لكثير من مقدمي خدمات استضافة المواقع. We need to be able to run Tomcat within Apache itself, use its threads. نحن بحاجة الى ان تكون قادرة على تشغيل اباتشي قط داخل نفسه ، باستخدام الخيوط. In the distant past there was another Apache project JServ which did that. في الماضي البعيد كان هناك مشروع آخر اباتشي jserv الذي فعل ذلك. Later it was discontinued in favor of Tomcat. وقد اوقف في وقت لاحق انه في صالح قط. Tomcat is powerful but most small developers do not need its full gamut of capabilities. قط قوية ولكن معظم مطوري الصغيرة لا تحتاج الى سلسلة كاملة من قدرات. Most of them would be happy with a smaller subset which is available everywhere, even on one dollar hosting . ومعظمهم من سيكون سعيدا مع اصغر فرعية وهي متاحة في كل مكان ، حتى على دولار واحد في الاستضافه.

And finally Sun and java community needs to approach web hosting providers and make the language ubiquitous in every hosting platform, big or small. واخيرا والشمس وجافا ويحتاج المجتمع الى نهج استضافة المواقع ومقدمي الخدمات وجعل اللغة التي تستضيف في كل مكان في كل منهاج ، كبيرة او صغيرة. Apachefriends has done an admirable job with XAMPP for LAMP community and has made Tomcat 5.5 available with its simplified LAMP installation. Apachefriends قامت به عملا يدعو للاعجاب مع xampp لمصباح المجتمع ، وجعلت قط 5،5 المتاحة مع تركيب مصباح مبسطه. Now if only we could package Java with all Linux and BSD installations by default… الآن ولو اننا فقط يمكن ان مجموعة لينكس جافا مع جميع المنشآت وبي اس دي افتراضيا…