× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ashish Kulkarni wrote:
but there is a draw back to this process, it can only
handle one request at a time, unless you use threads
in java to handle multiple request at a time, i do not like to use it is a absolute must.

Threads aren't very difficult at all ... I use them all the time.

so i would like to know more about this tcp/ip
solution how does it work, does it have the same issue
as data queue, or it can handle multiple request
can you provide some pointers or place where i can get
some information with code sample
i m pretty comfortable with both the languages.

Well, the issue with handling multiple requests has nothing to do with the way the request is sent from the RPG to the Java ... if you want to handle multiple requests at one time you'll need to use threads ... or multiple processes.

TCP/IP is less straight forward than using a data queue ... but, possibly, more efficient. I haven't really researched the difference much.

One of the advantages of the TCP/IP technique is that abandoned transactions are easy to manage. With a data queue (assuming you use a keyed data queue), you really need to keep track of what transactions are active and which are not. With TCP/IP if the transaction is abandoned, the connection is lost and you handle it programatically.

david

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.