I have the following scenario:
Server 1 (custom made j2se ,old but handle tousands of clients / hour)
Server 2 (glassfish) with a web application deployed
Server 1,Server 2 in the same LAN.
----------------------------------------------------------------------------------------------------------
Server 1 neeed to acces some managers (bussines logic classes) from server 2
Example from a j2se custom server i need to acces ClientManager class,method isBlocked() from web application.
-----------------------------------------------------------------------------------------------------------------
Possible Solutions i saw :
1) Expose manager classes thorugh RMI (how scalable this is ,cand handle hundreds of calls / second ?)
2) Expose them through web services (maybe scalability is handeled better but
why to expose a web service only for lan)
3)JMS with a double queue ?
Any other hints ?
Any ideea is welcomed
THX !!!
[Message sent by forum member 'csergiu77' (csergiu77)]
http://forums.java.net/jive/thread.jspa?messageID=334518