What is Examples On-Demand?

Examples On-Demand™ is a free service that  provides developers an ever growing catalog of ready-to-run example applications that demonstrate how to quickly use popular programming technologies and frameworks, such as Ajax frameworks, JSP, JSF, Struts, Spring, Hibernate, JPA and EJB3.  Each of the Examples On-Demand example applications are designed to run directly on the server-sandbox provided in MyEclipse 6.0 with zero configuration and can be downloaded directly into MyEclipse 6.0 with a 1-click installation process from the Examples page.

See screenshots of Examples OnDemand in action.

"Show me, don't tell me" is the motto of Examples On-Demand. You can find "How-to" tutorials for every technology and framework available on the web. Yet most require you to actually setup the development and runtime environments and then translate the tutorial examples into your enviornment without flaw.  Examples On-Demand doesn't just talk about technologies and frameworks but rather it shows you a fully working example in seconds by directly them into your MyEclipse 6 workspace.  Then they can be run with 1-click deployment using integrated server sandbox and runtime stacks.

Additional key benefits of Examples On-Demand include:

  • A working example is worth more than a 1,000 word tutorial
  • New examples added weekly
  • Installs in seconds using Examples On-Demand Browser
  • Examples run on the MyEclipse Server Sandbox with zero configuration
  • From the insight of running and experimenting with an example developers quickly gain confidence that they can replicate the successful experience in their own application of the same technologies and frameworks
  • Developers can use the Example On-Demand examples as templates for creating their own applications
  • All example code is open-sourced under the Apache 2 license allowing developers to reuse any of the examples code for their own purposes with no additional open-source requirements

MyEclipse Server Sandbox

All Example On-Demand projects are developed with the goal that they can be run immediately after being added to the developer's workspace without needing to install and configure additional resources (like an application or datasource). This is made possible by the MyEclipse integrated Server Sandbox. The MyEclipse Server Sandbox has evolved with the addition of the MyEclispe Derby Server in the MyEclipse 5.5 release and the MyEclipse Tomcat Server in the MyEclipse 6.0 release. Combined, these two integrated servers provide a complete "out of the box" application development runtime solution for use by example applications.


Examples On-Demand Browser

Examples On-Demand run from directly within MyEclipse 6.0.1.  Download the MyEclipse 6.0.1 installer here.  An alternative installation method is to use Pulse which will download, configure and manage your Eclipse-based tools, including MyEclipse.

MyEclipse 6.0.1+ provides an integrated Example On-Demand Browser. The Examples On-Demand Browser is an innovative application of rich internet application (RIA) technology that enables you to seamlessly browse online example applications and then rapidly download, install and run those example resources from directly within the MyEclipse workbench in a matter of seconds.

Launch the Examples On-Demand Browser from the MyEclipse menu; click the Examples On-Demand menu item:

Examples On-Demand Browser operates directly within the MyEclipse workbench window. When it opens, you can browse the example projects complete with descriptions of their function and the technologies they use.



1-Click Example Download and Installation

If you find an example application that you want to work with, simply click its corresponding Install  button. The Examples On-Demand Browser will then download and install the projects that make up the application into your workspace.  During the installation process all projects are compiled and validated.  Some examples make use of MyEclipse Derby database in the Server Sandbox, so you may see the validation process automatically start the MyEclipse derby database. 

Each example project provides a README.txt  file in its root directory that provides project details.

Once you have installed an example to your workspace, feel free to change the source code and experiment with the application. 

Currently, Examples On-Demand projects that are installed to your workspace are still connected to the examples.myeclipseide.com public CVS repository.  You can safely disconnect the project from the CVS repository by going to project context-menu > Team > Disconnect...


1-Click Example Launch and Test

If the project is a Web Project, you can run it immediately using the MyEclipse 6 1-Click Application Launcher. Right-clicking on the root of the project and choose Run As > MyEclipse Server Application.  The 1-Click Application Launcher performs the following operations:

  • Packages and deploys the application automatically to the MyEclipse Tomcat Server
  • Starts the server
  • Launches a Web Browser opened to the root of the application

NOTE: If the application you are running requires a database connection, don't forget to start MyEclipse Derby before running the example application or you will most likely get a ConnectionException when the application tries to access the DB and cannot connect .

After the application is running in the appserver, MyEclipse will open a Browser View to the home page of your example application. You can then run your application immediately and even edit it or debug it on the fly if you wanted.


Examples On-Demand is a trademark of Genuitec, LLC