xiatianyu_22的博客
xiatianyu_22 · 共 13 篇文章
add an interceptor to the CXF fault chain
<jaxws:endpoint address="/my/endpoint"> <jaxws:implementor> <bean class="ca.intelliware.sample.webservice.QueryFulfiller" /> </jaxws:implementor> <jaxws:outFaultInterceptors> <bean class="ca.intelliware.sample.webservice.CustomSoap11FaultOutInterceptor" /> </jaxws:outFaultInterceptors> </jaxws:endp…
2017-07-21 21:54 · java · 评论(0)
the order of CXF interceptors
CXF Interceptor中Phase的先后顺序 org.apache.cxf.phase.PhaseManagerImpl中 final void createInPhases() { int i = 0; inPhases = new SortedArraySet<Phase>(); inPhases.add(new Phase(Phase.RECEIVE, ++i * 1000)); inPhases.add(new Phase(Phase.PRE_STREAM, ++i * 1000)); inPhases.add(new Phase(Phase.USER_STREAM, ++i…
2017-07-21 21:47 · java · 评论(0)
spring 事务配置的5种方式
http://blog.csdn.net/hjm4702192/article/details/17277669
2017-07-07 22:16 · java · 评论(0)
some shortcut key about photoshop
shirt + direction key: everytime move 10 pixels crtl + 0: use current screen for the image crtl + t: adjust image crtl + g: merge selected layer into a group crtl + r: show or hide ruler crtl + d: cancel the selection crtl + f: duplicate filter crtl + alt + f: pop up duplicate filter alt + backspac…
2016-11-03 14:11 · photoshop · 评论(0)
jar manifest detail
bellowing is the jar manifest details: Manifest-Version: 1.0 Built-By: Build-Jdk: Class-Path: mybatis-3.1.1.jar mysql-connector-java-5.1.21.jar Created-By: Apache Maven 3.0.4 Main-Class: com.test.Annotations_Example Archiver-Version:
2016-05-23 15:57 · java · 评论(0)
how to create mysql stored procedure
Launch the mysql client tool and type the following commands: DELIMITER // DROP PROCEDURE IF EXISTS test.read_recordByIdttx // CREATE DEFINER=`root`@`localhost` PROCEDURE read_recordById (IN emp_id INT) BEGIN SELECT * FROM STUDENT WHERE ID = emp_id; END// DELIMITER ; Let's examine the stored proced…
2016-05-23 14:28 · mysql · 评论(0)
Creating an archetype for a multiple j2ee project
Gola to create a project that can be used to create mutiple module maven project. To accomplish this we first need to create a multiple module project. Then create an archetype from that project. The post details the following steps. How to use maven to create my base project. How to generate arche…
2016-04-27 10:21 · a simple soa system · 评论(0)
XAMPP Apache Web Server won't work on mac
Currently, I join a project, which uses ldap server to manage users. So I want to set a ldap server for myself to test. For the openSource Ldap server, I found there are openLdap and apacheDS. As a super fans of apache, of course, I choose the apacheDS as my Ldap server. As Ldap server client, we a…
2016-04-08 11:28 · php · 评论(0)
sample about provider/config/run/value/factory for angular
<!DOCTYPE html> <html> <script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script> <body> <h2>Validation Example</h2> <form ng-app="myApp" ng-controller="validateCtrl" name="myForm" novalidate> <p>Username:<br> <input type="text" name="user" ng-model="user" require…
2015-11-18 17:57 · 评论(0)
how to install mongodb in macbook
mongodb is a nosql database, which contains db,collection and document, and compare with relation database, db->schema, collection->table, document->records. how to install mongodb in macbook, please follow below steps. step1: brew install mongodb step2: brew services list step3: brew services star…
2015-11-13 22:59 · mongodb · 评论(0)
create our first project on pouchdb
firstly, please create our project with below command: compass create pouchDemo noted: please research sass and compass online grunt-bower-install we get a simple project after run above project successfully, then go ahead to run "npm init", we will get package.json for grunt. then execute "grunt i…
2015-11-12 11:22 · pouchdb · 评论(0)
how to install and use bower
bower can install with node.js npm install -g bower to add a new package to your project, you should run bower command as below: bower install <package> also you are able to be very easy to find out which packages are installed using list command bower list you can update the installed package usin…
2015-11-12 10:41 · 评论(0)
how to install couchdb
installing couchdb steps are as below: first step: install brew with below command ruby -e "$(curl -fsSL https://raw.githubusercontent.com /Homebrew/install/master/install)" second step: on a mac you can run "brew install couchdb" to install couchdb. third step: execute "couchdb" to launch couchdb.…
2015-11-12 10:30 · couchdb · 评论(0)