users@glassfish.java.net

Expose bussines logic from Glassfish web application

From: <glassfish_at_javadesktop.org>
Date: Mon, 02 Mar 2009 01:13:20 PST

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