Re: Questions related to configuring a REST API on Apache

2008-06-19 Thread Vinay Chilakamarri
]> wrote: > > From: Vinay Chilakamarri [mailto:[EMAIL PROTECTED] > > Subject: Re: Questions related to configuring a REST API on Apache > > > > Do you see any drawbacks in this approach? > > How will a client know which port to choose? > > > if I go the virtu

RE: Questions related to configuring a REST API on Apache

2008-06-19 Thread Caldarale, Charles R
> From: Vinay Chilakamarri [mailto:[EMAIL PROTECTED] > Subject: Re: Questions related to configuring a REST API on Apache > > Do you see any drawbacks in this approach? How will a client know which port to choose? > if I go the virtual hosts way, others have to explicitly > mo

Re: Questions related to configuring a REST API on Apache

2008-06-19 Thread Vinay Chilakamarri
ct: Re: Questions related to configuring a REST API on Apache > > > > Is there a way to setup virtual hosts on Tomcat alone with > > out having to connect to Apache Httpd for that? > > Yes - configure multiple elements in conf/server.xml. It's in the > doc: > htt

RE: Questions related to configuring a REST API on Apache

2008-06-19 Thread Caldarale, Charles R
> From: Vinay Chilakamarri [mailto:[EMAIL PROTECTED] > Subject: Re: Questions related to configuring a REST API on Apache > > Is there a way to setup virtual hosts on Tomcat alone with > out having to connect to Apache Httpd for that? Yes - configure multiple elements in conf/se

Re: Questions related to configuring a REST API on Apache

2008-06-19 Thread Vinay Chilakamarri
Is there a way to setup virtual hosts on Tomcat alone with out having to connect to Apache Httpd for that? On Wed, Jun 18, 2008 at 2:32 PM, Vinay Chilakamarri < [EMAIL PROTECTED]> wrote: > I am using Apache Http D

Re: Questions related to configuring a REST API on Apache

2008-06-18 Thread Vinay Chilakamarri
I am using Apache Http Daemon for this simulation. I got what you are pointing to... I could have used a dynamic page for XML generation and returned it in response to the requests. May be I should configure Httpd for the virtual hosts and tune it to delegate jsp's to Tomcat? I've dealt with deplo

Re: Questions related to configuring a REST API on Apache

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vinay, Vinay Chilakamarri wrote: | I mixed up the stuff a little there. It was actually a REST API as long as I | was talking about my own application. Since I am simulating the stuff (for | some testing purposes) I wanted to show our Global product

Re: Questions related to configuring a REST API on Apache

2008-06-18 Thread Vinay Chilakamarri
Hi Chris, I mixed up the stuff a little there. It was actually a REST API as long as I was talking about my own application. Since I am simulating the stuff (for some testing purposes) I wanted to show our Global product as if 20 of those applications are sending responses when the Global thing ma

Re: Questions related to configuring a REST API on Apache

2008-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vinay, Vinay Chilakamarri wrote: | While I got this to working, I now want to configure each of these | hosts to serve a REST API. How does your REST API differ from your, er... HTTP one? | In other words, I have to map a URL like: *http://localhos

RE: Questions related to configuring a REST API on Apache

2008-06-18 Thread Caldarale, Charles R
> From: Vinay Chilakamarri [mailto:[EMAIL PROTECTED] > Subject: Questions related to configuring a REST API on Apache > > In other words, I have to map a URL like: > *http://localhost/rec1/getInfo *to > an actual URL like* http://localhost:445/rec1/info.xml Sorry I can't an

Questions related to configuring a REST API on Apache

2008-06-18 Thread Vinay Chilakamarri
Hi, I am trying to simulate 20 servers (our applications) which offer a web API to communicate with a Global application. To do this, I thought of running 20 virtual hosts on Apache and somehow configure it to process the GET, PUT, POSTS requests that the Global application sends.I am running each