init: controller中初始化方法, //注意该方法是在其他方法之前,所以取不出this,model等值;跳转:this.transitionToRoute(routename,param); //形式对应如:this.resource('question',...
分类:
Web程序 时间:
2014-11-03 16:15:23
阅读次数:
163
1. Menu Resource A menu resource defines an application menu (Options Menu, Context Menu, or submenu) that can be inflated with MenuInflater.//res/me....
分类:
移动开发 时间:
2014-11-03 16:15:19
阅读次数:
238
1. Style Resource A style resource defines the format and look for a UI. A style can be applied to an individual View (from within a layout file) or ....
分类:
移动开发 时间:
2014-11-03 16:07:38
阅读次数:
153
1. Drawable Resources There are several different types of drawables as follow2. Bitmap A bitmap image. Android supports bitmap files in a three for.....
分类:
移动开发 时间:
2014-11-03 16:03:41
阅读次数:
215
1. Layout Resources A layout resource defines the architecture for the UI in an Activity or a component of a UI.2. Syntax //Any element ...
分类:
移动开发 时间:
2014-11-03 15:58:29
阅读次数:
154
1. Color State List Resource A ColorStateList is an object you can define in XML that you can apply as a color, but will actually change colors, depe....
分类:
移动开发 时间:
2014-11-03 14:33:19
阅读次数:
127
1. Animation Resources An animation resource can define one of two types of animations: Property Animation Creates an animation by modifying an o...
分类:
移动开发 时间:
2014-11-03 14:22:07
阅读次数:
219
Apache Samza is a distributed stream processing framework. It uses Apache
Kafka for messaging, and Apache
Hadoop YARN to provide fault tolerance, processor isolation, security, and resource manage...
分类:
其他好文 时间:
2014-11-02 16:36:31
阅读次数:
255
spring mvc 4.1 返回json报406错误的解决办法 浏览器访问,报 The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the reque...
分类:
编程语言 时间:
2014-11-01 23:21:07
阅读次数:
396
Ejb概念
Ejb3.0定义了很多Annotation,覆盖了众多与持久化相关的概念,比如Bean的类型,依赖注入,事务管理,安全,回调,O-R映射,关系等等
Ejb的几个特性
依赖注入(DI)
通过定义@Inject,@EJB,@Resource等annotation,这些依赖关系现在可以由容器来注入到EJB
可选的回调机制
开发者们现在可以仅仅实现他们感兴趣的那...
分类:
其他好文 时间:
2014-11-01 19:14:18
阅读次数:
291