| Author |
How to call a servlet or cgi within a session bean
|
James Liu
Greenhorn
Joined: Aug 02, 2002
Posts: 10
|
|
Hello everyone, Is there anyone has the experience how to do it, could you please post the example code if you can. Thanks James Liu
|
 |
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
|
|
I would discourage you from calling a servlet (or other web resource) from within a Session Bean, however it is easily done. You just need to make an UrlConnection to the appropriate url and parse the InputStream for the response. Does this have anything to do with the SCEA exam? If so then I will quickly say that you are getting into too much detail for this exam.
|
 |
 |
|
|
subject: How to call a servlet or cgi within a session bean
|
|
|