Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Request via EJB?

 
Unnsse Khan
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you run through an HTTP request flow through an EJB web tier and back?

Any details on how to do this?
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http is always oneway. You can not invoke http from the server side.

The flow is like http -->servler --> ejb --> database --> results back to the user.

You can not trigger anything on the user from the actual server.

I am not sure if I answered your question though.
 
Rajeev Asthana
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can HTTP be one way when you can send the response back to HTTP client?
 
Hastono Bayu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did u mean creating a HTTP request through EJB to another server?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic