I am trying to open an HTTPConnection from a session bean to send request to the CGI/Perl app. In the case, my EJB acts as a web client to the CGI/Perl app. I am not sure if it is a correct solution.please comment. [ June 16, 2002: Message edited by: Robin Zhang ]
I don't see any reason why the solution which you had adopted can't be applied. Remember that EJB's are a way to process the business logic(BL). They have added extra cream on the top of BL. You are on the right track. cheers,
Robin -- Take a look in the Core Servlets and JSP book -- they have a section on using an applet as an HTTP client. You can use the same code inside a Session Bean (it has nothing to do with Applets). I've used similar code in my work. Steve