voyent
AHS running as a Servlet  XML
Forum Index -> Async HTTP Server
Author Message
rthomas

Joined: 01/Feb/2008 00:00:00
Messages: 12
Offline


Hello. A preliminary question prior to embarking on an Icefaces project:

If the AHS is configured to run as a Servlet rather than a separate Server, is JMS still required? The initial reference to JMS (p 72 of the v1.7 Developers Guide) discusses JMS in the context of the AHS configured as a separate Server. Therefore I initially assumed that the queues illustrated in Figure 16 (AHS Server configuration) are JMS, while those in Fig 17 (AHS Servlet configuration) are non JMS, just internal to the Servlet.

Can you clarify? Thanks!
jack.van.ooststroom


Joined: 26/Oct/2004 00:00:00
Messages: 223
Offline


Hello Robert,

JMS is required for both modes. As AHS runs separately either as a Servlet or a Server, it relies on the messages sent by the ICEfaces applications using JMS to receive the valid ICEfaces IDs as well as the Updated Views.

The mentioned Response and Request Queues in Figures 16 and 17 are actual internal queues managed by AHS, which have no relation to JMS.

Regards,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
rvillane

Joined: 30/May/2008 00:00:00
Messages: 34
Offline


How can AHS be configured as a Servlet and not as a separate server ? Which may be the negative impact of running AHS as a Servlet ?

thanks
jack.van.ooststroom


Joined: 26/Oct/2004 00:00:00
Messages: 223
Offline


ICEfaces AHS can be configured as a servlet by setting the com.icesoft.faces.async.service parameter in AHS' web.xml to servlet. Please note that AHS comes with various build targets. Please use ant -p in the [icefaces-home]/icefaces/ahs directory to see them.

When running AHS as a servlet on an application server not utilizing the application server's possible NIO capabilities (either because it doesn't have NIO capabilities, or because it is not configured), the performance might be affected depending on the load.

Regards,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
 
Forum Index -> Async HTTP Server
Go to:   
Powered by JForum 2.1.7ice © JForum Team