jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes HTTP Request via EJB? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "HTTP Request via EJB?" Watch "HTTP Request via EJB?" New topic

HTTP Request via EJB?

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
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

Joined: Jul 10, 2001
Posts: 1934
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.

SCJP, blog
Rajeev Asthana
Ranch Hand

Joined: Oct 27, 2003
Posts: 43
How can HTTP be one way when you can send the response back to HTTP client?
Hastono Bayu

Joined: Oct 13, 2003
Posts: 8
Did u mean creating a HTTP request through EJB to another server?
I agree. Here's the link: http://aspose.com/file-tools
subject: HTTP Request via EJB?
It's not a secret anymore!