<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anden Solutions &#187; Blogs</title>
	<atom:link href="http://www.andensolutions.com/index.php/category/blogs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andensolutions.com</link>
	<description>Anden Solutions develops Rich Internet Applications using AJAX and Adobe Flex and Flash-based videogames and simulations</description>
	<lastBuildDate>Tue, 15 Nov 2011 05:00:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Spell checking in Flash/Flex: Adobe Squiggly</title>
		<link>http://www.andensolutions.com/index.php/blogs/spell-checking-in-flashflex-adobe-squiggly/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/spell-checking-in-flashflex-adobe-squiggly/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 04:57:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=240</guid>
		<description><![CDATA[Adobe Squiggly is a Flash spell-checker library released by Adobe Labs. It adds common spell-checker features to Flash/Flex text controls such as highlighting misspelled words and word-suggestion. This is probably the best (free) available option when developing for Flash 10 or newer. In order to use this library you must first download it from the [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe Squiggly is a Flash spell-checker library released by Adobe Labs. It adds common spell-checker features to Flash/Flex text controls such as highlighting misspelled words and word-suggestion. This is probably the best (free) available option when developing for Flash 10 or newer.</p>
<p>In order to use this library you must first download it from the official site: <a href="http://labs.adobe.com/technologies/squiggly/">http://labs.adobe.com/technologies/squiggly/</a>. The Squiggly package includes several flash libraries (swc), some dictionary files, and a few examples of the libraries integration using Flex, AIR, and actionscripts.</p>
<p>This post will guide you through the creation of a small Spark project that will use the  AdobeSpellingUIEx.swc file to enable spell checking on a text area component.  You should use the AdobeSpellingUI.swc library if you need to implement Squiggly for &#8216;mx&#8217; components.</p>
<ol>
<li>Let&#8217;s start by opening Flash Builder and creating a new Flex Project named FlashSpellCheck.</li>
<li>Add a TextArea to the main application with id=&#8221;txtArea&#8221;.<code><br />
</code></li>
<li>Copy the AdobeSpellingUIEx.swf file from the SquigglySDK\libs folder you just downloaded into your project &#8220;libs&#8221; folder.</li>
<li>Copy the dictionary files to your project. By default the dictionary files go to the root of the project. For bigger projects it&#8217;s advisable to place them somewhere else. In this case we&#8217;ll use an &#8220;assets&#8221; folder. You will need to copy the content from the SquigglySDK\src folder from the unzipped package. There should be a file called AdobeSpellingConfig.xml and a folder called dictionaries.</li>
<li>Tip 1: Squiggly looks for the dictionary config file inside your project root. Since we placed that file inside the &#8220;assets&#8221; folder, we need to let the library know about this new location by calling the spellingConfigUrl method on the CreationComplete event of the application:<br />
<code>SpellUI.spellingConfigUrl = "assets/AdobeSpellingConfig.xml";</code></li>
<li>Tip 2: The AdobeSpellingConfig.xml also looks for the rules and dictionary files to be inside your root/dictionaries folder. Since we moved everything inside the assets package you will also need to edit this file and update the paths for the ruleFile and the dictionaryFile.<code><br />
</code></li>
<li>Tip 3: By default web servers won&#8217;t allow flash to load the ruleFile and dictionaryFiles that have extensions &#8220;aff&#8221; and &#8220;dic&#8221; respectively. In order to work around this issue without reconfiguring your server you can rename those two files and give them an &#8220;xml&#8221; extension. Remember to update the AdobeSpellingConfig.xml accordingly. In our case this file ends up looking like this:<br />
<code>&lt;LanguageResource language="English" languageCode="en_US" ruleFile="assets/dictionaries/en_US/en_US_aff.xml" dictionaryFile="assets/dictionaries/en_US/en_US_dic.xml"/&gt;</code></li>
<li>Our last step consist on telling the SpellUI class which visual components will implement the spell-checking, in this case the TextArea. We also do this on the CreationComplete event:<br />
<code>SpellUI.enableSpelling(txtArea, "en_US");</code></li>
</ol>
<p>You can download the source code from <a href="/portfolio/squiggly/FlashSpellCheck.zip">here</a>.  And this is the demo file we just created. Feel free to make some typos:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_FlashSpellCheck_1533765530"
			class="flashmovie"
			width="703"
			height="300">
	<param name="movie" value="/portfolio/squiggly/FlashSpellCheck.swf" />
	<param name="base" value="/portfolio/squiggly/" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/squiggly/FlashSpellCheck.swf"
			name="fm_FlashSpellCheck_1533765530"
			width="703"
			height="300">
		<param name="base" value="/portfolio/squiggly/" />
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/spell-checking-in-flashflex-adobe-squiggly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Remote Shared Objects from Flex and .NET</title>
		<link>http://www.andensolutions.com/index.php/blogs/add-a-word-game/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/add-a-word-game/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 20:33:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=209</guid>
		<description><![CDATA[Using WebORB and Remote Shared Objects (RSO)]]></description>
			<content:encoded><![CDATA[<p>This past week our team was playing around with integrating Remote Shared Objects (RSO) and WebORB.</p>
<p>An RSO is an object that lives on the server. It resides in the scope of a messaging application clients connect to. More than one client can connect to an RSO and all of them will access to the data in the RSO. We used WebORB for managing the RSO and providing access to the RSO for various clients.</p>
<p>We came up with a small online version of the “Add a word” game that uses RSOs to build a sentence as well as manage user turns. The object of this game is to add a word to a sentence, one user at a time, and eventually come up with a very long sentence (that still makes sense).<br />
Consider the following example:</p>
<ul>
<li> Two connected users begin a game of “Add a word”.</li>
<li> The application assigns turns to each of the connected users.</li>
<li> User 1 starts the game by typing “My”. Once User 1 submits a word, it is the next user’s turn. The application automatically disables the submit button for the first user, and enables it for the next user.</li>
<li> User 2 types “house” and clicks Submit, passing control back to User 1</li>
<li> User 1 types “is”, and so on.</li>
<li> During the game, the RSO keeps track of the content of the sentence. At this point it will read “My house is”.</li>
</ul>
<p>You should note that there&#8217;s no need for a server-side code to create this simple application, especially if you just want to add words to a sentence stored in the RSO. We just added a bit of complexity to the programming to showcase that either the clients (ActionScripts) and/or the server (.NET C#) can access and modify the RSO.<br />
This simple example demonstrates how to use Remote Shared Objects and WebORB together.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_weborbrso_157393525"
			class="flashmovie"
			width="705"
			height="450">
	<param name="movie" value="/portfolio/WebORBRSO/weborbrso.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/WebORBRSO/weborbrso.swf"
			name="fm_weborbrso_157393525"
			width="705"
			height="450">
	<!--<![endif]-->
		

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>You can download the code (C# and ActionScripts) from <a href="/portfolio/WeborbRSO/WebORBRSO.rar">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/add-a-word-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WhiteHouse.gov releases Drupal modules back to the community</title>
		<link>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 21:40:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=199</guid>
		<description><![CDATA[This past April 21st, WhiteHouse.gov has released back to the Drupal community four modules developed especially for their site.  It&#8217;s worth mentioning that the White House website has been built using Drupal, an open source content management system that we really love here at Anden Solutions. This new code is available for download to anyone [...]]]></description>
			<content:encoded><![CDATA[<p>This past April 21st, <a title="WhiteHouse.gov" href="http://www.WhiteHouse.gov" target="blank">WhiteHouse.gov</a> has released back to the Drupal community four modules developed especially for their site.  It&#8217;s worth mentioning that the White House website has been built using Drupal, an open source content management system that we really love here at  Anden Solutions.</p>
<p>This new code is available for download to anyone from the <a title="Drupal's website" href="http://www.drupal.org" target="blank">Drupal</a>&#8216;s website and has been sponsored by The Executive Office of the President. This code added to Drupal&#8217;s functionality in three ways:</p>
<ol>
<li> <strong>Scalability</strong>: The <a title="Context HTTP Headers Module" href="http://drupal.org/project/context_http_headers" target="blank">Context HTTP Headers</a> module allows site builders to add new metadata to the content they serve. The <a title="Akamai Module" href="http://drupal.org/project/akamai" target="blank">Akamai </a>module allows a website to integrate with Akamai&#8217;s Content Delivery Network.</li>
<li> <strong>Communication</strong>: the <a title="GovDelivery Module" href="http://drupal.org/project/govdelivery" target="blank">GovDelivery</a> module provides integration with the GovDelivery On-Demand Mailer service, a web service for GovDelivery customers that sends messages directly based on configured account information.</li>
<li> <strong>Accessibility</strong>: the <a title="Node Embed Module" href="http://drupal.org/project/node_embed" target="blank">Node Embed</a> module allows embedding one node inside the body of another node. E.g.: it allows embedding an Image/Slideshow/Video node within the body of an Article node.</li>
</ol>
<p>We, at Anden Solutions, think that&#8217;s really nice to see a governmental institution endorsing Drupal and also contributing code back to the community. Let&#8217;s hope for more!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/whitehouse-gov-releases-drupal-modules-back-to-the-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial: Including Google Maps in an Adobe Flex application</title>
		<link>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 14:40:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=136</guid>
		<description><![CDATA[It is really easy to add Google Maps in your Flex Application. In order to do so you need to follow these steps. Open the Adobe Flex Builder. Select File / New / Flex Project. Type the project name (e.g.: GoogleMaps), then make sure to select &#8220;Web Application&#8221; and &#8220;server type = None&#8221;. Click Next, [...]]]></description>
			<content:encoded><![CDATA[<p>It is really easy to add Google Maps in your Flex Application. In order to do so you need to follow these steps.</p>
<ol>
<li>Open the Adobe Flex Builder.</li>
<li>Select File / New / Flex Project.</li>
<li>Type the project name (e.g.: GoogleMaps), then make sure to select &#8220;Web Application&#8221; and &#8220;server type = None&#8221;.</li>
<li>Click Next, select output folder, click Next, and then click Finish.</li>
<li>Download the Google Maps library file from: <a href="http://maps.googleapis.com/maps/flash/release/sdk.zip" target="blank">http://maps.googleapis.com/maps/flash/release/sdk.zip</a>. This file contains two library files (swc) and a complete documentation. You need to extract the swc with the &#8220;_flex&#8221; suffix in your project&#8217;s lib folder. The other swc file is for Adobe Flash CS3 projects.</li>
<li>Add the Google namespace in your application:
<pre class="brush: as3; title: ;"> xmlns:maps=&quot;com.google.maps.*&quot;
</pre>
</li>
<li>Obtain a free Maps API Key from:  http://code.google.com/apis/maps/signup.html. You&#8217;ll need to read and agree with the terms and conditions and then enter the domain where the swf will be hosted. Important, the API key is compiled into the <code>SWF</code> file and must match the domain  where the <code>SWF</code> file is hosted, otherwise the maps will throw an errow. After you select the &#8220;generate API key&#8221; button you will be asked to login to your google (gmail) account. If you don&#8217;t have one you may need to get a free one.</li>
<li>Copy your key string. It will look something like this:
<pre class="brush: as3; title: ;">ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw</pre>
</li>
<li>Add a map tag to your application with the following mxml tag:
<pre class="brush: as3; title: ;">
&lt;maps:Map id=&quot;map&quot; width=&quot;100%&quot; height=&quot;100%&quot;
key=&quot;ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw&quot;/&gt;
</pre>
<p>Make sure to use the key you just generated.</li>
<li>Build the application and you&#8217;ll get something like this (right click to view source):<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_googleMaps_839198197"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="/portfolio/googlemaps/1/googleMaps.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/googlemaps/1/googleMaps.swf"
			name="fm_googleMaps_839198197"
			width="400"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></li>
</ol>
<h3>Customizing your map</h3>
<p>You can customize your map in several ways.</p>
<ol>
<li>Start by adding a listener for the event mapevent_mapready on your map tag.
<pre class="brush: as3; title: ;">&lt;maps:Map id=&quot;map&quot; width=&quot;100%&quot; height=&quot;100%&quot;  mapevent_mapready=&quot;onReadyMap()&quot;
key=&quot;ABQIAAAAIyrI2Cef9Zj1PgunfzS-0hT5LyBjkUNHLJk6muZMm94ZR3_vGxRs7Scfdxjpq_yXsYXyX68PIc7Qjw&quot;/&gt;
</pre>
</li>
<li>On the map ready event you could add different features such us:
<ul>
<li>Set the initial position of the map</li>
<li>Add zoom control</li>
<li>Add a marker</li>
<li>Allow scrolling using the mouse wheel</li>
</ul>
<pre class="brush: as3; title: ;">public function onReadyMap():void
{
//set initial position
map.setCenter(new LatLng(38.970353, -84.679638), 10, MapType.NORMAL_MAP_TYPE);

//zoom control
var zoom:ZoomControl = new ZoomControl()
zoom.scaleX=1.2;
zoom.scaleY=1.2;
zoom.x=0;
zoom.y=0;
map.addControl(zoom);

    			//allow scroll with mouse wheel
map.enableScrollWheelZoom();

//adding a marker
var m:Marker = new Marker(new LatLng(38.970353, -84.679638),
new MarkerOptions({
fillStyle: new FillStyle({alpha: 0.75,color: 0x00ff00}),
hasShadow: true,
radius: 10,
strokeStyle: new StrokeStyle({alpha: 0.75,color: 0x0000ff,thickness: 1}),
tooltip: &quot;Anden Solutions, LLC&quot;})
);
map.addOverlay(m);

}</pre>
</li>
<li>You can see the results in the following map:<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_googleMaps_341076408"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="/portfolio/googlemaps/2/googleMaps.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/portfolio/googlemaps/2/googleMaps.swf"
			name="fm_googleMaps_341076408"
			width="400"
			height="400">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object></li>
</ol>
<p>For more information visit the <a title="Google Maps API" href="http://code.google.com/apis/maps/documentation/flash/intro.html" target="_blank">Google Maps API</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/tutorial-include-google-maps-in-an-adobe-flex-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adobe Flex Best Practices</title>
		<link>http://www.andensolutions.com/index.php/blogs/flex-best-practices/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/flex-best-practices/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 18:34:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=48</guid>
		<description><![CDATA[Our team has been in the process of developing a set of Adobe Flex best practices for quite a while. There are several posts on the internet that address this issue. These posts range from best practices for setting up the project to naming and coding conventions. The following posts are the ones we identified [...]]]></description>
			<content:encoded><![CDATA[<p>Our team has been in the process of developing a set of Adobe Flex best practices for quite a while. There are several posts on the internet that address this issue. These posts range from best practices for setting up the project to naming and coding conventions. The following posts are the ones we identified as the most useful and better prepared:</p>
<p><strong>Project Organization:</strong><br />
<a href="http://www.adobe.com/devnet/flex/articles/best_practices_pt1.html" target="blank">Flex best practices – Part 1: Setting up your Flex project</a>. Posted by Sean Moore in the Adobe Developer Connections site.</p>
<p><strong>Flex Naming and Coding Conventions:</strong><br />
<a href="http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/pt/" target="_blank"> Adobe Flex Coding Guidelines (English version)</a> posted by D-Click.<br />
<a href="http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions" target="_blank">Flex SDK coding conventions and best practices</a> posted by Adobe Open Source.</p>
<p><strong>Performance Guidelines</strong><br />
In addition to these conventions, we&#8217;ve also developed our own set of guidelines, mostly targeted to improve the performance of the Flex applications:</p>
<ul>
<li>Load the Flex Framework as a runtime-shared-libraries (RSLs). This will reduce the size of your applications and the time it requires to download.</li>
<li>Always use strongly typed objects. E.g.: <em>var myVariable:Number;</em></li>
<li>Always use weak references with listeners when possible, except with anonymous functions : <em>addEventListener(event, function, false, 0, true)</em>.</li>
<li>For the cases when weak references may not be possible, remove the event listener once it&#8217;s not needed anymore using <em>&#8220;removeListener&#8221;</em>.</li>
<li>Clear references to unused data. E.g.: <em>myObject.myData=null;</em></li>
<li>Cast objects using <em>&#8220;as&#8221;</em> instead of <em>&#8220;(Type)&#8221;</em> except when casting Top Level classes. E.g. <em>myTextInput.text = myNumberData.value as String</em>. If the casting is not allowed it will return null instead of a Run Time Error.</li>
<li>Use deferred instantiation (<em>creationPolicy=”auto”</em>) for multiple views components such as viewstacks, accordeons, and tabnavigators. This is the default  behavior of these components.</li>
<li>Divide big applications into separate modules.</li>
<li>Avoid using repeaters at all cost.</li>
<li>Aovid using <em>&#8220;setStyles&#8221;</em> unless it&#8217;s performed during the object creation.</li>
<li>Reduce the number of nested components. Use VBox or HBox instead of Grids. Canvas are always a good option, but you&#8217;ll need to align each component inside it.</li>
</ul>
<p><strong>Other Resources</strong></p>
<ul>
<li><a href="http://www.slideshare.net/dcoletta/optimizing-flex-applications/" target="_blank">http://www.slideshare.net/dcoletta/optimizing-flex-applications/</a></li>
<li><a href="http://www.insideria.com/2008/04/flex-ria-performance-considera.html">http://www.insideria.com/2008/04/flex-ria-performance-considera.html</a></li>
<li><a href="http://www.beauscott.com/2008/02/20/using-flex-modules-to-load-dynamic-applications-at-login/" target="_blank">http://www.beauscott.com/2008/02/20/using-flex-modules-to-load-dynamic-applications-at-login/</a></li>
<li><a href="http://www.colettas.org/?p=115" target="_blank">http://www.colettas.org/?p=115</a></li>
<li><a href="http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html" target="_blank">http://www.insideria.com/2009/04/51-actionscript-30-and-flex-op.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/flex-best-practices/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install Adobe LiveCycle Data Services with Apache Tomcat web server</title>
		<link>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/</link>
		<comments>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 20:21:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>

		<guid isPermaLink="false">http://www.andensolutions.com/?p=32</guid>
		<description><![CDATA[Adobe LiveCycle Data Services ES is a very nice complement to Adobe Flex if you are planning to develop Enterprise Solutions. In this blog entry I&#8217;ll describe the process to get LiveCycle working with the Apache Tomcat web server. LiveCyle Data Services comes by default with Adobe JRun. You might wonder why we didn&#8217;t user [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe LiveCycle Data Services ES is a very nice complement to Adobe Flex if you are planning to develop Enterprise Solutions. In this blog entry I&#8217;ll describe the process to get LiveCycle working with the Apache Tomcat web server.</p>
<p>LiveCyle Data Services comes by default with Adobe JRun. You might wonder why we didn&#8217;t user JRun. Well, first of all, JRun is only free for the developer edition while Tomcat is completely free.</p>
<p>Also, even though the LiveCycle and Jrun deployment was uneventful, and all the samples ran without any problem, whenever we tried to create or modify a java class we kept getting the &#8220;major.minor version50.0 error&#8221; on the JRun server.  It seems that there&#8217;s some kind of incompatibility between the JRun jars and the Flex jars.</p>
<p>Anyway, lets go back to the process of installing and configuring the software.</p>
<p><strong>1. Download and install java JDK.</strong></p>
<ul>
<li>Remove older installations of the JDK or JRE from your system. You&#8217;ll need to do this from the Control Panel.</li>
<li>Download the <a title="Java JDK" href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">java JDK</a> from Sun&#8217;s website. We used the version 1.6.0_04.</li>
<li>Select the Download button besides JDK. Make sure you download the JDK and not just the JRE.</li>
<li>Select your platform -in our case, Windows- and select the checkbox to agree with the agreement. Then select &#8220;Continue&#8221;.</li>
<li>Select the file you want to download. In our case we selected &#8220;Windows Offline Installation. Make sure to select the link otherwise you&#8217;ll end up using Sun Download Managers.</li>
<li>Once the file is downloaded on your computer, open it.</li>
<li>Accept the License Agreement.</li>
<li>Click &#8220;next&#8221; to accept the default settings.</li>
<li>Click &#8220;next&#8221; to start installing Java JDK.</li>
<li>Click &#8220;finish&#8221; to close the installation software and you are done with the first step.</li>
</ul>
<p><strong>2. Download and install Apache Tomcat.</strong></p>
<ul>
<li>You&#8217;ll need to donwload the <a title="Apache Tomcat" href="http://tomcat.apache.org/download-60.cgi" target="_blank">Apache Tomcat</a> web server from the Apache&#8217;s website. We used the &#8220;Windows Service Installer&#8221; version 6 of the web server.</li>
<li>Open the installation file and click &#8220;next&#8221; on the welcome window.</li>
<li>Accept the license agreement by clicking the &#8220;I Agree&#8221; button.</li>
<li>Click the &#8220;next&#8221; button on the choose components . You might want to install the Examples if you are interested.</li>
<li>We installed the software to the C:\Tomcat folder, since the default path is too long.</li>
<li>Select the http port, if you have another web server you might want to change the default port to something like 8050 or 8060. Enter a password for the admin user and click &#8220;next&#8221;.</li>
<li>Select the path to the JDK you just installed. Make sure to select the jre folder inside the jdk installation folder. E.g.: C:\Program Files\Java\jdk1.6.0_04\jre. Select &#8220;next&#8221; to install.</li>
<li>Click the &#8220;finish&#8221; button. Make sure that the checkbox for &#8220;Run Apache Tomcat&#8221; is selected.</li>
<li>A new icon <img src="http://www.andensolutions.com/wp-content/uploads/2008/01/apache.png" alt="Apache Icon" /> will show up in the notification area of the task bar. If everything went OK you&#8217;ll see a green arrow</li>
</ul>
<p><strong>3. Download and install Adobe LiveCycle ES Express</strong></p>
<ul>
<li>Adobe LiveCycle Data Services is available for <a title="Adobe LiveCycle Data Services ES" href="https://www.adobe.com/cfusion/tdrc/index.cfm?product=livecycle%5Fdataservices" target="_blank">download </a>from the Adobe&#8217;s web site.  You will need an Adobe account to download this file. If you don&#8217;t have one you can create it in a couple of minutes.</li>
<li>Select the language and platform. In our case English | Windows and then hit the &#8220;download&#8221; button.</li>
<li>Open the file you just downloaded.</li>
<li>Click &#8220;next&#8221; in the welcome screen.</li>
<li>Accept the license and click &#8220;next&#8221; again.</li>
<li>Leave the serial empty and click &#8220;next&#8221;. This will install the Express version of LCDS.</li>
<li>Choose a new folder or accept the default folder. E.g.: c:\lcds and click &#8220;next&#8221;.</li>
<li><strong>Important</strong>: you have to select the second radio button that states &#8220;LifeCycle Data Services J2EE web application&#8221;. Then click &#8220;next&#8221;.</li>
<li>Click the &#8220;install&#8221; button.</li>
<li>Once the installation is finish click the &#8220;done&#8221; button.</li>
</ul>
<p><strong>4. LC data services configuration tomcat server.</strong></p>
<ul>
<li>Stop the Apache Tomcat server. You can do this by right-clicking on the Apache Tomcat tray icon and selecting &#8220;stop service&#8221;.</li>
<li>Copy the following Web Archive (war) files from the LCDS folder to the Tomcat\webapps folder (C:\Tomcat\webapps):
<ul>
<li> flex.war</li>
<li>flex-admin.war</li>
<li>samples.war</li>
</ul>
</li>
<li>Start the Apache Tomcat server again. You can do this by right-clicking on the Apache Tomcat tray icon and selecting &#8220;start service&#8221;.</li>
<li>If you check the webapps folder you&#8217;ll see that Tomcat automatically created three new folders for the three new applications you just installed.</li>
</ul>
<p><strong>You are done!</strong> LiveCycle should be working now. Try opening the browser and typing: &#8220;http://localhost:8050/samples/&#8221; (Replace 8050 with the port you selected for the server). You&#8217;ll see the LiveCycle Data Services ES Samples page. Try running some of the examples and enjoy LiveCycle!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andensolutions.com/index.php/blogs/install-adobe-livecycle-data-services-with-apache-tomcat-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

