Get Your Quote

Awesome! We’re just about ready to put together a quote for you. We just need your email, and for you to check out a couple savings you can take advantage of.

Optionally tell us a bit more about yourself

Take Advantage of extra Savings!

Pre-activation includes professional edition.
Your Quote hase been successfully submited.

MyEclipse for Spring 8.6.1: Google App Engine Support, Customizable Code Generation and More

Posted on Oct 19th 2010

On October 11th, MyEclipse for Spring released version 8.6.1 which contains the set of significant improvements described in this blog.
Please visit the MyEclipse for Spring informational site, educational materials and youtube channel for more information.
STS Support Skyway and Genuitec are extremely excited to announce a new set of options for Spring developers.  First and foremost, October 11th marked the launch a new version of our Spring development accelerators -- MyEclipse for Spring: STS Edition. Developers who are currently using SpringSource Tool Suite (STS) to build their Spring-powered enterprise applications now have the option of installing the core MyEclipse for Spring capabilities directly into STS as a value-added plug-in.  Read more. Google App Engine Support (early access) MyEclipse for Spring 8.6.1 is rolling out an early access capability for users to quickly scaffold applications for Google App Engine, streamlining deployment to the Google Cloud. Using the power of MyEclipse for Spring scaffolding, you can use existing Java Beans, JPA Entities or database tables and generate fully-functional Spring applications that are built to run on Google App Engine.  MyEclipse for Spring tailors and optimizes the generated code and configurations so the application is ready to deploy.  Learn more. See the 5min VIDEO. Customizable Code Generation (early access) Customizable Code Generation provides a mechanism for users to customize any of the artifacts that are generated as part of scaffolding or artifact generation. Developers and architects can now incorporate their own development standards into the generation templates so that scaffolded GWT, Flex, iPhone, Spring MVC or Spring Web Flow applications adhere to custom requirements or corporate standards.  Learn more. See the 5min Customizable Generation video. Enhanced Maven Support Enhanced Maven Support includes providing the most optimal pom file and ensuring support of the most common spring web maven projects in both MyEclipse and STS.  This enhancement is a direct result from our interactions with our MyEclipse customers that use Maven. Thanks again! Flex 4.0 Support We’ve added a new option for scaffolding an Adobe Flex front-end.  The new default generates Flex 4.0 mxml and includes the Flex 4.0 open-source compiler.  We kept Flex 3.5 as an option due to the large stylistic and mxml differences in Flex 4.0.  Check out the updated Flex tutorial. Lot of issues resolved A release wouldn’t be a release without adding fixes to bugs and adding a handful of small improvements.  Please keep those forum posts coming if you have an idea or run into an issue!
How do I get it?
MyEclipse for Spring comes with a free 30 day trial.  Download it at the downloads page.  STS users, follow the appropriate link under the MyEclipse for Spring STS Edition based on the version of STS you are using.
Limited Offer: MyEclipse for Spring is now $99!
To celebrate the release of MyEclipse for Spring: STS Edition, Genuitec and Skyway are proud to offer MyEclipse for Spring at the special price of only $99/year.  This limited-time pricing is available for both the traditional MyEclipse for Spring IDE solution (Enterprise Edition) and the new MyEclipse for Spring: STS Edition. This means that existing MyEclipse Pro users can now upgrade to MyEclipse for Spring for about $35. Your actual subscription date doesn't matter - you can take advantage now! Contact subscriptions or visit the MyEclipse online store today to take advantage of this special offer.
Enjoy 8.6.1!

What is generated in MyEclipse 8.6 Spring Flex Scaffolding?

Posted on Jun 15th 2010

One of the new web client scaffolding options in MyEclipse for Spring 8.6 (ME4S) is Adobe Flex.  If I had to summarize the capability in one sentence it would go something like:  ME4S 8.6 generates ready-to-run Spring-Flex BlazeDS Hibernate applications using the RemoteObject to communicate with Spring Services that support create, read, update and delete operations for related objects in a matter of minutes.

[caption id="attachment_1478" align="aligncenter" width="450" caption="Running ME4S Flex Application (Click to Enlarge)"]Running ME4S Flex App[/caption]

Of course, there is so much more contained in any one scaffolding option, and I wanted to take this opportunity to share all of the techniques used in our Flex scaffolding along with a high level overview of what is generated.  A lot of these were a compilation of best practices found within the Flex community and recommended to us by Flex experts.

First, a list describing certain keywords and techniques containing links to some of our favorite sites that helped us with more information on each topic:
Secondly, the following image points out an overview of what is generated. (Click on it to enlarge)

What's generated in 8.6 Flex Scaffolding

Finally, there are a couple items to note when scaffolding Flex in MyEclipse for Spring 8.6.  These all point to forum threads with more information.  Please take a look and contribute to the thread if you have any thoughts.  We would love to get your feedback on these items AND your thoughts on our future direction with Flex. Thanks all!  I hope this blog post helps!  Also, check out the 5 minute video of MyEclipse for Spring Flex Scaffolding to help you get started. There are two ways to get your hands on M1. Existing Pro subscribers can use the add-on option in the Dashboard tab of the Software & Workspace Center, while new MyEclipse users can download a free, 30-day trial at Dave Meurer

MyEclipse for Spring, Flex, and Spring BlazeDS example [part 2/2] – UPDATED!!

Posted on Feb 16th 2010

*** 6/8 UPDATE:  We have now added Flex Scaffolding in MyEclipse for Spring 8.6!!  Create an entire Spring Flex CRUD app in a matter of seconds.  Try it by downloading the 8.6 milestone. Check out the what's generated blog or the getting started video. UPDATES: This blog has been updated for MyEclipse for Spring 8.5, Spring 3.0, and Flash Builder 4.  If you are looking for the previous version that includes the MyEclipse for Spring milestone, Spring 2.5, and Flex Builder 3, download the archived pdf. In Part 1 of this example, I covered prerequisites, project creation and setup, and scaffolding in MyEclipse for Spring.  In Part 2, I will discuss adding the necessary pieces to get a Spring application Flex enabled through BlazeDS remoting. This blog is divided into 2 parts:


  1. Add the messagebroker servlet mapping: Insert the following code where the servlet mappings are defined.  This mapping is used by the Flex remoting object.
        <servlet-name>ClassicFlexCars Servlet</servlet-name>
  2. Add the flex context file: Find where the ClassicFlexCars Servlet is defined.  In the param-value element for the contextConfigLocation, add /WEB-INF/flex-servlet.xml.  So the resulting servlet block should look like:
        <servlet-name>ClassicFlexCars Servlet</servlet-name>


  1. Add a file, named flex-servlet.xml, to the ClassicFlexCars > WebRoot/WEB-INF folder with the following contents:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns=""
         <!-- Expose the ProductService bean for BlazeDS remoting -->
         <flex:remoting-destination ref="ProductService" />


  1. When adding the Flex Project Type, it adds a handful of files to the WebRoot/WEB-INF/flex folder.  Feel free to use whatever Flex provides.  However, to just get remoting up and running on a channel, all you need in the services-config.xml file is the following:
    <?xml version="1.0" encoding="UTF-8"?>
                <channel ref="my-amf"/>
            <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
    NOTE: Anytime this file is udpated or modified, you'll want to force a recompile of the swf file. These configurations are compiled into the flash file.

Add the spring-flex jar

  1. Add The following jar either through classpath containers or the WEB-INF/lib folder.  This jar can be found at the spring-flex download:
    • org.springframework.flex-1.0.3.RELEASE.jar

Flex UI - ClassicFlexCars.mxml

  1. To get a simple list view of the miniature cars, all that is needed is a remoting object defined, a data grid, and a button to load the data:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx=""
        xmlns:mx="library://" minWidth="955" minHeight="600">
            <s:RemoteObject id="ro" destination="ProductService" />
        <s:VGroup horizontalAlign="left">
            <mx:AdvancedDataGrid dataProvider="{ro.loadProducts.lastResult}"/>
            <s:Button label="Get Cars" click="ro.loadProducts()"/>

Run it on BlazeDS

Add the BlazeDS tomcat server to the MyEclipse Server view by right-clicking the Servers pane and clicking Configure Server Connector.  Configure the Tomcat 6.x server to point to the BlazeDS tomcat directory.  Then add the ClassicFlexCars project to the server and run!  Browse to http://localhost:8400/ClassicFlexCars/ClassicFlexCars.html


< Page 1 | 2

Posted in : Eclipse, General, MyEclipse

MyEclipse for Spring, Flex, and Spring BlazeDS example [part 1/2] – UPDATED!!

Posted on Feb 15th 2010

*** 6/8 UPDATE:  We have now added Flex Scaffolding in MyEclipse for Spring 8.6!!  Create an entire Spring Flex CRUD app in a matter of seconds.  Try it by downloading the 8.6 milestone.  Check out the what's generated blog or the getting started video. UPDATES: This blog has been updated for MyEclipse for Spring 8.5, Spring 3.0, and Flash Builder 4.  If you are looking for the previous version that includes the MyEclipse for Spring milestone, Spring 2.5, and Flex Builder 3, download the archived pdf. A subtle but powerful side effect of having Spring generation capabilities with MyEclipse for Spring is the fact that creating Spring BlazeDS Flex apps is easier and faster than ever. This example covers the basics to getting started with a spring-flex project in MyEclipse for Spring.  The spring-flex framework uses Adobe's open source BlazeDS project, which is the remoting and messaging foundation for connecting a Flex-based front-end to Java back-end services.  MyEclipse for Spring accelerates the Spring development by providing bootstrapping, scaffolding, and visual editing capabilities for all the necessary Spring configuration files code to support a ready to run Spring MVC application.  The tutorial then goes on to tweak the MyEclipse for Spring generated configuration files to support Flex Remoting to produce a simple list view that calls the MyEclipse for Spring generated Spring service.  Want to know more about MyEclipse for Spring, see the MyEclipse for Spring educational materials. This blog is divided into 2 parts:

  • Part 1: Setup & CRUD
  • Part 2: Adding Spring Flex

What you'll need first

Before creating the project, there are a handful of items you'll need to setup your MyEclipse for Spring Flex Builder environment.
  1. Download BlazeDS: I downloaded the BlazeDS turnkey ready-to-use distribution, which comes with a version of tomcat.  The BlazeDS installation guide was very helpful after the download.
  2. Get MyEclipse for Spring: GA is here!! Download a free trial now.
  3. Add Flash Builder 4: Download and install the Flash Builder 4 Plug-ins.  During the installation process, a wizard pane will ask where to install the plugins.  If you are using Mac OS, you may run into warnings about Carbon and Cocoa installations of eclipse and plug-ins not being provisioned.  I clicked through those warnings, installed everything anyway, and was able to get through this sample app with no issues.
  4. References: Have the references section at the end of this blog handy.  They are great resources for deeper understanding on any topic discussed here.

Create the Project & CRUD

There are a couple ways to create a Flex Project within MyEclipse for Spring.  One approach is to separate the web project and flex project.  A good reference for this approach can be found at Srinivas's blog.  In this example, I'll use another approach which is to use one project since my Google search hasn't found a resource on how to do it:
  1. New MyEclipse Web Project: File > New > Web Project.  Name it ClassicFlexCars. I'm using Java EE 5.0, plus all the defaults.  Click Finish.
  2. Add the BlazeDS files: Srinivas's blog has a nice tip about bootstrapping MyEclipse Web Projects with BlaseDS.  Basically, find the blazeds.war on your machine, and extract the contents to your project's WebRoot folder. (usually done outside of MyEclipse) Once extracted, refresh the ClassicFlexCars project and new files should exist, like the ones found in WEB-INF/flex/*
  3. Add Flex Project Type: Right-click the created ClassicFlexCars project, and select Add/Change Project Type > Add Flex Project Project Type.  Modify the defaults as described in the following:
    1. Application server type: J2EE
    2. Use remote object access service: Checked
    3. Enable BlazeDS
    4. Click Next
    5. Root folder: (File path to the WebRoot folder of your project)
    6. RootURL: http://localhost:8400/ClassicFlexCars
    7. Context root: /ClassicFlexCars
    8. Output folder: WebRoot
    9. Click Validate Configuration.
    10. Click Finish.
  4. Clean up the Errors: You may get some errors in the Problems tab after adding the Flex Nature:
    1. An error about Cannot create HTML wrapper will appear. Right-click the error to resolve the issue.  If you don't see the right-click context menu item, it can be resolved by right-clicking on the ClassicFlexCars project > Properties > Flex Compiler > un-check "Generate HTML wrapper file".  Click OK.  Then go back into the Project properties, Flex Compiler and check "Generate HTML wrapper file" to turn it on, and click Ok. You should then see a couple more files generated to your WebRoot, like ClassicFlexCars.html.
  5. Bootstrap: In order to add the Spring 3.0 libraries to the ClassicFlexCars project, right-click the project and select MyEclipse > Add Spring Runtime Dependencies...
  6. Click Next thru the first wizard pane to get to the Runtime Dependencies pane, and select the Spring 3.0 radio button.  Click Finish.
  7. Scaffold: Let's create a ton of Spring app by using one existing table in a matter of seconds, shall we?  If you aren't familiar with MyEclipse for Spring's CRUD Scaffolding capabilities, please take a look at the short How To on CRUD App Scaffolding for more details.
    1. Right-click the ClassicFlexCars project, and select MyEclipse > Scaffold Spring MVC CRUD Application from... This will pop up a wizard, which will walk you through scaffolding options.
    2. Check the Database Schema checkbox, and click Next
    3. Highlight the MyEclipse Derby database schema, click Next
    4. Choose the CLASSICCARS schema, and add the PRODUCT table over to the Scaffolding text area.  Click Next.
    5. Type com.classicflexcars in the top package textbox.  Uncheck the web layer generation. Click Finish or Next to view the remaining wizard panes.

Add Spring Flex

< Page 1 | 2

Posted in : General, Genuitec, MyEclipse