`
adapterofcoms
  • 浏览: 75455 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表
jsr-356 Programming Model In general, two different programming models are supported: Annotation-driven. Using annotated POJOs, developers can interact with the WebSocket lifecycle events. Interface-driven. Developers can implement the Endpoint interface and the methods that interact with the ...
  所有用Maven管理的真实的项目都应该是分模块的,每个模块都对应着一个pom.xml.   1.聚合 POM与继承关系中的父POM的 packaging都是pom2.聚合模块与继承关系中的父模块除了 POM之外都没有实际的内容。 注:在现有的实际项目中一个 POM既是聚合POM,又是父 POM,这么做主要是为了方便http://juvenshun.iteye.com/blog/305865In eclipse Run As -->maven build :  deploy -e在parent pom.xml中<modules>    <module>. ...
  e.g: @WebServicepublic interface DemoService  @WebService(targetNamespace="com.kmerit.kdm.demoservice.service",serviceName="demoService",endpointInterface ="com.kmerit.kdm.demoservice.service.DemoService")@Service("demoWSService")public class DemoServiceI ...
AOPAdvice: action taken by an aspect at a particular join point. Different types of advice include "around,""before" and "after" advice. (Advice types are discussed below.) Many AOP frameworks, includingSpring, model an advice as an interceptor, maintaining a chain of ...
BeanFactoryPostProcessor[e.g: PropertyPlaceholderConfigurer]可以修改BEAN的配置信息而BeanPostProcessor不能PriorityOrderedBeanPostProcessor Reference : http://jinnianshilongnian.iteye.com 五、五个接口十个扩展点解析 1、InstantiationAwareBeanPostProcessor:实例化Bean后 ...
  Nexus2:nexus\bin\jsw\windows-x86-64\install-nexus   #install it to Wndows Service. nexus3 oss:https://www.sonatype.com/download-oss-sonatypehttp://blog.csdn.net/rekadowney/article/details/52492587http://blog.csdn.net/qq250782929/article/details/51605965   nexus-default.properties nexus /inst ...
schemegenxjcC:\jdk1.8.0_25\bin\java -Dfile.encoding=UTF-8 -cp C:\jdk1.8.0_25\lib\tools.jar com.sun.tools.internal.xjc.Driver -d . -p com.*.smodel *.xsdC:\jdk1.8.0_25\bin\xjc -encoding UTF-8 -d . -p com.*.smodel *.xsd marshaller.setProperty(Marshaller.JAXB_ENCODING, "UTF-8");// //编码格式marshal ...
ThreadLocalThreadLocalMap.Entry extends WeakReference<ThreadLocal<T>>但是T: referent 不是WeakReference, ThreadLocal.set-->ThreadLocalMap.set  new Entry -->rehash-->expungeStaleEntries() /***** Expunge all stale entries in the table. *****/ 强引用(StrongReference)软引用(SoftReference)弱引用( ...
  --------------------------------------------------------------------------------------- After ApplicationContext standard initialization. All regular bean definitions will have been loaded, but no beans will have been instantiated yet. BeanDefinitionRegistryPostProcessor.postProcessBeanDefinit ...
  #org.quartz.jobStore.isClustered: true#org.quartz.jobStore.clusterCheckinInterval: 15000   http://www.quartz-scheduler.org/documentation/quartz-2.2.x/configuration/ConfigJDBCJobStoreClustering        
Java EE 7 Technologieshttp://www.oracle.com/technetwork/java/javaee/tech/index.htmlhttp://www.oracle.com/technetwork/java/javamail/index.htmlhttps://maven.java.net/content/repositories/snapshots/javax/mail/javax.mail-api/1.5.3-SNAPSHOT/Session session = Session.getInstance(props, new Authenticator( ...
activemq-client:org.apache.activemq.transport.tcp.TcpTransportdoConsume()-->transportListener.onCommand(command);org.apache.activemq.ActiveMQConnection implements Connection, TopicConnection, QueueConnection,TransportListener......new ActiveMQConnection()-->this.transport.setTransportListener ...
Spring side: DataSourceUtils->getConnection(dataSource)-> TransactionSynchronizationManager.getResource(dataSource)SpringManagedTransaction->getConnection()->this.connection = DataSourceUtils.getConnection(this.dataSource);   SqlSessionFactoryBean:buildSqlSessionFactory():this.trans ...

CXF in Eclipse JEE

  Windows--->Preferences-->Web Service-->CXF 2.x Preferences  add CXF runtimeEndpoint Config-->Use CXF ServletWindows--->Preferences-->Server--> add new tomcat7 runtime environmentsWindows--->Preferences-->Web Service-->Server and Runtime--> tomcat7 and CXF 2.xCrea ...

java深度 GC

java深度 GCjvm reduceinitialcardmarks YoungGen OldGen card-marking performance optimization-XX:-ReduceInitialCardMarkshttp://bugs.sun.com/view_bug.do?bug_id=68966476896647 : card marks can be deferred too longjstat -gcutil pidupgrade your jdk to hs17.  hotspot.
Global site tag (gtag.js) - Google Analytics