aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Server to Client EJB calling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Server to Client EJB calling" Watch "Server to Client EJB calling" New topic
Author

Server to Client EJB calling

Paul Caswell
Greenhorn

Joined: Mar 15, 2001
Posts: 3
I am building a server managing large amounts of data, the method I am trying to implement the following method:
retrieveDataAndPublish(String where, XXXXXX clientConsumer)
The server is responsible for reading the data from a legacy system (slow!!) and sending chunks of results back to the client.
This is being implement as an EJB session bean using the IAS App server. I am familiar with the RMI callback mechanism (as described in http://developer.java.sun.com/developer/onlineTraining/rmi/exercises/RMICallback/index.html ).
My questions:
How should this be done in the EJB world?
Does the client need to be an EJB server?
Can this be done without JMS?
Should this be done without JMS?
What kind of Object is passed in XXXXX?
Answers or reference articles most welcome.
back to surfing the extensive J2EE and JMS documentation
Cheers
Cas

Communicate<BR>Architect<BR>Simplify
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Server to Client EJB calling