Flex | Granite Data Services

Cocomonio


Archive for flex:

Granite Data Services 3.0.0.M1 and Apache Flex 4.8.0

By Franck November 28th, 2012 Flex, GraniteDS No Comments
Please, feature an image for this post.

The last 3.0.0.M1 release of GraniteDS (see announcement here) is compatible with the last 4.8.0 release of . The two GraniteDS SWCs compiled with Apache Flex 4.8.0 can be found here:

We didn’t have time to include those SWCs in our binary release, but we will include them in the next upcoming release (or milestone). Keep in mind that GraniteDS 3.0.0.M1 is still in a beta stage and that you can experience unexpected gitchs (report them in our ).

Build them yourself

If you want to build yourself GraniteDS SWCs against the Apache Flex release, proceed as follows:

1. Download Apache Flex(R) 4.8.0 and unzip/untar it somewhere (say “flex48″). 2. Spawn a command shell and type (Apache Ant must be installed):

cd flex48/framework
ant thirdparty-downloads

Answer yes to all questions.

3. Download GraniteDS 3.0.0.M1 sources and unzip it somewhere (say “gds30″). 4. Edit env.properties and env45.properties, and fix the FLEX_HOME variable (absolute path to flex48). 5. Then run:

cd gds30
ant -f build.xml
ant -f build-flex45.xml

The first build will fail after building granite-essentials.swc, when trying to compile granite.swc: just ignore that error and proceed with build-flex45.xml.

The two GraniteDS SWCs buit against Apache Flex 4.8.0 should be in the build directory (granite-essentials.swc and granite-flex45.swc): just rename them to granite-essentials-flex48.swc and granite-flex48.swc, you’re done.

Flex, GraniteDS and the Future of RIA

By Franck December 6th, 2011 Flex, GraniteDS 4 Comments
Please, feature an image for this post.

After the recent announcements from Adobe regarding the future of the Flex framework (see, for example, this ) and, unofficially, from Microsoft about Silverlight (see ), the RIA world have been deeply shaken up and it is now time to look at the viable solutions left to the developers.

Before digging into what we, at GraniteDS, think about the Flex and RIA future and how it is influencing our platform roadmap, let’s see who are the different players in this area:

  • Flex (Adobe / Apache Foundation): one of best RIA solution right now, based on the Flash plugin.
  • Silverlight (Microsoft): another very good RIA solution, based on the plugin of the same name.
  • JavaFX (Sun / Oracle): emerging, based on the Java plugin, could be a good alternative if it comes on time.
  • GWT (Google), ExtJS (Sencha) and a plethora of others: good or emerging RIA solutions, no plugin required, targeted at HTML / JavaScript and the pending HTML5 specification.

Now let’s see what Flex brings to the table that makes it such a compelling solution for enterprise applications: a very good IDE and tooling, a strong language (ActionScript3), very good performance and cross-browser compatibility thanks to the Flash Player runtime, a great UI framework with plenty of advanced features (sophisticated component lifecycle, data binding, modularity, skinning, media capabilities, etc.), a good set of built-in, open source and for-pay components, and recently the ability to build cross-platform iOS / Android mobile applications from the same source code with the AIR runtime. All things that made possible for us to build our GraniteDS platform on a strong foundation.

All those capabilities are at worst inexistent, at best very partially matched by the existing alternatives. Without Flex and Silverlight, enterprise RIA developers are left with good but (while at different extents) emerging or less featured frameworks. There is not any doubt that it is possible to build enterprise applications with them, but the development will be much slower than with Flex or Silverlight, less maintainable, missing many advanced features and will require long and extensive testing on the various target browsers. Moreover the landscape of client technologies is evolving at an extremely fast pace with new frameworks, JavaScript evolutions or replacements such as Google Dart or ECMAScript 6 (Harmony), announced almost every day, and it’s very difficult to make a perennial choice right now.

You might have noticed that we only marginally mention HTML5 as an alternative. Indeed we think that HTML5 as it currently exists really is more an alternative to the Flash Player than to the Flex framework. You will always need complementary frameworks and component libraries to get a really usable development platform, and a big issue is that there is no common standard component model that ensures that all this stuff will work happily together. And while some of these HTML5-based frameworks will certainly become strong RIA platforms in the future, they are right now simply not as feature rich and stable as Flex and Silverlight can be, and most likely won’t be in the coming years. There is simply nothing that can replace Flex today.

What Future for the Flex Framework?

According to Adobe, the entire Flex framework will be soon given to the Apache Foundation. This is great news, from an openness and licensing point of vue, but it could also lead to a slow death of this great solution if nobody is truly committed into its development and maintenance. While Adobe seems to be willing to bind some of its own resources on the framework future, we think that a large part of the Flex community should be involved and we are very exited with the idea of participating to the Flex framework evolution.

While a participation as simple contributors is very likely, we wish to take a bigger part in the governance of the project. Of course this is subject to the choices of Adobe and the Apache Foundation concerning the people involved in this governance but, as a significant player in the Flex area, the GraniteDS team should be one of the natural choices in this community selection process.

If Flex as an Apache Foundation project is widely open to community contributors, we believe that it will remain the most powerful RIA platform in the future and may lead the industry for years to come until HTML5 or one of its next iterations can finally provide a credible solution. Flex is not going to disappear in the foreseeable future and is still the better choice for developing rich enterprise applications.

LCDS, BlazeDS and GraniteDS

GraniteDS has been the main alternative to LCDS (Livecycle Data Services) from the beginning and, after more than 5 years of polishing and improvements, it is a widely used, stable, production-ready, open-source and feature-rich solution for enterprise Flex / Java EE developments. It is also known as offering many strong advantages over BlazeDS and you will find a detailed comparison between GraniteDS and BlazeDS here, as well as a step-by-step migration guide.

According to another recent , Adobe is unlikely going to publish any new major release of LCDS, speaking only about supporting existing customers and applications. LCDS isn’t anymore bundled as a standalone product but is now sold as a module of a much larger platform, the . From its part, BlazeDS hasn’t really evolved during the last 1 or 2 years, and its maturation as an Apache Foundation project is at least questionable.

From an architectural point of vue, GraniteDS has always promoted a strong server-side approach, based on remote services that implement the most significant part of the business logic and a client application that is mostly a presentation layer. The main advantages of this approach are the independence of the server application from the client-side technology (Flex or any other) and the ability to leverage the full power of existing Java EE frameworks such as Spring, JBoss Seam, EJB3 and now CDI. This clearly differs from the classical client-server architecture promoted by LCDS, where almost all the business logic goes to the client-side, the server being not much more than a database frontend.

Another obvious advantage of this approach is the ability to migrate an existing Flex application to another RIA technology without having to change anything on the server application. The same applies when there is a need to create multi-headed client applications, targeted at different platforms (Flex, Android, iOS, HTML5, etc.). Using GraniteDS makes your application as future-proof as possible in this quickly evolving technology environment, while still benefiting from all its advanced enterprise features (lazy-loading, paging, real-time data push, etc.)

GraniteDS Roadmap

After the recent release of the 2.3.0.GA version of our platform (see details here) and a new Eclipse wizard plugin that dramatically simplifies GraniteDS’ projects creation (see here), we are moving to a major evolution of the framework. Among several other new features and improvements, the next 3.0 version will focus on the following areas:

  • Client libraries for iOS (Objective-C), Android (Java) and HTML5 (JavaScript): the purpose of these libraries is to implement the most salient features of the Flex / GraniteDS client framework in other technological contexts. Remoting, real-time messaging and data management will be available for each of these targeted platforms, without changing anything to the server-side implementation of current GraniteDS / Flex applications.
  • Code generation improvements (Gas3): generated code won’t be only targeted at ActionScript3, but also at Objective-C, Java and JavaScript.
  • Clean separation between data management and dependency injection features (Tide): this will allow an easier integration of Flex client framework (Spring ActionScript, Cairngorm, Parsley, Swiz, etc.) with GraniteDS’ data management module, and greatly simplify the implementation of data management for other client technologies.
  • An improved implementation of the real-time messaging system (Gravity): support of clustered and durable JMS subscriptions, reduced data transfers and WebSocket support.
  • Full OSGi / Java EE 6 compliance: GraniteDS conforms to standard and popular specifications, in order to be compatible with all application servers.
  • New distribution model (Community Platform): packaged as a ready-to-run test drive, it will greatly improve the getting started experience of the framework.

Overall, these new features are aiming to improve GraniteDS ease of use, enlarge its features and target platforms perimeter and help users in leveraging today’s and tomorrow’s best technical solutions.

Moving Forward

From all of the above, we believe that the GraniteDS platform, with its enterprise-grade features, uncompromised Java EE integration, professional support and openness to a wide range of client technologies can be considered as one of the best available platform for perennial RIA developments.

Through its continuous move toward new client technologies, GraniteDS will stay open to strong partnerships with IDE and graphical components providers, and committed to offer an open-source, comprehensive and powerful solution for Java EE developers willing to leverage the best of this renewed RIA world.

Flex Connector 1.1 for Nuxeo Released With GraniteDS

By admin August 31st, 2011 Flex, GraniteDS No Comments

Nuxeo is a global leader in Open Source Enterprise Content Management (ECM), that enables architects and developers to easily build, deploy, and run state of the art applications. The Nuxeo Enterprise Platform (Nuxeo EP) is a Java-based content infrastructure designed to be used as a development environment for content- and case-based applications. Nuxeo EP is an extensible and configurable set of ECM services and modular plug-ins that allows an organization to build out specific horizontal or vertical applications.

Nuxeo has just version 1.1. of its Flex connector that lets Flex applications interact with Nuxeo using AMF, the binary format used to serialize ActionScript objects. The Nuxeo Flex Connector relies on GraniteDS to enable to easily read, search, create, update documents stored in Nuxeo, manage workflows and tasks, use conversion services, manage users and send notifications, etc. The following image highlights the integration:

To learn how to use the connector, please refer to the Wiki – . The Flex connector comes with several samples that will help you get started quickly.

So what’s up next? Nuxeos first goal is to update GraniteDS and the Flex SDK. The current implementation will have to be updated to the lastest 2.2 version of GraniteDS and all sample applications will be built on Flex4.

We are happy to see GraniteDS in use and look forward to powering the Nuxeo Flex applications!

Today’s Launch Of Our Enterprise Platform

By Franck July 18th, 2011 GraniteDS No Comments
Please, feature an image for this post.

Today, we are excited to announce the launch of the GraniteDS Enterprise Platform.

The Enterprise Platform of GraniteDS has been developed in response to the feedback we received in our many conversations with our users over the past weeks and months. Our team in Europe and the US conducted surveys, in depth interviews and spoke with as many GraniteDS users in person as possible. As a result, the release of the Enterprise Platform is the first step of many to come to make GraniteDS even more powerful and reliable for Flex / Java EE applications of any kind.

We are releasing the Enterprise Platform today as our recommended setup for projects using GraniteDS in production environments. The Enterprise Platform gives you:

  • An extensively QA tested and stable version of GraniteDS
  • Long term maintenance (5 years) with security updates and bugfixes
  • Flexible and affordable premium support or consulting with guaranteed quick response times

With the Enterprise Platform you will also get early access to new features that we plan to release soon like RTMP, extended mobile platform support, or out of the box clustering and integration with monitoring tools. For bundles and prices, check out our pricing page.

As a result, the GraniteDS Enterprise Platform enables developers and companies to leverage the full feature range of the open-source version of GraniteDS, along with a broad range of pre-packed enterprise-level services and full support for applications in development and production. This unique combination of features and services enables companies to leverage the full power of GraniteDS also in mission-critical applications through a highly stable, reliable and scalable distribution package.

Let us know what you think about this new offering! Please share your thoughts and comments with us at any time in the comments or via our ,  or our website.

Purchase the Enterprise Platform Now!

Review the pricing and choose your bundle here.

If you want to download and test a feature-reduced version of the Enterprise Platform (no clustering, no SSL, no technologies preview), check out the Community Platform that comes with pre-packaged real-time messaging native libraries (APR) and sample applications. Get it here.

GraniteDS announces Launch of Enterprise Platform 2011

By admin July 18th, 2011 news No Comments
Please, feature an image for this post.

Paris and New York, July 18 2011

Granite Data Services, a worldwide leader in open-source middleware for Rich Internet Applications (RIA), today announced the global launch of the Enterprise Platform 2011, an enriched, packaged and QA tested version of the open-source Adobe Flex and Java EE middleware technology GraniteDS, to support the growing user demand for dedicated enterprise level services and bundles.

The GraniteDS Enterprise Platform enables companies to leverage the full feature range of the open-source version of GraniteDS, along with a broad range of pre-packed enterprise-level services and full support for applications in development and production. This unique combination of features and services enables companies to leverage the full power of GraniteDS in mission-critical applications through a highly stable, reliable and scalable distribution package.

The GraniteDS Enterprise Platform is available for Flex development on any JBoss server environments (Granite Data Services is a Red Hat Advanced Partner) and on many other application server technologies that are supported with GraniteDS, such as Tomcat, Jetty, WebLogic, WebSphere and GlassFish.

“We are very excited to announce the GraniteDS Enterprise Platform today,�? said Franck Wolff, CEO of Granite Data Services and co-creator of the GraniteDS open-source technology. “We’ve created a secure, highly stable and reliable platform that provides an ideal environment for companies that are developing mission-critical Flex/Java EE applications. The creation of the Enterprise Platform has come as a response to numerous user requests and has been developed closely in line with requirements for enterprise-grade usage and deployment.�?

The global launch of the GraniteDS Enterprise Platform builds on the trusted position GraniteDS already has as the leading open-source, Java EE-centric middleware solution for Flex application development. The Enterprise Platform is available for download as of today. For further information, please see the subscription pricing page or contact Granite Data Services here

About Granite Data Services

Many companies and organizations are building enterprise-level applications in their existing Java environments and are increasingly using Adobe Flex Technology to build browser-based interfaces for these applications. GraniteDS is the only comprehensive integration platform specifically created to facilitate Flex development in existing Java EE environments. GraniteDS users can build and deploy more scalable applications and optimize ROI because of significantly reduced need to develop new code, minimized cross-learning for developers, and increased reliability of the system.

Contact Information: Franck Wolff, CEO 1501 Broadway, 12th Floor New York, NY, 10036 USA +1 (646) 535-5048

Franck Wolff presents GraniteDS at the New York Flex Meetup

By admin May 11th, 2011 GraniteDS 4 Comments

, the host of the New York Flex Meetup invited to speak to us about TLF and his open source library, and our own Franck Wolff, the creator of , to present at the event.

Watch the recorded video on ustream where Franck speaks about the history of GraniteDS and some of the latest, cutting edge features to expect very soon. (more…)