• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

open an HTTPConnection from a session bean ?

 
Robin Zhang
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, G madhava.
Can you give me some explam or article I can look at ? I appreciate your help.
 
SC Johnson
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Robin Zhang
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic