Make Process IO Redirects persist between pages

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Evan

    Make Process IO Redirects persist between pages

    Hi,

    I'm creating a web application that runs a java application to handle
    some processing in libraries that I've only been able to find written
    in java. In VB.Net I'm creating a Process with ProcessStartInf o and
    settings RedirectStandar dInput and RedirectStandar dOutput to true so I
    can send information to the java process. Since my program is AJAX
    based, I need a way to preserve the Process.Standar dInput and
    Process.Standar dOutput streams. When the page which initializes the
    process is loaded these streams exist, but if I call GetProcessById( )
    using these streams fail. Is there any way I can get these streams
    back in the subsequent views?

    Evan
  • Kevin Spencer

    #2
    Re: Make Process IO Redirects persist between pages

    A .Net process (such as a service) must remain in memory on the server,
    which can serve as an intermediary between your application and the Java
    process.

    --
    HTH,

    Kevin Spencer
    Chicken Salad Surgeon
    Microsoft MVP

    "Evan" <ewpatton@gmail .comwrote in message
    news:9f461cf3-03ac-4200-b001-5a3fb9dfb173@e6 0g2000hsh.googl egroups.com...
    Hi,
    >
    I'm creating a web application that runs a java application to handle
    some processing in libraries that I've only been able to find written
    in java. In VB.Net I'm creating a Process with ProcessStartInf o and
    settings RedirectStandar dInput and RedirectStandar dOutput to true so I
    can send information to the java process. Since my program is AJAX
    based, I need a way to preserve the Process.Standar dInput and
    Process.Standar dOutput streams. When the page which initializes the
    process is loaded these streams exist, but if I call GetProcessById( )
    using these streams fail. Is there any way I can get these streams
    back in the subsequent views?
    >
    Evan

    Comment

    Working...