Agree,
tapi itu menolong untuk initialization,
tetapi untuk method execution yg expensive sampai saat ini saya masih
melihat ejb lah yg bisa menjawab, lightweight ioc belum ada
keliahatannya yg bisa menjawab case seperti ini.

Regards,

2008/8/4 Edward Yakop <[EMAIL PROTECTED]>:
> 2008/8/4 Arif Rachim <[EMAIL PROTECTED]>:
>> Initialization can be expensive, method execution can be expensive as
>> well. Problemnya kalau method execution expensive di ejb bisa dipecah2
>> karena method tsb tidak perlu di lock, sedangkan lightweight ioc,
>> thread harus menunggu sampai proses yg lock object tsb selesai.
>
> Saya nggak bilang kalo execution nggak expensive. Tapi semua itu relatif,
> tergantung dari problemnya. Kita juga bisa buat remove synchronize block
> completely.
> Contoh, ganti dari singleton -> request/session/prototype scope. Semuanya
> punya
> kelebihan dan kekurangannya.
>
> Regards,
> Edward Yakop
> 

Kirim email ke