Results 1 to 4 of 4

Thread: Remoting (Architecture) Questions

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    9

    Remoting (Architecture) Questions

    Hi. I'm implementing an application with a 3-tier architecture. I'm using Remoting to connect the Presentation layer to the Business Logic layer. Two problems that I came across are:
    1. My server (the application which is exposing my remotable class) is a console application. I don't have a strong background in Windows programming, so the only way out I can see to "hide it" is to compile it as a dll and then register it in Windows. Could I create a Windows Service for this thing?
    2. I currently have only one procedure in my application. Do I have to repeat the RemotingConfiguration.RegisterWellKnownServiceType call for each remote procedure/function, or can I somehow expose the whole class?

    If anyone knows any good white papers on 3-tier architecure online, I would appreciate if they can share the URL.

    Thank you very much.
    Tiberiu M

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Sure you could remote the whole class and it can be done via a Windows Service or IIS. Actually I've only exposed the whole class and didn't know you could expose just a method. As for a URL try poking around msdn they should have something on n-Tier structure.

  3. #3
    Addicted Member
    Join Date
    Aug 2002
    Location
    Belfast, N. Ireland
    Posts
    167
    The MS knowledge base has a number of articles which cover remoting quite well, if you haven't already read them of course.

    Marshal an Object to a Remote Server by Reference by Using Visual Basic .NET

    I operate my remotable classes via windows services and they run very smoothly indeed.

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    9
    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width