• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I call a CGI program within an EJB?  RSS feed

 
Harry Chan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Does anyone know that if it is possible to access a CGI program from an EJB via opening an HttpURLConnection in the java.net package?
Thanks,
Harry
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please checkout the chapter Runtime Environment in the ejb specification the section being programming restrictions. In this it is stated
The EJB architecture allows an enterprise bean instance to be a network socket client
please check out pg 273. I think it can. But there can be a lot of interpretations.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!