Remoting内部已经使用了ThreadPooling来处理用户请求,在系统资源富余的情况下新的请求用新的线程处理,当建立新线程的开销过大、线程池内的线程过多的时候则不会建立新的线程,而是复用已经存在的。
由于Remoting内部已经作了支持,不建议在自己的程序里进行Remoting相关的线程管理。

解决方案 »

  1.   

    请各位高手一起来讨论一下用remoting做多层结构系统要注意的地方,效率情况和它的优点!谢谢大家给个面子来参与!
      

  2.   

    you can go to "www.microsoft.com/china/" some technology articles, microsoft don't suggest write multilayer system using remoting, but 
    web service,using web service is simpleness and agility,if you really want to write multilayer system, you should change your method, try web method, i can tell you, my system was wroten by web service technology!
      

  3.   

    用Remoting 进行Web Service访问比较好。
      

  4.   

    可以用remoting中对象池,知名调用对象中的singlcall在每次请求都创建对象进行执行.
      

  5.   

    要注意什么时候该用singlton好,什么时候该用singlcall好,有讲究的。