این مقاله شامل 43 صفحه می باشد .
This HOWTO document explains how to set up your server to allow CGI programs written in Java and how to use Java to write CGI programs. Although HOWTO documents are targetted towards use with the Linux operating system, this particular one is not dependant on the particular version of unix uses. |
اين مدارك How To چگونگي تنظيم سرور براي ميسر ساختن برنامه هاي CGI نوشته شده به زبان جاوا و چگونگي استفاده ازJava در نوشتن برنامه هايJava را شرح ميدهد. اگرچه هدف مستندات How To، اسفاده آن با سيستم عملLinux است، اين مورد خاص به نسخه خاصي از unix مورد استفاده وابستگي ندارد. |
1. Introduction |
1- مقدمه |
|
|
|
|
|
|
|
|
2. Setting Up Your Server to Run Java CGI Programs (With Explanations) |
2- تنظيم سرور براي اجراي برنامه هاي Java CGI (با توضيح) |
·2.1. System Requirements |
|
·2.2. Java CGI Add-On software |
|
|
|
|
|
|
|
3. Setting Up Your Server to Run Java CGI Programs (the short form) |
3- تنظيم سرور براي اجراي برنامه هاي Java CGI (خلاصه)
|
4. Executing a Java CGI Program |
4- اجراي يك برنامه Java CGI
|
·4.1. Obstacles to Running Java – Programs Under the CGI Model |
|
|
|
5. Using the Java CGI Classes |
5- استفاده از كلاس هاي Java CGI |
·5.1 CGI |
|
·5.2. CGI _ Test |
|
·5.3. Email |
|
·5.4. Emal_ Test |
|
·5.5. HTML
|
|
·5.6. HTML _ Test |
|
·5.7. Text |
|
6. Future Plans
|
6- طرح هاي بعدي |
7. Changes |
7- تغييرات |
·7.1. Changes from 0.4 to 0.5 |
|
|
|
·7.3 Changes from 0.2. to 03
|
|
|
|
1. Introcuction |
1- مقدمه |
Because of the way that Java is designed the programmer does not have easy access to the system’s environment variables. Because of the way that the Java Development Kit (JDK) is set up, it is necessary to use multiple tokens to invoke a program, which does not mesh very well with the standard HTML forms/CGI manner of operations. There are ways around these limitations, and I have implemented one of them. Read further for details. |
به دليل روشني كهJava طراحي مي شود، برنامه نويس دسترسي آسان به متغيرهاي محيط سيستم ندارد. به دليل روشي كه جعبه توسعه (JDK) تنظيم مي شود، استفاده از نشانه هاي چندگانه در استنتاج يك برنامه جديد ضروري است كه به خوبي با قالب هاي استاندارد HTML روش CGI عمليات ها مطابقت ندارد. راه هايي در اين محدوديت ها وجود دارد، يكي از آنها را پياده سازي كردم. بعداً جزئيات را مطالعه كنيد.
|
Since I wrote the previous paragraph in 1996 , there have been many changes in the Java technology. It is likely that a better solution to running server – side Java programs is now available – perhaps your should take a look at servlets. |
از آنجا كه پاراگراف قبلي را در 1996 نوشتم، تكنولوژيJava تغييرات زيادي يافته است. احتمالاً روش بهتري براي اجراي سرور وجود دارد، اكنون برنامه هاي جانبي جاوا در دسترس مي باشد، شايد به سروست ها نظري اندازيد. |
1.1. Prior Knowledge |
1-1- آگاهي قبلي |
I am assuming that you have a general knowledge of HTML and CGI concepts and at least a minimal knowledge of your HTTP server. You should also know how to program in Java, or a lot of this will not make sense. |
فرض مي كنيم كه آگاهي عمومي و كلي از مفاهيم HTML, CGI و حداقل، معلومات اندكي از سرورHTTP خود داريد. همچنين بايد چگونگي برنامه نويسي به زبانJava را بدانيد با مقدار زيادي از اينها معقولانه به نظر نمي رسد. |
1.2 This Document |
2-1- اين مدرك
|
The latest version of this document can be read at http://www.orbits.com/software/Java_CGI.html. |
آخرين نسخه اين مدرك را مي توان در سايت http://www.orbits.com/software/ Java-CGI.html خواند. |
1.3 The Package |
3-1- بسته بندي |
The latest version of the package described here can be accessed via anonymous FTP at ftp://ftp.orbits.com/pub/software/java_cgi-0.5.tgz. The package distribution includes SGML source for this document. |
مي توان با FTP بي نام در سايت ftp://ftp.orbits.com/pub/soft ware/Java- Cgi-0.5.tgz به آخرين نسخه بسته شرح داده شده در اينجا دسترسي يافت. توزيع بسته بندي شامل منبع SGML اين مدرك مي شود. |
The package is distributed under the terms of the GNU Library General Public License. This document can be distributed under the terms of the Linux HOWTO copyright notice. |
بسته تحت شرايط گواهينامه عمومي كلي كتابخانه GNU توزيع مي شود. اين مدرك را مي توان تحت شرايط نكته كپي رايت Linux HowTo منتشر كرد. |
If you use this software, please make some reference to http://www.orbits.com/software/Java _ CGI.html, so that others will be able to find the Java CGI classes. |
اگر از اين نرم افزار استفاده مي كنيد، لطفاً به سايت http://www.orbits.com/software/ Java-CGI.html رجوع كنيد بنابراين، ديگران قادر بوده تا كلاس هاي Java CGI را بيابند. |
I have run out of time to mainatain and support this package, so this will probably be its final release. If anyone out there is sufficiently enamoured of this software that they wish to take over the maintenace of it, please contact me at javacgi_document@orbits.com. |
براي حفظ و پشتيباني اين بسته زمان زيادي را صرف كردم، بنابراين احتمالاً اين نسخه محصول نهايي آن خواهد بود. اگر فردي به حد كافي بر اين نرم افزار علاقه مند باشد كه بخواهد حفظ و نگهداري آن را بر عهده بگيرد، لطفاً با ايميل javaCgi-dacument@ orbits .com با من تماس بگيرد. |
مبلغ قابل پرداخت 22,000 تومان