I remember once seeing an example of an HTMLReaderEJB, that is, and EJB that opened a URL connection and got an InputStream and read the content. I think there was even a related question on one of the java certifications (J2EA?) once upon a time.
I need something like that now, as I want to call SOAP services from the EJB tier. But this problem keeps plaguing me, EJBs are forbidden from using the java.io package. (For good reason, they would have to wait on i/o!!!). Hence the question, can an EJB read from an HTML stream, and if so how?
My guess is that, if they once could in an earlier J2EE version, they no longer can. But what are the alternatives?