As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I seek some full featured async http client (using NIO, not thread per connection), that supports connections through all kinds of proxy(http/https/socks4/socks5).
I need different proxy per connection, not one global proxy for all connections.
so... what library i can use?
P.S. sorry for my english
I think you want this: https://github.com/AsyncHttpClient/async-http-client
Solution found!
look at http://htmlunit.sourceforge.net/
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I wanted to start writing my own service, which will gives iOS- app json and receive the same json, but I don't know from what I should start. Could you tall me some tutorial, and example?
Thank you
You should start with figure out how web services work.
I can recommend you REST approach. It is easy to set up and maintain.
Here you can find a good tutorial and here there is something useful from Oracle.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Suppose I have a Java application. I want to run another Java application from current (not a thread - a separate application) to calculate some function and them get the result to my first application to output it. How can I implement this?
What comes to mind:
RMI
shared memory
piping
calling 1st from 2nd
sending signal
socket programming (REST, SOAP, etc.)
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm searching for an industrial serial to USB converter.
I want to use it within my JAVA application to communicate with various devices.
Therefore the serial adapter has to provide a mode for RS232, RS422 and RS485.
Furthermore there should be a library which enables me to enable and disable the buffer in the serial adapter.
I tried the MOXA Uport 1150, which does a great job. The problem with this adapter is, that the serial mode (232,422,485) can't be changed within a Java-application and the buffer of the MOXA can't be enabled/disabled either.
I hope someone can help me!
Michael
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to build a mass mail application to send around 20 lacs mail per day. I need some suggestions regarding the technology choice between php and java.
Please suggest.
Either would work.
Java is typically good for bigger projects because it is strongly typed and good for collaboration, but a mass mail application might be simple enough to make that unnecessary.
Most people think of it as easier to do web stuff in PHP, so if you want this to live in a website, you might want to use PHP.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for good Java RPC mechanisms that are
Secure
Efficient (Fast)
What are the options other than RMI?
You should also consider how you will integrate this RPC stack in your code, for instance, if you are using spring framework, you should have a look at the supported remoting protocols.
This will also give you some starting point to investigate on different RPC protocols.
One of the key point for performance of RPC is what kind of serialization is used underneath, have a look to this page for serialization API performance comparison.
Regards