java总结

   <!-- 声明式容器事务管理 ,transaction-manager指定事务管理器为transactionManager -->
    <tx:advice id="txAdvice" transaction-manager="transactionManager">
        <tx:attributes>
            <tx:method name="add*" propagation="REQUIRED" />
            <tx:method name="insert*" propagation="REQUIRED" />
            <tx:method name="del*" propagation="REQUIRED" />
            <tx:method name="update*" propagation="REQUIRED" />
            <tx:method name="*" read-only="true" />
        </tx:attributes>
    </tx:advice>

    <aop:config expose-proxy="true">
        <!-- 只对业务逻辑层实施事务 -->
        <aop:pointcut id="txPointcut" expression="execution(* com.wang.zwam.*.*Service.*(..))" />
        <!-- Advisor定义,切入点和通知分别为txPointcut、txAdvice -->
        <aop:advisor pointcut-ref="txPointcut" advice-ref="txAdvice" />
    </aop:config>

 用framework7做移动端的--to thi tha

http://www.cnblogs.com/langtianya/p/5285806.html

a.

java的位移运算符 优先级极低 ---

b.  java都是有符号的

转无符号

byte a;

short b = a;

if(b<0)

  b=256+b;  

short s0 ;
      
 
       s0 =(short)256 +s0; 错误 ,关于int short类型转换

转化为正数

byte b & 0xFF 

反方向,java与c字节流处理

 byte a=(byte)255;

原文地址:https://www.cnblogs.com/cnchengv/p/7729661.html