[img]attachments/gallery/20090531103422.jpg[/img]
[img]attachments/gallery/20090531103508.jpg[/img]
电影前小吃
Author: bonashen
Time: 2009-05-31
granite + Spring
gds+spring
Author: bonashen
Time: 2009-07-25
Granite Data Services (GraniteDS or GDS) is a free, open source, (LGPL'd) alternative to Adobe® LiveCycle® (Flex™ 2+) Data Services for Java EE application servers. The primary goal of this project is to provide a framework for Flex 2+/EJB 3/Seam/Spring/Guice/POJO application development with full AMF3/RemoteObject benefits.

It also features a Comet-like data push implementation (AMF3 requests sent over HTTP) and ActionScript3 code generation tools (Ant task and Eclipse builder).

Dedicated service factories are available for:

    * EJB 3 (session beans that return entity beans),
    * Seam (with identity security and conversation/task support),
    * Spring (with Acegi/Spring security and entity beans support),
    * Guice/Warp (with entity beans support),
    * Simple Java™ classes (aka POJO) interactions.

GDS is designed to be lightweight, robust, fast, and highly configurable.
graniteds Framework
Author: bonashen
Time: 2009-06-03
预览模式: 普通 | 列表

收藏 悼念一个伟大的公司——Sun

     欧盟无条件批准 oracle公司对Sun收购案的消息,实际上宣告了一个伟大公司的离去。 Java之父James Gosling在自己的博客贴出了一幅画,应该代表了许多技术人的心情:

 

sun被收购,收购sun

     对了,他还写了一句话:So long, old friend...

     再见,Sun!

查看更多...

Tags: sun java

分类:大事记 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 67

Maven 2 JasperReports Plugin配置

在使用MAVEN来配置项目时,要用到JasperReports,可以在POM中加入链接。

POM dependencies片段:
  1. <dependency>  
  2.   <groupId>jasperreports</groupId>  
  3.   <artifactId>jasperreports</artifactId>  
  4.   <version>3.1.2</version>  
  5. </dependency>  

但是想在项目编译时,要将指定目录的*.jrxml进行编译的话需要加入Build插件。

POM build plugins片段:
  1. <plugin>  
  2.                 <groupId>org.codehaus.mojo</groupId>  
  3.                 <artifactId>jasperreports-maven-plugin</artifactId>  
  4.                 <executions>  
  5.                     <execution>  
  6.                         <goals>  
  7.                             <goal>compile-reports</goal>  
  8.                         </goals>  
  9.                     </execution>  
  10.                 </executions>  
  11.   
  12.                 <dependencies>  
  13.                     <!-- 
  14.                         note this must be repeated here to pick up correct xml validation 
  15.                     -->  
  16.                     <dependency>  
  17.                         <groupId>jasperreports</groupId>  
  18.                         <artifactId>jasperreports</artifactId>  
  19.                         <version>3.1.2</version>  
  20.                     </dependency>  
  21.                 </dependencies>  
  22.   
  23.             </plugin>  

使用:mvn jasperreports:compile-reports -Ddetail=true


查看更多...

Tags: maven jasperreport

分类:程序 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 57

FDT3.5正式版已经发布

今天下午还在用MyEclipse8中安装FDT 3.5 Beta2,晚上回家再重新安装时,发现FDT3.5已经releases.

 

With version 3.5 of FDT we are introducing great new features for both MXML and ActionScript editor. While we are focused on bringing you the best MXML editor for Flex development at this time, we are continually improving FDT.

FDT 3.5  Presentation

The FDT 3.5 Update was recently released. Watch the new features of FDT 3.5 live in action! Michael Plank shows you what’s new in FDT 3.5 and how you can use the great features.


查看更多...

Tags: FDT Flex

分类:FLEX专题 | 固定链接 | 评论: 1 | 引用: 0 | 查看次数: 108

Robotlegs IOC 接口实例化

目前在开发程序时要实例化某一接口,而不知道接口是哪一个类实现,如果用Robotlegs来做是很好的。

我尝试用

injector.instantiate(IRobot);

但是程序始终报错,后来才发现接口是不能直接用instantiate方法来做。如果要用Injector来做,可以采用如下方法:

查看更多...

Tags: Robotlegs IOC interface

分类:FLEX专题 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 104

xViewer for flex

xViewer uses .jrpxml format for rendering JasperReports. If you do not want to use JasperServer you can disable it and view .jrpxmls received from somewhere. Also, you can use classic Viewer's toolbar. Localization is supported.

查看更多...

Tags: xViewer Flex jasperReports

分类:FLEX专题 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 155

投影新境界:Light Blue Optics 带来Light Touch



我们见过很多投影技术,但是这个技术是另外一个应用,它把投影和轻触互动结合,就形成了这个Light Touch产品,其可以在很多平面投影使用,其工作原理是,利用激光投影虚拟出一个10寸大小800×480像素WVGA分辨率的触摸屏,使用红外线感应 技术来摄取操控动作,内置2GB内存,支持MicroSD扩展,最高可达到32GB,可使用交流电源或电池进行供电,续航力是2小时。Light Touch可以运行Adobe公司的Flash Lite 3.1,通过WiFi和蓝牙连接至其他电子设备接入互联网,可应用的场合很多,包括餐厅,服装店等,点进来看图片和视频。 

 

查看更多...

Tags: light touch 投影 科技 flash

分类:生活点滴 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 89

Robotlegs Framework1.02 & Swiftsuspends1.5 beta2

因为Robotlegs framework 1.02中不包含Swiftsuspends 1.5beta2,所以其Injector不支持树形结构。

下载了Robotlegs源码后将Swiftsuspends1.5beta2包含到编译包中,就可以了。

 

附上编译后的Robotlegs库。点击下载此文件

Tags: Robotlegs Framework Flex Swiftsuspends

分类:FLEX专题 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 106

Robotlegs 框架事件的理解

最近在学习Robotlegs框架,现将其基于MVCS事件处理的流程画出来,方便以后再理解。

另外,如果要建立多Context时,就会遇到将多个Injector的信息进行合并,从而就产生了Injector的关联网络。

是依赖于InjectorRule来完成。可以是树形,也可以是交叉形,并不一定先哪一种,可以是两种形态的复合体。

查看更多...

Tags: Robotlegs Framework Flex event

分类:FLEX专题 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 109

(2010-01-13)

在两大航运巨头中国对外贸易运输(集团)总公司(下称“中外运集团”)与中国长江航运(集团)总公司(下称“长航集团”)合并成中国外运长航集团有限公司(下称“中外运长航集团”)后,双方的重组整合方案获得了国务院国资委方面的原则通过。

  在昨天中外运长航集团世博物流项目动员启动会期间,中外运长航集团副总裁董建军对《第一财经日报》记者透露了上述信息,他同时指出,目前合并后的中外运长航集团的三大主业已经明确,之后将会根据重组整合方案进行具体的业务重组的落实。

  自从国资委旗下的中外运集团和长航集团这两大航运集团被批准合并后,除了任命新的中外运长航集团管理层,两大集团合并后的具体业务如何整合,共有几大业务板块等具体重组方案此前并没有最终明确。

  董建军告诉记者,新集团组建后确定了三大主业,分别是综合物流、航运和修造船。此外,还会有一个培育业务的板块,主要是拓展目前两家公司在相关产业链上的很多资源,比如仓储、土地等,比如可以开发物流地产,用于服务主业。

查看更多...

Tags: 中外运 长航 合并 航运

分类:大事记 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 148

收藏-Flex Builder 3 on Eclipse 3.5

当我在机器上安装了flexbuilder3和STS(SpringSource Tool Suite )2.3后,将flexbuilder以插件的方式加入到STS,编译源文件和样式文件会出现编译出错,一开始是以为是上次编译产生的垃圾文件产生的问题,采用项目文件清除后再编译,问题还是在。

ConfigurationProblem logging info

java.lang.IllegalArgumentException: "The attribute value type is com.adobe.flexbuilder.project.compiler.internal.ProblemManager and expected is one of java.lang.String, Boolean, Integer"
at org.eclipse.core.internal.resources.MarkerInfo.checkValidAttribute(MarkerInfo.java:84)
at org.eclipse.core.internal.resources.MarkerInfo.setAttributes(MarkerInfo.java:172)
at org.eclipse.core.internal.resources.Marker.setAttributes(Marker.java:304)
at com.adobe.flexbuilder.project.compiler.internal.ProblemManager.createMarker(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.ProblemManager.createMarker(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.ProblemManager.logProblem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.ProblemManager.logInternalProblem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.buildItem(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(Unknown Source)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

后来在网上找到是因为flexbuilder3采用eclipse3.3作为平台开发,而我是用eclipse3.5,需要做如下修改:

 

查看更多...

Tags: Flex eclipse problemManager

分类:FLEX专题 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 368