存档
Spring ActionScript 0.8 发布
IOC功能非常强大,不多说了,看看原文吧:
Dear Community,
I’m pleased to announce that the Spring ActionScript 0.8 release is now available.
Download | API Documentation | HTML Docs | PDF Docs | Changelog
This release includes the Spring ActionScript framework, the Cairngorm extensions and the PureMVC extensions.
All libraries are available for download at the following Maven repository: http://projects.yoolab.org/maven/content/repositories/
From now on, we will regularly publish new snapshots of the libraries there.
Direct links to the libraries:
- Spring ActionScript 0.8
- Spring ActionScript Cairngorm 0.8
- Spring ActionScript PureMVC 0.8
Dependencies:
- AS3Commons Lang
- AS3Commons Logging
- AS3Commons Reflect
Note: AS3Commons Lang is a snapshot of 1.0. We will work with a release for the following releases of Spring ActionScript
Besides a series of bugfixes, optimizations and improvements, some of the major changes and enhancements include:
Autowiring support
Using autowiring allows you to inject objects managed by the container into view components and other objects. To autowire a property, annotate it with the [Autowired] metadata tag. The support we build in is pretty enhanced and allows you to customize the autowire behavior in many different ways. Within the Autowired metadata tag you can specify the object name and you can also configure the container to filter autowire candidates using your own filter specifications. Please see the documentation on autowiring for more info.
Custom Namespaces
The XML configuration now supports namespaces and allows you to create custom namespaces yourself. A few namespaces have been added to simplify the configuration of common objects for RMI and Messaging. More info on available namespaces and schemas and creating custom ones can be found in the documentation. The XSD schemas are available http://www.springactionscript.org/schema/
MXML Configuration
We now also support configuration through MXML. The markup is very similar to the regular XML config, but with some slight differences. Please see the documentation on MXML Configuration
AS3Commons
As a side project, we have started the AS3Commons project that offers reusable ActionScript 3.0 libraries. Most of the libraries currently available in AS3Commons are build using code from the Spring ActionScript framework. This means that a lot of code has been removed from Spring ActionScript and is now available for use in projects not using Spring ActionScript. Please note that you might have to update quite some import statements to refer to AS3Commons instead of Spring ActionScript. We apologize for any inconvenience this might cause, but this is only a one-time process.
We hope you find the AS3Commons libraries useful. All libraries (releases and snapshots) can also be found at the Maven repository.
Documentation
The documentation has been tremendously improved in this version. Next to the API documentation, we now provide a reference guide in HTML and PDF format. General info can be found at the project website: www.springactionscript.org
Last Words
If you feel like helping us out, we could certainly use your help. This project is entirely created on a volunteer basis and in our spare (and limited) free time so needless to say that the more people, the faster we can deliver new releases and guarantee the quality of the framework. So if you think you have someting to offer, be it as a developer, tester, documentation writer, sample creator, … please contact me (christophe [DOT] herreman [AT] gmail [DOT] com) or leave something in the comments. All help is more than welcome.
Enjoy this release and have fun coding!
Popularity: unranked [?]
Spring Framework 3.0 M2 released(Spring Framework 3.0 M2发布)
We are pleased to announce that the second Spring 3.0 milestone is finally available (download page).
This release comes with a wealth of revisions and new features:
Further Java 5 style API updates: consistent use of generic Collections and Maps, consistent use of generified FactoryBeans, and also consistent resolution of bridge methods in the Spring AOP API. Generified ApplicationListeners automatically receive specific event types only. All callback interfaces such as TransactionCallback and HibernateCallback declare a generic result value now. Overall, the Spring core codebase is now freshly revised and optimized for Java 5.
Extended concurrency support: Spring’s TaskExecutor abstraction has been updated for close integration with Java 5’s java.util.concurrent facilities. We provide first-class support for Callables and Futures now, as well as ExecutorService adapters, ThreadFactory integration, etc. This has been aligned with JSR-236 (Concurrency Utilities for Java EE 6) as far as possible. Furthermore, we provide support for asynchronous method invocations through the use of the new @Async annotation (or EJB 3.1’s @Asynchronous annotation). And in Spring 3.0 M3, we’ll be adding a scheduling namespace for convenient configuration of it all… including support for cron-style timers.
OXM module in core: We moved the Object/XML Mapping module, as known from the Spring Web Services project, to the Spring core project. OXM has been updated and revised for Java 5 as well, supporting marshalling and unmarshalling through JAXB2, JiBX, Castor, XMLBeans, and XStream. There is also OXM support for Spring JMS (MarshallingMessageConverter) and Spring MVC (MarshallingView).
RestTemplate: We have brand-new client-side REST support: the long-awaited RestTemplate, with HTTP processing infrastructure that is as flexible and extensible as you would expect from a Spring solution. There are also several improvements with respect to REST support in Spring MVC… Stay tuned for Arjen’s upcoming blog post on the latest REST support features!
MVC on Portlet 2.0: Spring Portlet MVC is based on the Portlet 2.0 API (JSR-286) now. We provide specific @ActionMapping, @RenderMapping, @ResourceMapping and @EventMapping annotations for Portlet MVC handler methods, including support for specific characteristics of those request types: e.g. action names, window states, resource ids, and event names (as defined by Portlet 2.0).
Early JPA 2.0 support: Finally, we are actively tracking the JPA 2.0 specification as well as emerging JPA providers with JPA 2.0 preview support. Spring 3.0 M2 already delivers early support for the JPA 2.0 API, e.g. query timeouts within Spring-managed transactions and QueryBuilder access in Spring-managed EntityManager proxies. We’ll wrap this up for Spring 3.0 RC1, as soon as the JPA 2.0 API is stable.
Now is a good time to give Spring 3.0 an early try! Let us know how it works for you… M2 doesn’t include reference documentation yet but comes with extensive javadoc and an extensive test suite. We’ll also be showing specific examples in follow-up blog posts.
We are now working towards our final milestone already: M3 will introduce annotation-based factory methods, declarative validation (based on JSR-303 “Bean Validation”), as well as new XML configuration namespaces (orm, scheduling). Spring MVC will receive an overhaul in terms of conversation management. We are also preparing for JSF 2.0 as far as necessary, keeping up the smooth integration experience with Spring.
spring3.0 M2发布了,可以到spring的网站上下载 。它带来了很多值得关注的新特性:
- 对java 5的全面支持。主要是很多接口开始支持泛型,加强了类型安全。核心部分的代码也针对java 5做了优化。
- 扩展了对并发的支持。
- OXM模块从spring ws项目中移到了核心中。
- 崭新的RestTemplate。接下来还会写一篇关于rest的博客,值得期待。
- Portal2.0支持。
- 开始尝试支持JPA2.0的一些特性。
下一个版本是M3,也是spring 3.0的最后一个milestone版本。在M3中会引入基于注解的工厂方法、声明是验证(JSR-303 “Bean Validation”,这个我比较期待,可以不用hibernate validation了)、还有spring mvc的conversation的范围管理以及尝试对JSF2.0的支持——都是非常值得期待的特性啊。
看来spring对标准的支持越来越好,越来越像一个轻量级的seam了。期待spring 3.0早日正式发布。
Popularity: 29% [?]
最近评论