i want client calls like synchronzated, something like a user make a request, he/she will get the result/answer directly.
so do you think JMS (request-reply model) is a good solution?
i use EJB only because i have many use cases which are CRUD.
and do you have any better idea for this architecture?
BTW,
in ejb spcification, a SLSB may become a socket client. it means i can use session bean to send a package. but i can't receive from socket directly(because many other equipments' answers are coming).
so my question is ,general speaking, how a session bean behave like a socket client? or it really doesn't fit to be a socket client?
[Message sent by forum member 'seeglow' (seeglow)]
http://forums.java.net/jive/thread.jspa?messageID=342507