h3. Sample Projects
Sample IDEA projects for different frameworks/technologies are listed below.
\\
h4. 1. Google App Engine
Download the latest Java App Engine SDK from [http://code.google.com/appengine/downloads.html]. [Download|^appEngineGuestBook.zip] and open the project. IDEA will show error popup about missing path variable, click "Fix it" and specify path to App Engine SDK for APP_ENGINE_SDK_HOME variable. Go to Setting \| Application Servers, click 'Add' button and select "Google App Engine Dev Server", specify path to App Engine SDK.
h4. 2. Contexts and Dependency Injection (JSR-299)
Project contains: run configurations for JBoss and artifact examples
[Download CDI (JSR-299) samples|^cdi_samples.zip]\\
h4. 3. JSF 2.0 (JSR-314)
[Download JSF 2.0 samples|^jsf_2.zip]\\
h4. 4. Spring Security 3.0
Project contains: run configurations for Tomcat and artifact examples
[Download Spring Security 3.0 samples|^spring_security.zip]\\
h4. 5. JPA/Hibernate/SQL sample
[JPA/Hibernate/SQL sample|^JpaHibernateSample.zip]\\
h4. 6. Google Web Toolkit
Download GWT Sdk from [http://code.google.com/webtoolkit/download.html]. [Download|^GwtDynaTable.zip] and open the project. IDEA will show error popup about missing GWT_SDK_HOME path variable, click "Fix it" and specify path to GWT Sdk.
h4. 7. Flex
To build and run the Flex projects you need to download and install Flex SDK ([http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]).
* [Temperatures|http://www.jetbrains.net/confluence/download/attachments/19989371/Temperatures.zip]. This is a tiny application that converts values across different temperature scales. Currently it supports very few scales, but you may easily add your own implementations. See a [demo|http://www.jetbrains.com/idea/training/demos/Flex_Support/Flex_Support.html] for the project setup details.
* [HelloWorld i18n|http://www.jetbrains.net/confluence/download/attachments/19989371/flex_i18n.zip]. This is an example of an application that supports internationalization. Before you compile it you need to create Spanish version of Flex SDK resources. Just run from command line:
{code}
<Flex SDK>/bin/copylocale en_US es_ES
{code}
Also please see related [demo|http://www.jetbrains.com/idea/training/demos/I18n_Flex_Applications/I18n_Flex_Applications.html] for details.
* [BlazeDS|http://www.jetbrains.net/confluence/download/attachments/19989371/blazeds-hello-world.zip]. You need to check Tomcat settings for 'java-server' run configuration. Tomcat from BlazeDS installation can be used which is located at <BlazeDS installation>/tomcat.
* [GraniteDS|http://www.jetbrains.net/confluence/download/attachments/19989371/graniteds-hello-world.zip]. Check Tomcat settings for 'java-server' run configuration before running. See our [blog|http://blogs.jetbrains.com/idea/2009/11/graniteds-projects-in-maia/] for more information.
* [Flexmojos maven project|http://www.jetbrains.net/confluence/download/attachments/19989371/flexmojos_sample.zip]. Compile project by maven ('mvn compile' from command line), then open project in IDEA and reimport maven project (see Maven tool window). Look for more information in our [blog|http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/].
h4. 8. ColdFusion
To develop cfml projects you need to download ColdFusion Developer Server from [http://www.adobe.com/products/coldfusion/editions/#s3|http://www.adobe.com/products/coldfusion/editions/#s3]. [Download|^HelloWorld.zip] and extract project to your coldfusion root (probably C:\ColdFusion8\wwwroot for windows). Open and compile project. Open coldfusion admin ([http://localhost:8500/CFIDE/administrator/enter.cfm] by default). Go to *Server Settings/Java and JVM/ColdFusion Class Path* and add a path to IDEA output directory (ex: C:/ColdFusion8/wwwroot/Sample/out/production/Sample). Restart ColdFusion server. Open [http://localhost:8500/Sample/src/HelloWorld.cfml] url in browser to view the page.
h4. 9. Tapestry
[Download Tapestry 5.1 sample project|^tapestry-sample-project.zip]. All needed libraries included. Also Tomcat 5.5 run configuration provided, so you have to install Tomcat 5.5 if you want to run it. This sample project is based on JumpStart project, see [http://jumpstart.doublenegative.com.au/installation.html] for additional info.
Sample IDEA projects for different frameworks/technologies are listed below.
\\
h4. 1. Google App Engine
Download the latest Java App Engine SDK from [http://code.google.com/appengine/downloads.html]. [Download|^appEngineGuestBook.zip] and open the project. IDEA will show error popup about missing path variable, click "Fix it" and specify path to App Engine SDK for APP_ENGINE_SDK_HOME variable. Go to Setting \| Application Servers, click 'Add' button and select "Google App Engine Dev Server", specify path to App Engine SDK.
h4. 2. Contexts and Dependency Injection (JSR-299)
Project contains: run configurations for JBoss and artifact examples
[Download CDI (JSR-299) samples|^cdi_samples.zip]\\
h4. 3. JSF 2.0 (JSR-314)
[Download JSF 2.0 samples|^jsf_2.zip]\\
h4. 4. Spring Security 3.0
Project contains: run configurations for Tomcat and artifact examples
[Download Spring Security 3.0 samples|^spring_security.zip]\\
h4. 5. JPA/Hibernate/SQL sample
[JPA/Hibernate/SQL sample|^JpaHibernateSample.zip]\\
h4. 6. Google Web Toolkit
Download GWT Sdk from [http://code.google.com/webtoolkit/download.html]. [Download|^GwtDynaTable.zip] and open the project. IDEA will show error popup about missing GWT_SDK_HOME path variable, click "Fix it" and specify path to GWT Sdk.
h4. 7. Flex
To build and run the Flex projects you need to download and install Flex SDK ([http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]).
* [Temperatures|http://www.jetbrains.net/confluence/download/attachments/19989371/Temperatures.zip]. This is a tiny application that converts values across different temperature scales. Currently it supports very few scales, but you may easily add your own implementations. See a [demo|http://www.jetbrains.com/idea/training/demos/Flex_Support/Flex_Support.html] for the project setup details.
* [HelloWorld i18n|http://www.jetbrains.net/confluence/download/attachments/19989371/flex_i18n.zip]. This is an example of an application that supports internationalization. Before you compile it you need to create Spanish version of Flex SDK resources. Just run from command line:
{code}
<Flex SDK>/bin/copylocale en_US es_ES
{code}
Also please see related [demo|http://www.jetbrains.com/idea/training/demos/I18n_Flex_Applications/I18n_Flex_Applications.html] for details.
* [BlazeDS|http://www.jetbrains.net/confluence/download/attachments/19989371/blazeds-hello-world.zip]. You need to check Tomcat settings for 'java-server' run configuration. Tomcat from BlazeDS installation can be used which is located at <BlazeDS installation>/tomcat.
* [GraniteDS|http://www.jetbrains.net/confluence/download/attachments/19989371/graniteds-hello-world.zip]. Check Tomcat settings for 'java-server' run configuration before running. See our [blog|http://blogs.jetbrains.com/idea/2009/11/graniteds-projects-in-maia/] for more information.
* [Flexmojos maven project|http://www.jetbrains.net/confluence/download/attachments/19989371/flexmojos_sample.zip]. Compile project by maven ('mvn compile' from command line), then open project in IDEA and reimport maven project (see Maven tool window). Look for more information in our [blog|http://blogs.jetbrains.com/idea/2009/09/flexmojos-inmaia/].
h4. 8. ColdFusion
To develop cfml projects you need to download ColdFusion Developer Server from [http://www.adobe.com/products/coldfusion/editions/#s3|http://www.adobe.com/products/coldfusion/editions/#s3]. [Download|^HelloWorld.zip] and extract project to your coldfusion root (probably C:\ColdFusion8\wwwroot for windows). Open and compile project. Open coldfusion admin ([http://localhost:8500/CFIDE/administrator/enter.cfm] by default). Go to *Server Settings/Java and JVM/ColdFusion Class Path* and add a path to IDEA output directory (ex: C:/ColdFusion8/wwwroot/Sample/out/production/Sample). Restart ColdFusion server. Open [http://localhost:8500/Sample/src/HelloWorld.cfml] url in browser to view the page.
h4. 9. Tapestry
[Download Tapestry 5.1 sample project|^tapestry-sample-project.zip]. All needed libraries included. Also Tomcat 5.5 run configuration provided, so you have to install Tomcat 5.5 if you want to run it. This sample project is based on JumpStart project, see [http://jumpstart.doublenegative.com.au/installation.html] for additional info.