面試的總結

一.spring bean 的作用域

作用域限定了Spring Bean的作用範圍,在Spring配置文件定義Bean時,通過聲明scope配置項,可以靈活定義Bean的作用範圍。例如,當你希望每次IOC容器返回的Bean是同一個實例時,可以設置scope爲singleton;當你希望每次IOC容器返回的Bean實例是一個新的實例時,可以設置scope爲prototype。

scope配置項有5個屬性,用於描述不同的作用域。

1:singleton        2:prototype         3:request         4:session     5:global-session

二.消息隊列

各種消息隊列的優缺點,你用到哪種消息隊列,如何使用。

三.dubbo 的協議,你用的哪種協議,dubbo的序列化。

1:https://www.cnblogs.com/barrywxx/p/8589374.html

2:https://www.cnblogs.com/sunshine-2015/p/10891813.html

四:spring cloud 各個組件,zuui組件是如何工作的。

https://www.cnblogs.com/huangjuncong/p/9060984.html

五:shiro,springsecurity的瞭解。

六:springBoot 的@springBootApplication包括那些註解,有什麼作用。

@Target(ElementType.TYPE) (@Target說明了Annotation所修飾的對象範圍。表示可以在類,接口,枚舉類標註)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@SpringBootConfiguration(標註這個類是一個配置類)
@EnableAutoConfiguration(開啓自動裝配)
@ComponentScan(excludeFilters = { @Filter(type = FilterType.CUSTOM, classes = TypeExcludeFilter.class),
      @Filter(type = FilterType.CUSTOM, classes = AutoConfigurationExcludeFilter.class) })
@ConfigurationPropertiesScan

七:zookeeper的總結

https://github.com/frank-lam/fullstack-tutorial/blob/master/notes/%E5%88%86%E5%B8%83%E5%BC%8F/Zookeeper.md

八:線程池種類,核心屬性,拒絕策略,如何運行。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章