IMHO you should look at maven for doing this "hellish job" On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko <[EMAIL PROTECTED]> wrote: > > Hi, > > We're also evaluating the possibility of using an architecture > composed by GWT + Servlets + MySQL. I thought it was going to exist > another option to communicate GWT more directly with MySQL, but seems > like a combination of GWT-RPC and servlets is one of the best ways to > achieve this interaction with DB. > > In our test project, instead of Tomcat, we're using JBoss to deploy > all the application, both client side code and server-side code, > packaged into a unique .war file. At the moment must admit we're also > copying files and generating the .war package each time manually, but > I've also decided, based on other comments in the group, to use an ANT > script to automatize this hellish task, sure it saves me very much > time and problems. > > By the way, do you see any advantages/disadvantages of using JBoss AS > to host the whole application? Why did you choose for example Tomcat? > > Thanks and regards. > > Miguel > Blog: http://lonifasiko.blogspot.com > > On 27 nov, 02:25, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: >> For automating the deployment (instead of manually copying) ant is the >> only way to go. I've heard stories that Maven is even easier, but we >> haven't jumped onto that band wagon (yet). When we build with no >> server, we have an ant build file that does all that, and then deploys >> to our external server. We do it old school and jump out to the file >> system and run via command line, but I've done from inside Eclipse as >> well. >> >> On Nov 26, 5:39 pm, DanielC <[EMAIL PROTECTED]> wrote: >> >> > Hi guys, >> >> > I'm developing a project with GWT + Servlets + MySQL. At this point, >> > I've got the project setup using the "-noserver" flag and I have >> > Connector/J configured on an external Tomcat 6 server so that my >> > servlets can access the DB. Communication to/from server is through >> > GWT-RPC . >> >> > My Problem: This is a bit of a pain b/c anytime I make a change to the >> > servlet code (which resides in the same Eclipse project as my GWT >> > code...and I'd prefer to keep it this way), I have to copy the *.class >> > file (for the servlet) over to the CATALINA_HOME/webapps/myproject/WEB- >> > INF/classes/blahblahblah folder. >> >> > This seems extremely manual and I'm hopeful that there's a better way >> > to do it. What is the recommended way of doing this type of >> > development? Ideally, I'd it would just pickup the changes to both the >> > client and server code as it used to when I was working in hosted >> > mode. Unfortunately, I couldn't figure out how to get MySQL and >> > Connector/J setup in the integrated Tomcat, so I went with the "- >> > noserver" option and configured it with an external instance of Tomcat >> > instead. This manual copying crap is starting to get super annoying, >> > so I'm reaching out for help. >> >> > What's the best practices for this? > > >
-- Si l'ignorance peut servir de consolation, elle n'en est pas moins illusoire. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
