Hi All. sorry.. i guess i was looking at a very old thread.
I have just discovered the -noserver option which i think does exactly what i want. On Jul 21, 4:25 pm, JonJ27 <[email protected]> wrote: > I am using Rational Application Developer 7, with GWT 1.7 plugin. I > have ran through the sample application with no probs. > > I then created a "Dynamic web project" which organises things a little > different from the default GWT project creator and imported all the > StockWactcher code.. This all works fine. > > I then wish to add JPA for my persistence layer to the WAR project. I > have added the necessary jar files to my lib directory and this works > great when i complile and run it on my built in WebSphere 7 test > environment. Unforunately it fails when i'm running it in hosted > mode. I am guessing this is because my JPA configuration file > (persistence.xml) specifies java:comp/env/jdbcName which is > configured neatly on Websphere but i dont know how to do this on the > tomcat version running in hosted mode. > > At the moment this leaves me with the problem that i can run the front > end in hosted mode.. and debug it... but the backend integgration > fails. > or I can run it in my WAS test environment which allows me to debug > the backend but not the gui because this is running compiled GWT code. > > Therefore i saw an old thread about runnign the front end in hosted > mode > and the backend using another J2EE container. Have you been able to do > this with WebSphere. > > I suppose all i really want to do is change the url that the client is > calling to access my remote service. At the moment i use the > @RemoteServiceRelativePath("stockPrices") tag, which is relative.. but > i would like to be able to specify a different port.. maybe even a > different host. > > for example hosted mode useshttp://localhost:8080/StockWatcher.html > but i would like to tell it to point > tohttp://localhost:9081/StockWatcher/stockwatcher/stockService > for the remote service. > This would allow me to debug both all neatly in my test enviromnet. I > could probably do this by installing Apache Http Server and create a > Proxy but would like to run it all from my test enviroment. > > Any thoughts? > > Thanks in advance > > Jonathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
