进入新公司后自己要学的技术

来源:互联网 发布:重装mac os 编辑:程序博客网 时间:2024/05/16 01:00

刚加入一家国内知名电商公司,以下技术需要学习

1、Java concurrent包,资料 Java并发编程

2、JAXB

3、Dubbo

4、zookeeper

5、maven

6、mongdb

6、问题:

     复习一下Listener与Filter的知识。

    复习一下AtomicLong。


<!-- aop.xml-->

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"
       default-autowire="byName">

     <bean id="configCenter" class="com.config.ConfigCenter" >
        <property name="locations">
            <list>
                <value>classpath:important.properties</value>
            </list>
        </property>
    </bean>

    <aop:aspectj-autoproxy proxy-target-class="true"/>

    <aop:config>
        <aop:pointcut id="availBeans"
                      expression="execution(* com.test..*.*(..))" />
        <aop:pointcut id="jedisGetServices"
                      expression="execution(* com.test..*.*(..))" />

        <aop:pointcut id="log" expression="execution(* com.test..*.*(..))"/>

        <aop:aspect id="umpAspect" ref="aspectBean">
            <aop:around method="monitorAround" pointcut-ref="availBeans"/>
        </aop:aspect>
        <aop:aspect id="jedisAspect" ref="jedisAspectBean">
            <aop:around method="doAroundJedisReadData" pointcut-ref="jedisGetServices" />
        </aop:aspect>

        <aop:aspect id="logAspect" ref="logAdvice">
             <aop:around method="logAround" pointcut-ref="log"/>
        </aop:aspect>

    </aop:config>

    <bean id="aspectBean" class="com.monitorAvailableAdvice" />
    <bean id="jedisAspectBean" class="com.aop.JedisAopAdvice"/>

    <bean id="logAdvice" class="com.aop.LogAdvice"/>

    <context:component-scan base-package="com.aop"/>


</beans>

<!-- Application Context Config -->

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd"
       default-autowire="byName">

    
   
    <bean id="taskProcessorThreadPool" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
        <property name="corePoolSize" value="10"/>
        <property name="keepAliveSeconds" value="5"/>
    </bean>

   <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
        <list>
            <value>classpath:important.properties</value>
        </list>
        </property>
        <property name="fileEncoding" value="utf-8"></property>
    </bean>
    
    
    <bean class="com.annotation.JAnnotation">
        <property name="jvmKey" value="mobile_soa_search.jvm"></property>
    </bean>


    <import resource="aop.xml"/>

   <import resource="service.xml"/>
    ...

  dao,rpc...
</beans>



0 0
原创粉丝点击