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 ]
g madhava
Ranch Hand
Joined: Sep 14, 2001
Posts: 85
posted
0
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 Zhang
Ranch Hand
Joined: Apr 11, 2002
Posts: 139
posted
0
Thanks, G madhava. Can you give me some explam or article I can look at ? I appreciate your help.
SC Johnson
Greenhorn
Joined: May 15, 2002
Posts: 13
posted
0
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
SCEA, WWISA
Robin Zhang
Ranch Hand
Joined: Apr 11, 2002
Posts: 139
posted
0
thank you very much.
subject: open an HTTPConnection from a session bean ?