- 博客(115)
- 资源 (4)
- 收藏
- 关注
原创 Spring整合CXF
CXF+Spring配置1.服务端接口定义:@WebServicepublic interface UserService { String login(); User findById(User user); List getUserList(); }实现类:@WebServicepublic class UserS
2017-05-21 21:05:12 219
原创 Spring之RMI Client
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-21 17:11:01 400
原创 Spring之RMI Service
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springfram
2017-05-21 17:10:23 373
原创 Activiti工作流具体操作
package com.test;import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.text.SimpleDat
2017-05-21 12:57:50 352
转载 权限模型
RBAC是Role-BasedAccess Control的英文缩写,意思是基于角色的访问控制。RBAC认为权限授权实际上是Who、What、How的问题。在RBAC模型中,who、what、how构成了访问权限三元组,也就是“Who对What(Which)进行How的操作,也就是“主体”对“客体”的操作,其中who——是权限的拥有者或主体(如:User、Role),what——是资源或对象(Re
2017-05-21 12:32:26 232
原创 Spring整合mybatis
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-20 11:14:45 206
原创 Spring配置之springmvc-servlet.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframe
2017-05-20 10:52:29 345
原创 Spring管理hibernate
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-20 10:46:25 216
原创 Spring整合hibernate配置
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-20 10:45:03 244
原创 Spring配置管理hibernate.cfg.xml
"-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> org.hibernate.dialect.MySQLDialect
2017-05-20 10:43:22 444
原创 Spring配置hibernate事物管理
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-20 10:35:20 345
原创 Spring配置之hibernate事物管理AOP
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springfr
2017-05-20 10:30:05 315
原创 Spring数据源配置之jndi
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springfram
2017-05-20 10:17:37 338
原创 Spring数据源配置之Druid
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springfram
2017-05-20 10:16:28 175
原创 Spring数据源配置之bonecp
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springfram
2017-05-20 10:15:34 302
原创 Spring数据源配置之dpcp
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springfram
2017-05-20 10:14:30 1596
原创 Spring数据源配置之c3p0
60 当连接池连接耗尽时,客户端调用getConnection()后等待获取新连接的时间,超时后将抛出SQLException,如设为0则无限期等待。单位毫秒。默认: 0 -->
2017-05-20 10:13:52 341
原创 Spring配置之AOP
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.s
2017-05-20 10:12:20 156
原创 Spring配置之RMI
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http
2017-05-20 10:06:42 245
原创 Spring配置之JPA(applicationContext)
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.sp
2017-05-20 09:27:04 452
原创 Spring配置之JPA事物
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.sp
2017-05-20 09:23:56 214
原创 Spring配置之JPA(open_jpa)
xmlns:persistence="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd ">
2017-05-20 09:22:18 774
原创 Spring配置之JPA(Top_link)
xmlns:persistence="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd ">
2017-05-20 09:21:01 1051
原创 Spring配置之JPA(Hibernate)
xmlns:persistence="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd ">
2017-05-20 09:19:43 208
原创 Hadoop集群NameNode强制切换
NameNode由standby转化为active[root@master ~]# yarn rmadmin -transitionToActive --forcemanual rm1
2017-05-13 12:25:28 2682
原创 SparkSQL之JDBC
package com.uplooking.bigdata.sql.p2import java.sql.DriverManagerimport java.util.Propertiesimport org.apache.spark.{SparkConf, SparkContext}import org.apache.spark.sql.{DataFrame, Row, SQ
2017-05-10 23:06:38 354
原创 SparkSQL之JSON
package com.uplooking.bigdata.sql.p2import org.apache.spark.sql.SQLContextimport org.apache.spark.sql.hive.HiveContextimport org.apache.spark.{SparkConf, SparkContext}/** * 加载数据源为json格式
2017-05-10 23:03:02 1071
原创 SparkSQL之Hive操作
package com.uplooking.bigdata.sql.p2import org.apache.spark.{SparkConf, SparkContext}import org.apache.spark.sql.hive.HiveContext/** * sparksql集成hive的基本操作 * 需求: * 把在jdbc操作过程使用hive来一
2017-05-10 22:59:02 5133
原创 Hive之JDBC操作
package com.uplooking.bigdata.sql;import com.uplooking.bigdata.domain.Student;import java.beans.PropertyDescriptor;import java.lang.reflect.Method;import java.sql.*;/** * Java版本,最后对结
2017-05-10 22:56:12 587
原创 Spark作业运行原理
1.Spark启动集群后,Master节点会获取各个Work节点的资源信息,内存和CPU数量信息。2.Word节点要通过心跳机制去连接master节点,同时要定时向master节点汇报自身的资源情况。3.master收到work的汇报消息后给work简单反馈。4.driver节点向master节点提交spark作业,发送注册通知,需要master为application预留相应的资源。
2017-05-10 10:18:50 600
原创 Storm之网站实时统计
package com.uplooking.bigdata.storm.test;import org.apache.storm.Config;import org.apache.storm.Constants;import org.apache.storm.LocalCluster;import org.apache.storm.generated.StormTopology
2017-05-09 10:58:38 1138
原创 Storm之定时调度
package com.uplooking.bigdata.storm.test;import org.apache.storm.Config;import org.apache.storm.Constants;import org.apache.storm.LocalCluster;import org.apache.storm.generated.StormTopology
2017-05-09 10:56:18 908
原创 Storm集成Kafka
package com.uplooking.bigdata.storm.statictics;import com.uplooking.bigdata.storm.utils.JedisUtils;import org.apache.storm.Config;import org.apache.storm.Constants;import org.apache.storm.Lo
2017-05-09 10:54:08 1277
原创 Storm之WordCount
package com.uplooking.bigdata.storm.local;import org.apache.storm.Config;import org.apache.storm.LocalCluster;import org.apache.storm.generated.StormTopology;import org.apache.storm.shade.or
2017-05-09 10:51:28 252
原创 Storm之数字求和
package com.uplooking.bigdata.storm.local;import org.apache.storm.Config;import org.apache.storm.LocalCluster;import org.apache.storm.generated.StormTopology;import org.apache.storm.spout.Sp
2017-05-09 10:50:35 257
原创 Storm之GlobalGrouping
package com.uplooking.bigdata.storm.group;import org.apache.storm.Config;import org.apache.storm.LocalCluster;import org.apache.storm.StormSubmitter;import org.apache.storm.generated.StormTo
2017-05-09 10:46:26 374
原创 Storm之监听文件并夹
package com.uplooking.bigdata.storm.group;import org.apache.storm.Config;import org.apache.storm.LocalCluster;import org.apache.storm.generated.StormTopology;import org.apache.storm.shade.or
2017-05-09 10:44:53 471
css4参考手册
2014-10-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人