RMI Dynamic class loading server client client server

  • Slides: 7
Download presentation

Πλεονεκτήματα RMI • Dynamic class loading – από server σε client – από client

Πλεονεκτήματα RMI • Dynamic class loading – από server σε client – από client σε server • Object oriented (πολυμορφισμός) • Code migration

POSIX threads Vs Java threads

POSIX threads Vs Java threads

Java Threads POSIX Threads Thread Creation Instantiate a thread object pthread_create() Thread Join join()

Java Threads POSIX Threads Thread Creation Instantiate a thread object pthread_create() Thread Join join() method pthread_join() Thread Exit stop() method deprecated pthread_exit() Yield yield() method sched_yield() Get Thread ID get. Name() method pthread_self() Kill Thread stop() method deprecated pthread_kill() Mutex Lock Monitors pthread_mutex_lock() wait() and notify() pthread_cond_wait(), Condition Variable methods pthread_cond_signal Semaphores Not Available sem_wait(), sem_post() Attribute Objects Not Available pthread_attr_*calls pthread_setspecific, Thread Specifications Not Available pthread_getspecific Thread Priorities set. Priority() method pthread_setschedparam() stop() method deprecated, Thread Cancellation catch Thread. Death pthread_cancel() calls