Re: Deploy S2 apps with Mysql to cloud

2011-08-26 Thread Jeffrey Black
Hey Frans, You might give Red Hat's @OpenShift a look. JB On Aug 26, 2011, at 10:38 PM, Frans Thamura wrote: > hi maurizio, > > i got that there is EC2 RDS for MySQL, do u use it in EC2? > > can share how deploy the .war to the Ec2? > > i still dont get it, as us said it more virtual serve

Re: Deploy S2 apps with Mysql to cloud

2011-08-26 Thread Frans Thamura
hi maurizio, i got that there is EC2 RDS for MySQL, do u use it in EC2? can share how deploy the .war to the Ec2? i still dont get it, as us said it more virtual server, do u mean, u install OS/Linux first in the virtual rather deploy directly my team try cloudfoundry, which it is more "springM

Re: Deploy S2 apps with Mysql to cloud

2011-08-26 Thread Maurizio Cucchiara
Hi Frans, the following is my usually software stack : Hibernate+MySQL+Spring+Struts2. Currently I successfully deployed that stack on Amazon EC2 either on CloudBees. EC2 is more a virtual server, CloudBees is more a platform as service (you can integrate your application with your control version

Deploy S2 apps with Mysql to cloud

2011-08-26 Thread Frans Thamura
hi all anyone can share, ur experience deploy ur apps (using hibernate -mysql will be cool) to cloud which cloud services do you use? and how much, r u happy? we are on plan to do that -- Frans Thamura (曽志胜) Chief of Advisory Meruvian. Integrated Hypermedia Java Solution Provider. Mobile: +6285

Re: Struts2 dispatch request to another application

2011-08-26 Thread jlmagc
Well, I suppouse that's the only way, it's only that I thought somebody would have come with this problem early, and I wanted to know how, if so, they solved it. JL Sent via BlackBerry from T-Mobile -Original Message- From: Dave Newton Date: Fri, 26 Aug 2011 18:54:18 To: Struts Users

Re: Struts2 dispatch request to another application

2011-08-26 Thread Dave Newton
On Fri, Aug 26, 2011 at 6:51 PM, wrote: > I thought of that, but it doesn't work because the other server is not > available through Internet, only the first one. So I need to 'tunnelize' the > request from the browser to the other server thorugh my application. > If you're trying to make it loo

Re: Struts2 dispatch request to another application

2011-08-26 Thread Chris Pratt
You'll probably have to write an action that retrieves the content and makes it available to a Stream Result ( http://struts.apache.org/2.0.14/docs/stream-result.html). (*Chris*) On Fri, Aug 26, 2011 at 1:57 PM, JOSE L MARTINEZ-AVIAL wrote: > Hello all, > I'm using Struts 2.1.8.1. I have a req

Re: Struts2 dispatch request to another application

2011-08-26 Thread jlmagc
I mean, I could write an Action that uses an HttpClient to get the page from the back server and send it back to the browser, but I would like to know if there is something already written to do this, or if there is a more ortodox way to do it. --Mensaje original-- De: Yo Para: Struts Us

Re: Struts2 dispatch request to another application

2011-08-26 Thread jlmagc
I thought of that, but it doesn't work because the other server is not available through Internet, only the first one. So I need to 'tunnelize' the request from the browser to the other server thorugh my application. --Mensaje original-- De: Maurizio Cucchiara Remitente: maurizio.cucchi..

Re: Struts2 dispatch request to another application

2011-08-26 Thread Maurizio Cucchiara
You could try to change from dispatcher to redirect type, I'm not sure it will work. Also, I'm not sure how it fits with your requirements (the address will be visible in the address bar). Maurizio Cucchiara On 26 August 2011 22:57, JOSE L MARTINEZ-AVIAL wrote: > dispatcher ---

Struts2 dispatch request to another application

2011-08-26 Thread JOSE L MARTINEZ-AVIAL
Hello all, I'm using Struts 2.1.8.1. I have a requirement to embed some pages from another server on my own app, so the users will access to them through my application, without accessing directly the other server. My idea is to have a package definition for that, so any access to that package wo