标签: integration

何时使用JMS以及何时使用REST?

除了特定问题的异步/同步特性,并考虑到MOM(在这种情况下选择了JMS)提供免费的额外功能,如负载平衡和其他功能,在选择JMS而不是REST时还可以考虑其他什么,反之亦然?

谢谢

rest integration asynchronous jms synchronous

43
推荐指数
2
解决办法
2万
查看次数

Java和Clojure与Leiningen合作

是否有可能在使用leiningen的项目中与Clojure一起轻松管理和编译本机Java类?

我工作在一个相当低的水平(使用netty nio),并认为一些管道类实际上更容易处理作为原始java在构造代码和性能方面.

java integration clojure leiningen clojure-java-interop

42
推荐指数
3
解决办法
1万
查看次数

39
推荐指数
1
解决办法
1万
查看次数

Spring JSF集成:如何在JSF托管bean中注入Spring组件/服务?

我知道托管bean的工作方式类似于控制器,因为您唯一的任务是将视图层与模型"链接"起来.

要使用bean作为托管bean,我必须声明@ManagedBean注释,这样做我可以直接与bean通信JSF.

如果我想在这个managedBean中注入一些组件(来自Spring),我有两种可能的方法:

  1. 在ManagedBean中选择属性(如"BasicDAO dao")并@ManagedProperty(#{"basicDAO"})在属性上方声明.这样做,我"basicDAO"在ManagedBean中从Spring 注入bean .

  2. 在ManagedBean Class中声明了@Controller,然后我将拥有@ManagedBean@Controller注释一起.在物业中"BasicDAO dao"我必须使用@AutowiredSpring.

我的理解是否正确?

integration jsf spring dependency-injection managed-bean

39
推荐指数
2
解决办法
3万
查看次数

使用Git集成设置Bug跟踪器?

我知道我可以通过黑客Trac和使用Git钩子来完成大部分工作,但我想知道是否有人知道某些事情.

从提交消息中注释(和关闭)票证会很好,特别是如果diff与注释/结束注释内联.

sha1哈希应该自动链接到gitweb/cigt/custom git browser.

我试过GitPlugin for Trac,但是代码浏览器太慢......任何替代方案?

git version-control integration bug-tracking

36
推荐指数
3
解决办法
5万
查看次数

将Material Design Lite与Angular2集成

我有一个集成设计材质(一个小问题http://www.getmdl.io/在NG2)你能帮帮我,我就会把它在点我做了什么

  1. http://www.getmdl.io/started/index.html#tab1,解释了设计的集成
  2. http://www.getmdl.io/components/index.html#textfields-section,这是一个带有浮动标签的文本字段示例,现在我已经整合了Plunkr,但是没有工作可以请你看看正如您在index.html中看到的那样,我有http://www.getmdl.io/started/index.html#tab1建议的css和js文件包含

<!-- GetMDL scripts --> <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-pink.min.css"> <script src="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js"></script> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <!-- GetMDL scripts --> 在app.component.ts文件中:

import {Component, ViewEncapsulation} from 'angular2/core';

@Component({
    selector: 'my-app',
    template: `<form action="#">
  <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label">
    <input class="mdl-textfield__input" type="text" id="sample3">
    <label class="mdl-textfield__label" for="sample3">Text...</label>
  </div>
</form>`,
encapsulation:ViewEncapsulation.None,
})
Run Code Online (Sandbox Code Playgroud)

integration typescript angular

35
推荐指数
3
解决办法
2万
查看次数

如何获得LinkedIn r_fullprofile访问权限?

我目前正在开发与LinkedIn集成的自定义应用程序(特定于公司).我收到了基本配置文件访问数据,以获取和填写我的应用程序的一些字段,现在我需要完整的配置文件权限.但正如在这个问题中回答的那样,它不再允许了.我看到有合作伙伴计划.所以我跟我有以下问题.

  1. 如何获得访问完整个人资料数据的权限.
  2. 我需要联系他们吗?如果是这样,如何联系他们.
  3. 有任何标准要完成吗?如果是这样的话,我是否应该完成符合条件的标准.
  4. 它涉及任何价格吗?如果是这样多少?

提前致谢.

integration linkedin linkedin-api

34
推荐指数
2
解决办法
2万
查看次数

有人可以用非buzzspeak向我解释企业服务总线吗?

我们的一些合作伙伴告诉我们,我们的软件需要与企业服务总线进行交互.在对此进行了一些研究后,我的直觉就是说这只是嗡嗡声说我们需要一种以平台为依据的方式来回传递消息.我只是想了解我们的合作伙伴告诉我们的事情.我是否正确地拒绝合作伙伴的要求,只是试图让我们的软件更符合流行语,或者他们是否告诉我们应该听的东西(即使用buzzspeak编码)?

integration messaging soa esb

33
推荐指数
5
解决办法
7070
查看次数

Cocoa:将NSApplication集成到现有的c ++ mainloop中

我知道,我不是第一个尝试在OSX上使用Cocoa和现有的c/c ++主循环的人,但我并不是真的喜欢我到目前为止遇到的解决方案所以我提出了一个不同的想法我'我想讨论一下.我发现的最常见的方式(在glut,glfw,SDL以及QT中我认为)是使用轮询来替换NSApplications run方法并自行处理事件:

nextEventMatchingMask:untilDate:inMode:dequeue:
Run Code Online (Sandbox Code Playgroud)

这有一个很大的缺点,即cpu永远不会真正空闲,因为你必须轮询整个时间来检查是否有任何新事件,而且它不是NSApplications运行函数内部唯一的事情,所以它可能会破坏一些细节,如果你用这个替代品.

所以我想做的是保持cocoa runLoop完好无损.想象一下,你有自己的计时器方法在c ++中实现,通常会在你的主循环中进行管理和触发(这只是一个小部分作为例子).我的想法是将所有循环部分移动到辅助线程(因为据我所知,NSApplication运行需要从主线程调用),然后将自定义事件发布到NSApplication的派生版本中,该版本在其中适当地处理它们sendEvent:方法.例如,如果我的计时器在我的c ++循环测量中测量,我会向NSApplication发布一个自定义事件,然后运行我的应用程序的loopFunc()函数(也驻留在mainthread中),该函数适当地将事件发送到我的c ++事件链中.首先,您认为这是一个很好的解决方案吗?如是,

otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:

然后使用类似的东西:

[NSApp postEvent:atStart:]
Run Code Online (Sandbox Code Playgroud)

通知NSApplication.

我宁愿发布没有任何窗口信息的事件(在otherEventWithType中),我可以简单地忽略那部分吗?

然后我想象覆盖NSApplications sendEvent函数类似于:

    - (void)sendEvent:(NSEvent *)event
{
    //this is my custom event that simply tells NSApplication 
    //that my app needs an update
    if( [event type] == NSApplicationDefined)
    {
        myCppAppPtr->loopFunc(); //only iterates once
    }
        //transform cocoa events into my own input events
    else if( [event type] == NSLeftMouseDown)
    {
             ...
             myCppAppPtr->loopFunc(); //also run the loopFunc to propagate input events
    }
        ...

    //dont break the cocoa event …
Run Code Online (Sandbox Code Playgroud)

c++ integration cocoa nsapplication

31
推荐指数
1
解决办法
6151
查看次数

无法执行目标org.codehaus.mojo:exec-maven-plugin:1.2:java(default-cli)

我正在研究Smooks - Camel Integration.我遇到了错误.当我尝试使用mvn exec运行它时,Build失败了:java


[错误]: 无法在项目上执行目标org.codehaus.mojo:exec-maven-plugin:1.2:java(default-cli) camel-example-smooks-integration:

我的控制台日志如下:

[ERROR] For more information about the errors and possible solutions, please read the following 
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException

C:\apache-camel-2.11.0\examples\camel-example-smooks-integration>mvn exec:java
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.apache.camel:camel-example-smooks-integration:bundle:2.11.0
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate   
declaration of plugin org.codehaus.mojo:exec-maven-plugin @ line 138, column 9

[WARNING]
[WARNING] It is highly recommended to fix these problems …
Run Code Online (Sandbox Code Playgroud)

integration exec-maven-plugin smooks

31
推荐指数
2
解决办法
12万
查看次数