The Potomac Framework for Flex is:
  • A modularity framework inspired by OSGi
  • A UI composition framework that pulls user interface ‘parts’ together to form applications
  • A general purpose business application framework (providing reusable features for business applications)
  • A dependency injection framework
  • An extensible metadata processor with reflection support
Potomac was inspired by many existing technologies, namely the OSGi and the Eclipse RCP. If you’re a Java developer familiar with the Eclipse RCP, many of the Potomac features should feel similar. If you’re a Flex developer interested in enterprise grade modularity, then Potomac is the framework for you.

Calling Services in Bundles

September 29th, 2009 Comments off

Since Potomac bundles are defined in Flex Library projects, the normal remoting configuration in application projects isn’t available. Therefore to call a BlazeDS service, you’ll need to specify the necessary parameters at runtime. For BlazeDS remoting, entering the endpoint parameter should be enough. For example:

<mx:RemoteObject desitination="dest" 
endpoint="http://localhost:8080/myBlazeDSApp/messagebroker/amf" />

Read more about this technique here.

One more note, you must also specify the rpc.swc to load as an RSL in your main Potomac application project. Since Potomac bundles do not cause the RPC classes to be statically linked to your main app, you must specify the rpc.swc to load as an RSL. In future drops of Potomac, this will be configured for you automatically.

www.potomacframework.org is live

September 22nd, 2009 Comments off

We’re pleased to announce the launch of the Potomac framework. This is an initial beta release and doesn’t have all the features we plan to release in v1.0 – but it has the majority of the core infrastructure.

Take a look at the 5 Minute Tour and the Getting Started guide.