Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Spring services and processing units

Hello all,

I am new to Gigaspace and trying to evaluate it for our newly started telephony application. Our application has a typical Spring MVC -Service-Dao-entity layer. However, some of our service are fully stateful and holds various run time data like incoming call information. Apart from that, some of our services opens TCP connection to third party telephony servers. Our services are not message based and use each other to perform an operation. What I am trying to find out is if we can bundle our services as processing units and deploy them on different GSM Containers. Our main target is not to cluster but to achieve fail-over. Some of our services can not be active at the same time so only one service needs to be active and the other should be in passive mode. We want to stay independent from the web container. So I was wondering if I can run the space in embedded mode inside the web containers, in that case, how can I replicate the httpsession?

Any suggestion on how I can proceed would be highly appreciated.

Regards,
Sajid.

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2008-10-16 01:23:17 -0500

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi Sajid

First, if you're a newbie to GigaSpaces I would recommend going over our product overview which will give you a good idea on what the product does and how it's built.
As for your questions::
GigaSpaces XAP 6.6 supports war file deployment out of the box via an embedded Jetty web container. So you can deploy your web application into our environment and enjoy the benefits of dynamic scaling, SLA management and automatic registration of instances to your Apache load balancer. This is all documented here.
In addition you can enable the HttpSession to be saved to the Space (you can choose if it's local or remote space). This is documented here.
As for implementing your services on top of the space, you can use our remoting support, which will enable you to expose services to remote clients (in your case the web application) on top of the space, and enjoy high availability, load balancing and other goodies. This is all documented here. In your case you should probably choose Executor based remoting.

A good starting point to understand how to integrate with Spring MVC can be found in our community web site.

HTH,
Uri

answered 2008-10-16 03:58:37 -0500

uri gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-10-16 01:23:17 -0500

Seen: 27 times

Last updated: Oct 16 '08