Expand my Community achievements bar.

question about blazeds turnkey installation and directory structure

Avatar

Level 2

hi. this question is pretty basic...been reading sujit reddy g's blog on installing/setting up blazeds.

in one article he creates a samplewebapps directory in C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\samplewebapps and copies the blazeds WEB-INF/lib into that directory and the configuration files in the flex folder across as well...http://sujitreddyg.wordpress.com/2009/04/07/setting-up-blazeds/

in another article on invoking java methods from flex he configures the remote-config.xml file directly in the blazeds\WEB-INF\flex folder....http://sujitreddyg.wordpress.com/2008/01/14/invoking-java-methods-from-adobe-flex/

wasn't sure why in the first example he copied the files and folders to the samplewebapps directory while in the second example he just configured the files within the blazeds directory...thanx...(i'm a newbie at server side development)

1 Reply

Avatar

Employee

There's really not much difference. In some cases, you might already have a web application you are using so you could just copy the contents of the blazeds web app into your existing web application.

Application servers can host more than one web application and a Flex application that uses BlazeDS can be deployed on a different web app than the one where BlazeDS is running or a different server entirely so it really just depends how you want to set things up.

Hope I'm not just making things more confusing for you. . .

-Alex