برنامه نويسي

برنامه نویسی بستر جاوا در زمان واقعی

Real-Time Java Platform Programming

دانلود کتاب Real-Time Java Platform Programming (به فارسی: برنامه نویسی بستر جاوا در زمان واقعی) نوشته شده توسط «Peter C. Dibble»


اطلاعات کتاب برنامه نویسی بستر جاوا در زمان واقعی

موضوع اصلی: کامپیوتر – برنامه نویسی

نوع: کتاب الکترونیکی

ناشر: Prentice Hall PTR

نویسنده: Peter C. Dibble

زبان: english

فرمت کتاب: PDF (قابل تبدیل به سایر فرمت ها)

سال انتشار: 2002

تعداد صفحه: 256

حجم فایل: 2.45 مگابایت

کد کتاب: 0130282618 , 9780130282613

نوبت چاپ: 1st

توضیحات کتاب برنامه نویسی بستر جاوا در زمان واقعی

برنامه های جاوا شهرت کند بودن دارند. تصور می‌شود که عملکرد، جایگزینی جاوا با قابلیت حمل و نقل بین پلتفرم‌ها و بهره‌وری بیشتر توسعه‌دهندگان باشد. سیستم های بلادرنگ نیاز به پاسخ های زمانی دارند و در بسیاری از موارد نباید شکست بخورند. در اولین نگاه، جاوا برای سیستم های بلادرنگ کاملاً نامناسب به نظر می رسد. خوب، اگر اینطور فکر می کنید، ممکن است بخواهید کتاب Peter C. Dibble “Real-Time Java Platforming Programming” را بخوانید.

در واقع، مشخصات بلادرنگ اولین درخواست مشخصات جاوا (JSR001) در فرآیند جامعه جاوا است. و پیاده سازی مرجع به تازگی در اوایل سال 2002 منتشر شد. بنابراین، این یک کتاب بسیار به موقع برای این حوزه کاربردی جدید بسیار مهم از پلت فرم جاوا است.

تمرکز این کتاب روی نحو و نحو جاوا به خوبی شناخته شده نیست. توابع API این کتاب صفحات زیادی را صرف بحث در مورد سیستم های بلادرنگ، الزامات چیست و چرا نسخه استاندارد جاوا 2 به این وظیفه نمی رسد می پردازد. در نتیجه، می‌توانیم چیزهای مهمی در مورد طراحی سیستم بلادرنگ و فلسفه پشت مشخصات جاوا بی‌درنگ بیاموزیم. جاوا فقط یک ابزار است. یک مهندس سیستم بلادرنگ باید ابتدا طراحی سیستم را بداند تا بتواند جاوا را در موقعیت جدید اعمال کند. من رویکرد این کتاب را بسیار مؤثر می‌دانم.

به سؤالی که در پاراگراف اول مطرح کردیم برگردیم: معلوم می‌شود که عملکرد برای یک سیستم بلادرنگ آنقدر مهم نیست. ما می‌توانیم یک سیستم بلادرنگ کند داشته باشیم، اما باید هر بار که اجرا می‌شود، نتایج ثابت و قابل پیش‌بینی ارائه دهد. این سازگاری به ما امکان می دهد سیستم هایی را طراحی کنیم که می دانیم ضرب الاجل را برآورده می کنند. یکی از مشکلات اصلی جاوا در برنامه های بلادرنگ، رفتار غیرقابل پیش بینی زباله جمع کن است. این کتاب بحث های طولانی در مورد الگوریتم های جدید در مدیریت حافظه و رویکرد جاوا در زمان واقعی برای این مشکل دارد.

البته، طراحی زباله جمع کننده و مدیریت حافظه نمونه ای از بسیاری از جنبه های طراحی سیستم بلادرنگ است که پوشش داده شده است. توسط این کتاب مسائل مهم دیگر شامل موضوعات و همگام سازی است. این کتاب را هم برای برنامه نویسان جاوا که علاقه مند به مهندسی سیستم بلادرنگ هستند و هم برای مهندسان بلادرنگ علاقه مند به ابزارهای جاوا بسیار خواندنی می دانم.

این کتاب می‌تواند حتی بهتر باشد اگر نویسنده بتواند بخش‌های کد نمونه پراکنده را در یک برنامه کاربردی نمونه منظم سازماندهی کند و از آن برای نشان دادن استفاده‌های مختلف از پلت فرم بلادرنگ جاوا استفاده کند. همچنین، نویسنده به نصب و مبانی پیاده سازی مرجع توجهی نکرده است. همچنین او

سناریوهای کاربردی واقعی را در دستگاه‌ها یا شبیه‌سازها پوشش نداد. که درک متن مثال ها را کمی دشوار می کند.


Java programs have the reputation of being slow. Performance is thought to be Java’s trade off for cross platform portability and higher developer productivity. Real-time systems demand on time responses and in many cases, should not fail. At the first glimpse, Java seems quite unsuitable for real-time systems. Well, if you think so, you might want to read Peter C. Dibble’s book “Real-Time Java Platform Programming”.

In fact, real-time specification is the first Java Specification Request (JSR001) in the Java Community Process and the reference implementation just came out in early 2002. So, this is a very timely book for this very important new application area of the Java platform.

The focus of this book is not well known Java syntax and API functions. This book spends a lot of pages discussing what are real-time systems, what are the requirements and why Java 2 Standard Edition is NOT up to the task. As a result, we can learn important things about real-time system design and the philosophy behind the real-time Java specifications. Java is only a tool. A real-time system engineer should first know the system design so that he can apply Java to the new situation. I find the approach of this book very effective.

Back to the question we raised in the first paragraph: It turns out that performance is not THAT important for a real-time system. We can have a slow real-time system but it has to give consistent and predictable results everytime it runs. That consistency allows us to design systems that we know will meet the deadline. One of Java’s core problems in real-time applications is the unpredictable behavior of the garbage collector. The book have lengthy discussions on new algorithms on memory management and the real-time Java approach to this problem.

Of course, garbage collector design and memory management is an example of many real-time system design aspects covered by this book. Other important issues include threads and synchronization. I find this book very readable for both Java programmers interested in real-time system engineering and real-time engineers interested in Java tools.

This book could be even better if the author can organize scattered sample code segments into a consistent sample application and use it to demonstrate different usages of the real-time Java platform. Also, the author did not cover the installation and basics of the reference implementation. Nor did he cover

real application scenarios on real devices or simulators. That makes it a bit difficult to understand the context of the examples.

دانلود کتاب «برنامه نویسی بستر جاوا در زمان واقعی»

مبلغی که بابت خرید کتاب می‌پردازیم به مراتب پایین‌تر از هزینه‌هایی است که در آینده بابت نخواندن آن خواهیم پرداخت.

برای دریافت کد تخفیف ۲۰ درصدی این کتاب، ابتدا صفحه اینستاگرام کازرون آنلاین (@kazerun.online ) را دنبال کنید. سپس، کلمه «بلیان» را در دایرکت ارسال کنید تا کد تخفیف به شما ارسال شود.

دیدگاهتان را بنویسید