当前位置: 首页 > news >正文

网站开发合同付款方式上海大型广告公司

网站开发合同付款方式,上海大型广告公司,鹤壁做网站哪家便宜,网络营销的功能有哪些要让JAVA程序能访问SAP系统#xff0c;一般通过SAP JCO接口进行通讯#xff0c;在获取到SAP的连接时需求提供一些连接参数#xff0c;这些参数在最新的 JCO 3.0 中需要被保存到一个带有扩展名.jcoDestination的文件中#xff0c;这个文件同时被保存在应用程序的安装目录中。…  要让JAVA程序能访问SAP系统一般通过SAP JCO接口进行通讯在获取到SAP的连接时需求提供一些连接参数这些参数在最新的 JCO 3.0 中需要被保存到一个带有扩展名.jcoDestination的文件中这个文件同时被保存在应用程序的安装目录中。因为这只中一个纯文本文件所有的连接参数并没有被加密这样对于公用程序可能有安全问题。要使用登陆连接更加安全可以实现自定义的 DestinationDataProvider 实现此接口只有简单的三个方法 interface DestinationDataProvider {Properties getDestinationProperties(java.lang.String destinationName);void setDestinationDataEventListener(DestinationDataEventListener eventListener);boolean supportsEvents(); } getDestinationProperties 当Java程序获取到SAP的连接时jco会从这里读取连接属性你可以编程动态的设定这些属性setDestinationDataEventListener 设置一个连接事件监听器实现一个监听器当JCO连接SAP以获得通知supportsEvents 返回是否被实现的DestinationDataProvider有事件监听器 实现一个自定义Provider: static class MyDestinationDataProvider implements DestinationDataProvider{private DestinationDataEventListener eL;private Properties ABAP_AS_properties; public Properties getDestinationProperties(String destinationName){if(destinationName.equals(ABAP_AS) ABAP_AS_properties!null)return ABAP_AS_properties;return null;//alternatively throw runtime exception//throw new RuntimeException(Destination destinationName is not available);}public void setDestinationDataEventListener(DestinationDataEventListener eventListener){this.eL eventListener;}public boolean supportsEvents(){return true;}void changePropertiesForABAP_AS(Properties properties){if(propertiesnull){eL.deleted(ABAP_AS);ABAP_AS_properties null;}else {if(ABAP_AS_properties!null !ABAP_AS_properties.equals(properties))eL.updated(ABAP_AS);ABAP_AS_properties properties;}}} 测试连接 public static void main(String[] args) throws Exception{Properties connectProperties new Properties();connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, binmain);connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR, 53);connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, 000);connectProperties.setProperty(DestinationDataProvider.JCO_USER, JCOTEST);connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, JCOTEST);connectProperties.setProperty(DestinationDataProvider.JCO_LANG, en);MyDestinationDataProvider myProvider new MyDestinationDataProvider();com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(myProvider);myProvider.changePropertiesForABAP_AS(connectProperties);JCoDestination ABAP_AS JCoDestinationManager.getDestination(ABAP_AS);ABAP_AS.ping();System.out.println(ABAP_AS destination is ok);}  转载于:https://www.cnblogs.com/rinack/p/8041582.html
http://wiki.neutronadmin.com/news/217647/

相关文章:

  • app与网站的关系app定制开发 价格
  • 佛山市和城乡建设局网站网站开发工程师面试题
  • 关于学校网站建设苏州知名网站建设公司
  • 中国建设银行的网站.网站在阿里云备案
  • 海安建设局网站建一个简单的网站多少钱
  • 怎么在华为防火墙做网站映射最好网站建设制作是那个
  • 手机网站如何做优化顺德网站建设多少钱
  • 电子商城网站建议书云南企业网站开发
  • 网站制作比较好的公司江阴网络公司做网站
  • 网站建设咨询哪家性价比高做网站的重点目标
  • protenus代做网站网站系统参数设置
  • 江门网站关键词推广如何建设网站的管理平台
  • 网站的速度凡科建站视频教程
  • 网站版权模板中国电力建设集团股份有限公司网站
  • 如何做网站弹窗tplink域名申请
  • 企业建站模版免费logo设计 u钙
  • 网站建设模块培训pptwordpress实现伪静态
  • 路桥做网站的公司wordpress增加自适应功能
  • 营销型网站建设需要备案吗做电影网站有什么好处
  • 现在网络公司做网站是用cms还是新版编程_wordpress能设定跳转吗
  • 吴江企业建设网站公司画册设计网站
  • 网站建设公司杭州18年如何用凡科建设手机教学网站
  • 万江区仿做网站动漫wordpress主题下载
  • 开锁在百度上做网站要钱吗wordpress优化nginx
  • 手机网站开发价格安康养老院收费价格表
  • 诸城 网站 建设WordPress怎么可以上传图片
  • 长沙网站制作推广农业银行官网
  • 网站发展历程订阅号申请
  • wordpress主题开发网站房地产公司
  • 佛山企业设计网站建设投资公司取名字大全