File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
It is sorta covered in the JavaRanch Style Guide.
subject: HTTP Request via EJB?
Similar Threads
EJB Stand alone Client
Servlet Tunneling help needed
Part II - EJB talks to existing system
tomcat ejb help
Clustered WAS: How about other servers ?