CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2000
    Posts
    5

    External process to Servlet

    Hi,

    I need to send some data from an external process written in java(application) to a servlet. Is this possible ?

    If it is not possible can i send the data from same application directly to an applet.(Using Network Programming).

    The application(external process) will be running on the same host where web-server is running.

    Please help me,
    with regards,
    raghu.

    raghu

  2. #2
    Join Date
    Dec 1999
    Location
    Chonghe, Taipei County, Taiwan, R.O.C.
    Posts
    231

    Re: External process to Servlet

    Both situations can be implemented !!
    In the server side, you may associate your servlet with the external process ( application) through
    lots of method. For example, you may use socket connection, RMI connection, CORBA, or some
    message queue package to communication each other, for example, JavaSpace, MQ series. Because
    of the loss of security imposed on the servlet, servlet can communicate with the external process
    by so lots different techniques.
    But The techniques may not all be able to applied in the applet. The major issue is the security sandbox.
    Hence, you can consider socket connection, RMI connection for now. Basically, you also have to
    consider if the browser support the communication techniques. At this time, RMI, and socket connection
    should be popular techniques which are applied in the field of communication between applet and server
    side application.
    good luck,
    Alfred Wu


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

Featured