原创 DDPush推送學習筆記(一) 原

一、下載DDPush的jar包並導入到Java項目 二、編寫推送代碼 Pusher pusher = null; try { //三個參數分別對應:DDPush服務器IP,DDPush默認推送端口

原创 將proto文件編譯成js文件 原

1.去github下載protobuf最新版的protoc文件 2.編寫一個messages.proto文件 3.將protoc拷貝到messages.proto所在目錄下面,執行如下命令 protoc --js_out=import_st

原创 gRPC-Java入門筆記 原

環境:Windows,JDK8,Git,ProtoBuf3 從github下載gPRC-Java源碼 git clone -b v1.15.0 https://github.com/grpc/grpc-java 進入grpc-java下面的

原创 gRPC-Java HelloWorld使用筆記 原

環境:Windows,JDK8,Maven3,Eclipse 在Eclipse創建Maven Project,項目名稱“grpcdemo” 編寫pom.xml,直接將gRPC-Java裏examples裏的pom文件內容複製過來,主要是以下

原创 Eclipse + Axis 編寫WebService 原

環境:Eclipse 4.7 + Axis + Tomcat8.5 一、創建Dynamic Web Project並編寫HelloService.java package com.demo.axistest.service; public

原创 PHP學習筆記-Windows下安裝PHP環境 原

1. 下載並解壓PHP安裝包 https://windows.php.net/download#php-7.2 2. 修改php.ini-development爲php.ini 3. 打開php.ini文件,修改相關配置 1)刪除exten

原创 將用Axis2編寫的Web Service項目打包成aar包 原

一、右鍵項目選擇New--->Other--->Axis2 Service Archiver 二、填入Class File Location並勾選Include .class files only 關於Class File Locati

原创 Eclipse+Axis2編寫Web Service 原

一、創建Web項目axis2demo並編寫暴露方法 注意:Dynamic web module version選擇2.5 public class HelloService { public String sayHello(String

原创 asp.net使用Oracle.DataAccess.dll連接Oracle 原

一、把Oracle.DataAccess.dll複製到項目下的bin文件夾,並在項目中添加引用 二、在web.config配置數據庫連接串 <configuration> ...... <!--Oracle配置--> <connec

原创 Oracle學習筆記---SQLPlus添加用戶 原

打開sqlplus sqlplus /nolog; 以dba身份登錄 conn /as sysdba; 創建用戶 create user username identified by password; 授權給用戶 grant cre

原创 Android調用Axis、Axis2、Cxf發佈的web service 原

在Android中調用axis2發佈web service過程中一直報http500錯誤,axis2 web service是用eclipse插件生成的,發現直接打包成war包或直接在eclipse運行,Android調用的時候會報錯,一定

原创 C#發佈WebService學習筆記(一) 原

環境:Win7 64位,Visual Studio2015,IIS7 一、創建Asp.net web程序和發佈到IIS 參考文章:WebService創建、發佈及在IIS上部署 二、遇到的問題 1、切換Netframework版本的時候,I

原创 Oracle學習筆記--遠程連接Oracle數據庫 原

一、服務端環境 系統:Windows Server 2008 r2 x64 數據庫:Oracle11g 64位 二、客戶端環境 系統:Windows 10 x64 數據庫:只安裝了instant client 32位 (instantcli

原创 Error:Execution failed for task':app:processDebugManifest' 原

Error:Execution failed for task':app:processDebugManifest'.>Manifest merger failed with multiple errors 在自己項目的AndroidMan

原创 在Android6.0以上系統使用android-ngn-stack庫遇到UnsatisfiedLinkError 原

在Android6.0以上系統上使用android-ngn-stack庫遇到UnsatisfiedLinkError--libxxx.so has text relocations 網上解決辦法一般都是降低targetSDK的版本,這種辦法