creating a Singleton component within a webservice

Discussion in 'ASP .Net Web Services' started by sameer, Mar 12, 2009.

  1. sameer

    sameer Guest

    From within a webservice i am making a FTP file upload/ download and i am
    done programming the ftp component. the part for which i need help is how to
    implement singleton pattern for this FTP componenet so that no matter how
    many clients call the webserive only one instance of this FTP component
    exists which opens up only 1 connection and all the files are routed though
    it.

    thanks
    sameer
    sameer, Mar 12, 2009
    #1
    1. Advertising

  2. sameer

    Mel Weaver Guest

    Check this out
    http://www.velocityreviews.com/forums/t93152-singleton-in-web-service.html

    "sameer" <> wrote in message
    news:...
    > From within a webservice i am making a FTP file upload/ download and i am
    > done programming the ftp component. the part for which i need help is how
    > to
    > implement singleton pattern for this FTP componenet so that no matter how
    > many clients call the webserive only one instance of this FTP component
    > exists which opens up only 1 connection and all the files are routed
    > though
    > it.
    >
    > thanks
    > sameer
    Mel Weaver, Mar 25, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Proton Projects - Moin

    Singleton - Whether Cloneable overrides Singleton

    Proton Projects - Moin, Mar 26, 2007, in forum: Java
    Replies:
    4
    Views:
    3,216
    Proton Projects - Moin
    Mar 27, 2007
  2. Wilhelm
    Replies:
    1
    Views:
    153
  3. Trans
    Replies:
    12
    Views:
    265
    Robert Klemme
    Sep 14, 2007
  4. Paul McMahon
    Replies:
    3
    Views:
    196
    David A. Black
    Jun 9, 2008
  5. Charles Oliver Nutter

    Singleton methods without the singleton class

    Charles Oliver Nutter, Mar 15, 2010, in forum: Ruby
    Replies:
    4
    Views:
    195
    Charles Oliver Nutter
    Mar 22, 2010
Loading...

Share This Page