What Java Needs Most To Be The Preferred Web 2.0 Language اكثر ما يحتاج الى جافا المفضل ان تكون لغة الويب 2،0
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… الآن ولو اننا فقط يمكن ان مجموعة لينكس جافا مع جميع المنشآت وبي اس دي افتراضيا…
Filed under المقدم بمقتضى Headline News أهم الانباء , ، Java Software برنامج جافا , ، Technology التقنيه , ، Web شبكة , ، Web Hosting استضافة المواقع , ، Web Services خدمات الشبكه العالمية | |
| |
RSS 2.0 ار اس اس 2،0 | |
Trackback this Article | هذه المادة |
Email this Article ارسل هذه المادة
You may also like to read ويمكنك ايضا ان تقرأ |





September 26th, 2006 at 5:11 am ايلول / سبتمبر 26th ، 2006 في الساعة 5:11
Totally agree. اتفق تماما. I remember my first xml/jsp project on JServ for Onstar. اتذكر لقائي الاول لغة الترميز القابلة للامتداد / jserv على مشروع التخطيط الاستراتيجى المشترك للonstar. Part of what Java needs IMO is the same groundswell from the developers who use php , ruby, etc. Targeting the “enterprise” developer is not enough. ما هي جزء من احتياجات جافا المنظمه البحرية الدولية هي نفسها في شكاوى من المطورين من استخدام بي. اتش. بى ، روبي ، وما استهداف "المءسسه" المطور لا يكفي.
September 26th, 2006 at 8:59 am ايلول / سبتمبر 26th ، 2006 في الساعة 8:59
JServ ran in a separate process from Apache and used an apache mod connector, just like Tomcat does. Jserv يتعارض في عملية منفصلة من اباتشي واستخدم اباتشي الموصل وزارة الدفاع ، مثلهم مثل هل قط. Remember mod_jserv? تذكر mod_jserv؟ It performed exactly the same function as mod_jk, but much more limited. انها أنجزت تماما بنفس وظيفة mod_jk ، ولكنه محدود اكثر بكثير. It was no joy to configur either. وقال انه ليس لconfigur اما الفرح.
The difficulty with running Tomcat IP with Apache is you can’t run Java code inside another process. وتتمثل الصعوبه في ادارة الملكيه الفكريه قط مع اباتشي انت لا يمكن تشغيل جافا قانون آخر داخل العملية. You have to start up a VM as its own process and then use IPC to communicate between Apache and Tomcat. لديك لبدء الآلة الافتراضيه الخاصة بها كما وبعد ذلك استخدام عملية التصنيف على الاتصال بين اباتشي وقط. It’s certainly something Sun could address with the VM, but I haven’t heard anything about them moving in that direction. ومن المؤكد ان الشمس يمكن ان يتناول شيئا مع الآلة الافتراضيه ، ولكن لم اسمع عنهم شيئا في هذا الاتجاه.
Besides, large companies tend to choose to separate their app server and web server functions on different machines. وعلاوة على ذلك ، الشركات الكبيرة تميل الى اختيار لفصل تشغيل التطبيق على الخادم وخادم الويب وظائف على مختلف الآلات. That way you can protect database servers or other protected resources from being accessed and attacked on the web server. وبهذه الطريقة يمكنك من خلالها حمايه خوادم قاعدة البيانات المحميه او غيرها من الموارد والوصول الى هجوم على خادم الويب. So it’s primarily smaller shops or individiual developers that would benefit from merging the web server and app servers. ولهذا يكون من المناسب في المقام الأول أو محلات اصغر individiual المطورين التي يمكن ان تستفيد من دمج ملقم الويب وخدمة خطط الشراء السنويه.
September 26th, 2006 at 9:20 am ايلول / سبتمبر 26th ، 2006 في الساعة 9:20
> Remember mod_jserv? > Mod_jserv تذكر؟
Yes, I do نعم ، أنا أعمل
> So it’s primarily smaller shops or individiual developers that would benefit from merging the web server and app servers. > ولهذا يكون من المناسب في المقام الأول أو محلات اصغر individiual المطورين التي يمكن ان تستفيد من دمج ملقم الويب وخدمة خطط الشراء السنويه.
Not just smaller shops (who aren’t an insignificant segment either) but also bigger shops who want to test the water’s. وليس فقط محلات اصغر (من ليست ضءيله اما الجزء) ولكن ايضا نريد من اكبر المحلات التجارية لاختبار الماء. For better mass adoption any language shouldn’t be restricted to bigger houses only but even be easily accessible to mom-and-pop ecommerce sites too. للاعتماد الجماعي على نحو أفضل بأي لغة لا ينبغي ان يقتصر على المنازل فحسب ، بل أكبر حتى يكون من السهل التوصل الى امي وشاشة عرض المواقع الالكترونيه ايضا.
Take for example blogging softwares. تأخذ على سبيل المثال برامج المدونات. There are high quality java blogging software available for free and yet most of us use WordPress or MovableType / Typepad. وهناك جودة عالية جافا بلوغغينغ البرمجيات المتاحة للحرية ولكن اكثر منا استخدام WordPress او MovableType / typepad. Why? لماذا؟ Because they are easy to setup and use. لانها سهلة الاستخدام والاعداد.