Re: Design Question

2011-08-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/6/2011 9:41 PM, Mohit Anchlia wrote: > thanks for your input. Is it ok to make Http Calls and wait for > response inside of Valve or Filter? Sure. You can do whatever you'd like. > Are there any problems that might arise because of this

Re: Design Question

2011-08-06 Thread Mohit Anchlia
On Sat, Aug 6, 2011 at 6:10 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 5:46 PM, Mohit Anchlia wrote: >> I also need to use mod_rewrite to direct request to new Servlet. Can >> I use rewrite to say abc.com/abc to abc.com/switch/abc? >

Re: Design Question

2011-08-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:46 PM, Mohit Anchlia wrote: > I also need to use mod_rewrite to direct request to new Servlet. Can > I use rewrite to say abc.com/abc to abc.com/switch/abc? Of course. That's kind of what mod_rewrite was written to do... rewrite

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 2:41 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 5:05 PM, Mohit Anchlia wrote: >> On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz >>> Uh, why not use an HTTP proxy instead of using HttpClient. Squid, >>> Apa

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: > On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz >> Uh, why not use an HTTP proxy instead of using HttpClient. Squid, >> Apache httpd, countless LBs, and many others have this capability >> without

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 8/5/2011 1:59 PM, Mohit Anchlia wrote: >> This switch calls HttpClient Post calls using thread pools to send >> the request to other systems. > > Uh, why not use an HTTP p

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: > This switch calls HttpClient Post calls using thread pools to send > the request to other systems. Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and

Re: Design Question

2011-08-05 Thread André Warnier
Mohit Anchlia wrote: We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to. Th