Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Do standard Java classes provide event-driven reads for client-side, HTTP POST requests?

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(I apologize for this post not being in the "Beginning Java" section! I attempted to place it there.)

Core Reason for This Post

Java newbie wants to achieve client-side, HTTP POST support that includes event-driven reads. The vendor replies to the single/initial HTTP POST request with large-volume data feeds throughout the remainder of the business day.

Background and Thank You

Hello! I am new to Java and to CodeRanch. As I move through the early phases of learning Java, I am trying to port a few of my C++ classes and programs to Java. I am only a few thousand lines of code into the process. So far, so good. I am very favorably impressed with Java.

This need for "event-driven, non-blocking reads after an HTTP POST" has me completely stalled. I have a "blocking I/O" version working fine. I am guessing that many of you veterans handle the event-driven I/O concept easily (I have been spoiled by how easy this is to achieve in Qt/C++). I have searched for a solution for many days, but I am not recognizing one. Also, I want to use the core/standard classes of Java, if possible.

Thank you very much for any help you can provide!
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic