- Android SurfaceTexture和GLSurfaceView做Camera预览
小小攻城师
AndroidSurfaceTextureGLSurfaceViewSurfaceTextureopenGopenGL
GLSurfaceView是OpenGL中的一个类,也是可以预览Camera的,而且在预览Camera上有其独到之处。独到之处在哪?当使用Surfaceview无能为力、痛不欲生时就只有使用GLSurfaceView了,它能够真正做到让Camera的数据和显示分离,所以搞明白了这个,像Camera只开预览不显示这都是小菜,妥妥的。Android4.0的自带Camera源码是用SurfaceView
- 4-2.Android Camera 之预览图像编码模板(SurfaceView)
我命由我12345
Android-简化编程androidjavajava-eeandroid-studioandroidstudio视频
一、CameraCamera用于捕获图像和视频在Android开发的早期阶段,Android提供android.hardware.CameraAPI,开发者用它来访问和控制设备的摄像头硬件然而,随着Android系统的发展,从Android5.0(API级别21)开始,Android引入了一个新的Camera2API,以提供更强大和灵活的控制功能二、Camera预览图像1、UtilMyCamera
- Android Camera系列(三):GLSurfaceView+Camera
如果可以003
AndroidCameraandroidCameraGLSurfaceView
人类的悲欢并不相通—鲁迅AndroidCamera系列(一):SurfaceView+CameraAndroidCamera系列(二):TextureView+CameraAndroidCamera系列(三):GLSurfaceView+Camera本系列主要讲述Android开发中Camera的相关操作、预览方式、视频录制等,项目结构代码耦合性低,旨在帮助大家能从中有所收获(方便copy:)),
- Android 音视频三种方式绘制图片
Android小码
在Android平台绘制一张图片,使用至少3种不同的API,ImageView,SurfaceView,自定义View。1.ImageView绘制图片这个想必做过Android开发的都知道如何去绘制了。很简单:Bitmapbitmap=BitmapFactory.decodeFile(Environment.getExternalStorageDirectory().getPath()+File.
- Android使用OpenGL渲染ffmpeg解码的YUV视频数据
FlyerGo
在《安卓使用SurfaceView绘制ffmpeg解码的视频数据》虽然我们成功地实现了视频的渲染,但是在YUV转换成RGB的时候,我们调用了ffmpeg内部的转换函数,这里面包含大量的计算转换,所以是很耗费CPU性能的。今天我们来学习一下如何将YUV转换RGB的功能转换到GPU中去执行,减少CPU的计算工作量,达到性能优化的目的。解决方案是使用OpenGL渲染,将YUV转换RGB的功能交由着色器去
- Android MediaCodec 简明教程(四):使用 MediaCodec 将视频解码到 Surface,并使用 SurfaceView 播放视频
芥末的无奈
android音视频
系列文章目录AndroidMediaCodec简明教程(一):使用MediaCodecList查询Codec信息,并创建MediaCodec编解码器AndroidMediaCodec简明教程(二):使用MediaCodecInfo.CodecCapabilities查询Codec支持的宽高,颜色空间等能力AndroidMediaCodec简明教程(三):详解如何在同步与异步模式下,使用MediaC
- android camera系列(Camera1、Camera2、CameraX)的使用以及输出的图像格式
余生爱静
Android基础jnicameracamera2libyuv
一、Camera1.1、结合SurfaceView实现预览1.1.1、布局1.1.2、实现预览mBinding.preview.getHolder().addCallback(newSurfaceHolder.Callback2(){@OverridepublicvoidsurfaceRedrawNeeded(@NonNullSurfaceHolderholder){mCamera=Camera.
- android 自定义相机,Android自定义相机Camera基础
奔跑的楠子
android自定义相机
创建自定义相机界面调用Camera来实现拍照功能。如左图:上方是一个CAPTURE按钮,下方是用来实时显示摄像头预览画面的SurfaceView,通过点击CAPTURE按钮进行拍照,并将拍摄的图片显示到一个新的活动界面,新的活动界面如右图:上方是一个TextView,下方是一个ImageView显示拍摄好的照片。拍摄界面的活动代码如下:CustomCamera.javapublicclassCus
- Android 自定义视频播放器
leverge2009
由于录像之后,原先选用的腾讯VOD点播播放器显示出来竖屏都变横屏了,虽然选中了现在的腾讯VOD点播,还是把Android视频播放器了解了一番。Android自定义视频播放器有以下三种:一、MediaPlayer与SurfaceView相结合//为SurfaceHolder添加回调mSurfaceView.getHolder().addCallback(callback);//4.0版本之下需要设置
- android最新相机打不开,相机出错
横戈
android最新相机打不开
照相机出错!自己做了一个简单的照相机预览的功能,插在程序中,运行出错,大概提示:Causedby:android.view.InflateException:BinaryXMLfileline#86:Errorinflatingclasssurfaceview还有:Causedby:java.lang.ClassNotFoundException:android.view.surfaceview和
- Android 自定义播放器旋转角度及手势调整声音亮度
田一一一
AndroidAndroid视频播放手势控制自定义旋转角度
最近项目中用到了自定义播放器,大概要求是这样的:控制台会自动消失点击屏幕又会自动弹出,视频角度需要旋转,手势控制亮度跟音量.一般在Android中,播放视频如果要求不高的话我都是用的videoView,这样最简单,但是如果项目对播放视频要求比较多一般推荐用自定义的,如:surfaceView+mediaPlayer,但是如果视频角度要旋转,这样suefaceView就行不通了,就得用texture
- android基础_音频播放API + 视频播放API +SurfaceView介绍
zengk562
VideoViewSurfaceView
播放音频的APIMediaPlayerMediaPlayer状态图解:播放本地音乐:publicvoidplay(Viewv){Stringpath=et_path.getText().toString();//1.判空操作,2,判断是否真的存在这个文件,有可能用户输入的是非法的文件路径try{//1,创建一个多媒体播放器mediaPlayer=newMediaPlayer();//2.设置播放资
- SurfaceView和TextureView理解相关
Eason风云
java开发语言
一、为什么要使用SurfaceView我们知道View是通过刷新来重绘视图,系统通过发出VSSYNC信号来进行屏幕的重绘,刷新的时间间隔是16ms,如果我们可以在16ms以内将绘制工作完成,则没有任何问题,如果我们绘制过程逻辑很复杂,并且我们的界面更新还非常频繁,这时候就会造成界面的卡顿,影响用户体验,为此Android提供了SurfaceView来解决这一问题View和SurfaceView的区
- UVCAndroid,安卓UVC相机通用开发库(支持多预览和多摄像头)
kanseei
androidUVCuvcandroid安卓
文章目录简介主要功能如何使用1.添加依赖到本地工程2.获取权限3.初始化UVC业务类,设置UVC摄像头状态回调,设置TextureView或者SurfaceView的Surface监听回调4.释放UVC业务类(包含取消UVC摄像头状态回调,停止Camera预览,关闭Camera等操作)5.图片抓拍6.录制视频7.改变摄像机预览参数(包括帧格式、宽度、高度、FPS)8.调整对比度、亮度、色调、饱和度
- Android studio SurefaceView 视频播放器应用设计
colin工作室
androidandroidstudioandroidide
一、新建EmptyActivity项目:二、xml布局文件设计:添加SurfaceView控件三、MainActivity实现activity:MediaPlayer.OnBufferingUpdateListener,MediaPlayer.OnCompletionListener,SurfaceHolder.Callback,MediaController.MediaPlayerControl
- Android跨进程渲染
我是黄大仙
android
文章目录背景实现步骤服务端客户端参考代码背景2024年第一篇博客,希望所有看到这篇博客的同学都能财务自由,早日退休!跨进程渲染就是在服务端进程渲染,在客户端进程显示。在一些3d的应用场景,当多个应用需要显示时,就可以使用跨进程渲染,这样做的好处就是,客户端进程比较轻量,无需每个客户端都引入3d引擎,减少包大小,减少内存占用。实现步骤Android里面的跨进程渲染主要是通过Surfaceview和S
- Android音视频(一):绘制图片的三种方式
沉默的阿迪
1、ImageView显示图片Bitmapbitmap=BitmapFactory.decodeFile(imgPath+"/123.jpg");iv.setImageBitmap(bitmap);2、SurfaceView绘制图片SurfaceViewsv=findViewById(R.id.sv);sv.getHolder().addCallback(newSurfaceHolder.Call
- Android SurfaceView简例
zhangphil
Androidandroid
AndroidSurfaceView简例Android中各的SurfaceView和View有很大的不同,两者应用场景不同。大多数View能做的事情SurfaceView也可以,但是SurfaceView效率更高。Android的View绘制过程由Android系统控制,刷新机制开发者比较难以控制。而SurfaceView支持高频、多线程绘制。SurfaceView不存在是否在AndroidUI主
- .NoSuchMethodException: [class android.content.Context, interface and
世道无情
1.报错在我们自定义View时候,有时候会报错,如下图所示:自定义SurfaceView报错.png2.报错原因与解决方案错误原因一及解决方案:在自定义View时候,没有写含有(Contextcontext,AttributeSetattrs)的构造方法导致的,自己在自定义SurfaceView时候,没有写其构造方法导致这个错误,添加其构造方法即可解决,代码如下:publicDemoSurface
- Android系列-SurfaceView和View
lostfish123
Androidandroid
1.SurfaceView为什么可以在线程绘制SurfaceView之所以能够在独立的线程中进行绘制,是因为它的内部设计允许绘制操作在一个单独的后台线程中执行,而不会阻塞主线程。关键原因包括:Surface和Canvas分离:SurfaceView包含一个底层的Surface对象,而Surface可以被不同的线程锁定(lockCanvas)和解锁(unlockCanvasAndPost)。这使得绘
- android系列-SurfaceView和View的区别
lostfish123
Androidandroid
(来自chatgpt的回答)SurfaceView和View是Android中两种不同的视图组件,它们在渲染和刷新机制上有一些区别。1.绘制方式View:View的绘制是在UI线程中进行的,即主线程。如果进行复杂的绘制操作,可能会导致主线程阻塞,影响界面的响应性能。SurfaceView:SurfaceView允许在一个独立的线程中进行绘制操作,即后台线程。这样可以避免在主线程中进行复杂的绘制操作
- Android将自定义的SurfaceView保存为bitmap
唐诺
androidSurfaceViewBitmap
正常将View保存为Bitmap的方法:privateBitmapgetViewToBitmap(Viewview){//layoutView(view);//创建Bitmap,最后一个参数代表图片的质量.Bitmapbitmap=Bitmap.createBitmap(view.getWidth(),view.getHeight(),Bitmap.Config.ARGB_8888);if(bit
- 基于 FFmpeg 的跨平台视频播放器简明教程(十二):Android SurfaceView 显示图片和播放视频
芥末的无奈
音视频ffmpegffmpeg音视频android
系列文章目录基于FFmpeg的跨平台视频播放器简明教程(一):FFMPEG+Conan环境集成基于FFmpeg的跨平台视频播放器简明教程(二):基础知识和解封装(demux)基于FFmpeg的跨平台视频播放器简明教程(三):视频解码基于FFmpeg的跨平台视频播放器简明教程(四):像素格式与格式转换基于FFmpeg的跨平台视频播放器简明教程(五):使用SDL播放视频基于FFmpeg的跨平台视频播放
- Android Camera 摄像头 预览时 水平镜像
小康师兄
AndroidandroidjavacamerasurfaceViewmatrix
一、效果图废话不多说,直接看效果二、关键代码Matrixmatrix=surfaceView.getMatrix();matrix.setScale(-1,1,surfaceView.getWidth()/2,0);surfaceView.setTransform(matrix);Log.e(TAG,"width="+surfaceView.getWidth());三、全部代码activity_m
- Android共享元素动画
菠萝加点糖
android
示例在两个Activity之间实现共享元素动画首先,在布局文件中定义两个界面的SurfaceView,并为它们设置相同的android:transitionName属性在源Activity中,当用户启动目标Activity,并设置共享元素动画valintent=Intent(this,TargetActivity::class.java)valoptions=ActivityOptionsComp
- SurfaceView技术点总结及源码解析
ModestStorm
我们知道,当在view绘制时进行耗时操作或者复杂的动画,会出现丢帧或卡顿现象,用户体验极为不好。Android系统每隔16ms就会发出一次VSYNC信号触发对UI进行渲染,如果这16ms内我们没有完成对视图的绘制,那么就会出现丢帧的情况。之所以这样是因为,人眼与大脑之间的协作无法感知超过60fps的画面更新。60帧每秒就意味着:16ms=1000/60Hz。Android提供了SurfaceVie
- 谨慎使用android.view.SurfaceView.setVisibility方法
帅气好男人_Jack
bug分析android
谨慎使用android.view.SurfaceView.setVisibility方法why?原因就是此方法会导致native的内存暴增,前提条件你使用surfaceview去绘制一些复杂的3D图形,绘制复杂、业务复杂的场景;setVisibility方法会调用surfaceView的updateSurface,而此方法内部就可能会分配大量的native内存分析查看updateSurface源码
- FFmpeg+SDL实现播放器
Windra6
音视频ffmpegsdl
一、序言:之前做嵌入式移动端设备播放都是基于Android平台的(SurfaceView显示+AudioTrack播放声音),要么是linux系统直接ffmpeg解码音视频数据后用framebuffer显示和tinyalsa播放声音,做好音视频同步。鉴于本文是用于学习入门ffmpeg的所以选择Ubuntu系统平台,省去大家去搭建Android或嵌入式linux开发环境。这三种平台都是大同小异的。二
- [2021.12.5]使用MediaRecorder录制音频和视频(Camera1)
vimer-hz
3.1.2《Android从入门到精通》cameraMediaRecorderandroid
1概述MediaRecorder类用于录制音频和视频。步骤如下:(1)实例化MediaRecorder对象(2)设置声音来源和图像来源(3)设置视频分辨率(4)设置录制视频文件的保存路径(5)设置使用哪个SurfaceView(6)准备录制视频(7)开始录制视频(8)停止录制,释放资源2代码CameraRecord:https://github.com/hanyuhang-hz/android-d
- Android 音视频开发入门指南
SmileToLin
1.在Android平台绘制一张图片,使用至少3种不同的API,ImageView,SurfaceView,自定义View2.在Android平台使用AudioRecord和AudioTrackAPI完成音频PCM数据的采集和播放,并实现读写音频wav文件3.在Android平台使用CameraAPI进行视频的采集,分别使用SurfaceView、TextureView来预览Camera数据,取到
- web前段跨域nginx代理配置
刘正强
nginxcmsWeb
nginx代理配置可参考server部分
server {
listen 80;
server_name localhost;
- spring学习笔记
caoyong
spring
一、概述
a>、核心技术 : IOC与AOP
b>、开发为什么需要面向接口而不是实现
接口降低一个组件与整个系统的藕合程度,当该组件不满足系统需求时,可以很容易的将该组件从系统中替换掉,而不会对整个系统产生大的影响
c>、面向接口编口编程的难点在于如何对接口进行初始化,(使用工厂设计模式)
- Eclipse打开workspace提示工作空间不可用
0624chenhong
eclipse
做项目的时候,难免会用到整个团队的代码,或者上一任同事创建的workspace,
1.电脑切换账号后,Eclipse打开时,会提示Eclipse对应的目录锁定,无法访问,根据提示,找到对应目录,G:\eclipse\configuration\org.eclipse.osgi\.manager,其中文件.fileTableLock提示被锁定。
解决办法,删掉.fileTableLock文件,重
- Javascript 面向对面写法的必要性?
一炮送你回车库
JavaScript
现在Javascript面向对象的方式来写页面很流行,什么纯javascript的mvc框架都出来了:ember
这是javascript层的mvc框架哦,不是j2ee的mvc框架
我想说的是,javascript本来就不是一门面向对象的语言,用它写出来的面向对象的程序,本身就有些别扭,很多人提到js的面向对象首先提的是:复用性。那么我请问你写的js里有多少是可以复用的,用fu
- js array对象的迭代方法
换个号韩国红果果
array
1.forEach 该方法接受一个函数作为参数, 对数组中的每个元素
使用该函数 return 语句失效
function square(num) {
print(num, num * num);
}
var nums = [1,2,3,4,5,6,7,8,9,10];
nums.forEach(square);
2.every 该方法接受一个返回值为布尔类型
- 对Hibernate缓存机制的理解
归来朝歌
session一级缓存对象持久化
在hibernate中session一级缓存机制中,有这么一种情况:
问题描述:我需要new一个对象,对它的几个字段赋值,但是有一些属性并没有进行赋值,然后调用
session.save()方法,在提交事务后,会出现这样的情况:
1:在数据库中有默认属性的字段的值为空
2:既然是持久化对象,为什么在最后对象拿不到默认属性的值?
通过调试后解决方案如下:
对于问题一,如你在数据库里设置了
- WebService调用错误合集
darkranger
webservice
Java.Lang.NoClassDefFoundError: Org/Apache/Commons/Discovery/Tools/DiscoverSingleton
调用接口出错,
一个简单的WebService
import org.apache.axis.client.Call;import org.apache.axis.client.Service;
首先必不可
- JSP和Servlet的中文乱码处理
aijuans
Java Web
JSP和Servlet的中文乱码处理
前几天学习了JSP和Servlet中有关中文乱码的一些问题,写成了博客,今天进行更新一下。应该是可以解决日常的乱码问题了。现在作以下总结希望对需要的人有所帮助。我也是刚学,所以有不足之处希望谅解。
一、表单提交时出现乱码:
在进行表单提交的时候,经常提交一些中文,自然就避免不了出现中文乱码的情况,对于表单来说有两种提交方式:get和post提交方式。所以
- 面试经典六问
atongyeye
工作面试
题记:因为我不善沟通,所以在面试中经常碰壁,看了网上太多面试宝典,基本上不太靠谱。只好自己总结,并试着根据最近工作情况完成个人答案。以备不时之需。
以下是人事了解应聘者情况的最典型的六个问题:
1 简单自我介绍
关于这个问题,主要为了弄清两件事,一是了解应聘者的背景,二是应聘者将这些背景信息组织成合适语言的能力。
我的回答:(针对技术面试回答,如果是人事面试,可以就掌
- contentResolver.query()参数详解
百合不是茶
androidquery()详解
收藏csdn的博客,介绍的比较详细,新手值得一看 1.获取联系人姓名
一个简单的例子,这个函数获取设备上所有的联系人ID和联系人NAME。
[java]
view plain
copy
public void fetchAllContacts() {
 
- ora-00054:resource busy and acquire with nowait specified解决方法
bijian1013
oracle数据库killnowait
当某个数据库用户在数据库中插入、更新、删除一个表的数据,或者增加一个表的主键时或者表的索引时,常常会出现ora-00054:resource busy and acquire with nowait specified这样的错误。主要是因为有事务正在执行(或者事务已经被锁),所有导致执行不成功。
1.下面的语句
- web 开发乱码
征客丶
springWeb
以下前端都是 utf-8 字符集编码
一、后台接收
1.1、 get 请求乱码
get 请求中,请求参数在请求头中;
乱码解决方法:
a、通过在web 服务器中配置编码格式:tomcat 中,在 Connector 中添加URIEncoding="UTF-8";
1.2、post 请求乱码
post 请求中,请求参数分两部份,
1.2.1、url?参数,
- 【Spark十六】: Spark SQL第二部分数据源和注册表的几种方式
bit1129
spark
Spark SQL数据源和表的Schema
case class
apply schema
parquet
json
JSON数据源 准备源数据
{"name":"Jack", "age": 12, "addr":{"city":"beijing&
- JVM学习之:调优总结 -Xms -Xmx -Xmn -Xss
BlueSkator
-Xss-Xmn-Xms-Xmx
堆大小设置JVM 中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制;系统的可用虚拟内存限制;系统的可用物理内存限制。32位系统下,一般限制在1.5G~2G;64为操作系统对内存无限制。我在Windows Server 2003 系统,3.5G物理内存,JDK5.0下测试,最大可设置为1478m。典型设置:
java -Xmx355
- jqGrid 各种参数 详解(转帖)
BreakingBad
jqGrid
jqGrid 各种参数 详解 分类:
源代码分享
个人随笔请勿参考
解决开发问题 2012-05-09 20:29 84282人阅读
评论(22)
收藏
举报
jquery
服务器
parameters
function
ajax
string
- 读《研磨设计模式》-代码笔记-代理模式-Proxy
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
/*
* 下面
- 应用升级iOS8中遇到的一些问题
chenhbc
ios8升级iOS8
1、很奇怪的问题,登录界面,有一个判断,如果不存在某个值,则跳转到设置界面,ios8之前的系统都可以正常跳转,iOS8中代码已经执行到下一个界面了,但界面并没有跳转过去,而且这个值如果设置过的话,也是可以正常跳转过去的,这个问题纠结了两天多,之前的判断我是在
-(void)viewWillAppear:(BOOL)animated
中写的,最终的解决办法是把判断写在
-(void
- 工作流与自组织的关系?
comsci
设计模式工作
目前的工作流系统中的节点及其相互之间的连接是事先根据管理的实际需要而绘制好的,这种固定的模式在实际的运用中会受到很多限制,特别是节点之间的依存关系是固定的,节点的处理不考虑到流程整体的运行情况,细节和整体间的关系是脱节的,那么我们提出一个新的观点,一个流程是否可以通过节点的自组织运动来自动生成呢?这种流程有什么实际意义呢?
这里有篇论文,摘要是:“针对网格中的服务
- Oracle11.2新特性之INSERT提示IGNORE_ROW_ON_DUPKEY_INDEX
daizj
oracle
insert提示IGNORE_ROW_ON_DUPKEY_INDEX
转自:http://space.itpub.net/18922393/viewspace-752123
在 insert into tablea ...select * from tableb中,如果存在唯一约束,会导致整个insert操作失败。使用IGNORE_ROW_ON_DUPKEY_INDEX提示,会忽略唯一
- 二叉树:堆
dieslrae
二叉树
这里说的堆其实是一个完全二叉树,每个节点都不小于自己的子节点,不要跟jvm的堆搞混了.由于是完全二叉树,可以用数组来构建.用数组构建树的规则很简单:
一个节点的父节点下标为: (当前下标 - 1)/2
一个节点的左节点下标为: 当前下标 * 2 + 1
&
- C语言学习八结构体
dcj3sjt126com
c
为什么需要结构体,看代码
# include <stdio.h>
struct Student //定义一个学生类型,里面有age, score, sex, 然后可以定义这个类型的变量
{
int age;
float score;
char sex;
}
int main(void)
{
struct Student st = {80, 66.6,
- centos安装golang
dcj3sjt126com
centos
#在国内镜像下载二进制包
wget -c http://www.golangtc.com/static/go/go1.4.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.4.1.linux-amd64.tar.gz
#把golang的bin目录加入全局环境变量
cat >>/etc/profile<
- 10.性能优化-监控-MySQL慢查询
frank1234
性能优化MySQL慢查询
1.记录慢查询配置
show variables where variable_name like 'slow%' ; --查看默认日志路径
查询结果:--不用的机器可能不同
slow_query_log_file=/var/lib/mysql/centos-slow.log
修改mysqld配置文件:/usr /my.cnf[一般在/etc/my.cnf,本机在/user/my.cn
- Java父类取得子类类名
happyqing
javathis父类子类类名
在继承关系中,不管父类还是子类,这些类里面的this都代表了最终new出来的那个类的实例对象,所以在父类中你可以用this获取到子类的信息!
package com.urthinker.module.test;
import org.junit.Test;
abstract class BaseDao<T> {
public void
- Spring3.2新注解@ControllerAdvice
jinnianshilongnian
@Controller
@ControllerAdvice,是spring3.2提供的新注解,从名字上可以看出大体意思是控制器增强。让我们先看看@ControllerAdvice的实现:
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Co
- Java spring mvc多数据源配置
liuxihope
spring
转自:http://www.itpub.net/thread-1906608-1-1.html
1、首先配置两个数据库
<bean id="dataSourceA" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close&quo
- 第12章 Ajax(下)
onestopweb
Ajax
index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/
- BW / Universe Mappings
blueoxygen
BO
BW Element
OLAP Universe Element
Cube Dimension
Class
Charateristic
A class with dimension and detail objects (Detail objects for key and desription)
Hi
- Java开发熟手该当心的11个错误
tomcat_oracle
java多线程工作单元测试
#1、不在属性文件或XML文件中外化配置属性。比如,没有把批处理使用的线程数设置成可在属性文件中配置。你的批处理程序无论在DEV环境中,还是UAT(用户验收
测试)环境中,都可以顺畅无阻地运行,但是一旦部署在PROD 上,把它作为多线程程序处理更大的数据集时,就会抛出IOException,原因可能是JDBC驱动版本不同,也可能是#2中讨论的问题。如果线程数目 可以在属性文件中配置,那么使它成为
- 推行国产操作系统的优劣
yananay
windowslinux国产操作系统
最近刮起了一股风,就是去“国外货”。从应用程序开始,到基础的系统,数据库,现在已经刮到操作系统了。原因就是“棱镜计划”,使我们终于认识到了国外货的危害,开始重视起了信息安全。操作系统是计算机的灵魂。既然是灵魂,为了信息安全,那我们就自然要使用和推行国货。可是,一味地推行,是否就一定正确呢?
先说说信息安全。其实从很早以来大家就在讨论信息安全。很多年以前,就据传某世界级的网络设备制造商生产的交