Tag: integration

适用于Java的’类似RVM’工具

我正在寻找一种工具,可以让我切换正在运行的Java实现,比如Ruby的RVM(或RBENV)。 我知道Debian系统提供了替代机制,我可以手动设置JAVA_HOME。 但是,如果可能的话,我想要更自动化的东西。 如果它可以获取更好的JDK,但不是必需的。 我搜索过但没有看到类似的东西。 我猜Java生态系统习惯于在IDE中使用此function。 编辑:更改PATH和JAVA_HOME似乎工作正常。 它可以简单地自动化。

如何集成Spring Security和GWT?

我正在尝试集成Spring Security和GWT。 我也在使用gwt-incubator-security。 我按照wiki页面上的描述配置了所有内容。 我设法通过使用intercept-url来获得安全性,但我无法使用注释使其工作。 关于问题是什么的任何想法? PS我使用的是Spring 2.5.6,Spring Security 2.0.5和gwt-incubator-security 1.0.1。 欢迎任何有用的链接和评论。 这是我的配置文件 applicationContext.xml中 <!– –> web.xml中 Spring_test.html org.springframework.web.context.ContextLoaderListener spring org.springframework.web.servlet.DispatcherServlet 1 spring /spring_test/greet.rpc <!– /org.example.gwtwisdom.GwtWisdom/services/* –> greetServlet com.ct.test.server.GreetingServiceImpl greetServlet /spring_test/greet.rpc springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain /* 为spring-servlet.xml 这是我尝试与Spring Security集成的示例项目: http : //www.filedropper.com/springtest_1

为什么akka的spring integration doc仅存在于1.3.1但不存在于下一版本

关于整合AKKA和Spring的方式有一个链接。 或者更好地说:“如何在spring环境中使用Akka演员”。 http://doc.akka.io/docs/akka-modules/1.3.1/modules/spring.html 实际上只有1.3.1版本存在modules文件夹http://doc.akka.io/docs/akka-modules/ 。 Does it mean that there is no integration for different than `1.3.1` version with spring? Or it means that we should not use it (spring integration I mean)? Or we should do it in the same way as we do it for `1.3.1` version?

如何升级内置于eclipse中的ant?

我在我的所有构建中都使用ANT,并且我也使用eclipse作为我的IDE,我希望能够在我的日食中使用最新版本的ANT,通常随eclipse附带的ANT是一个落后点。 所以我的问题是。 是否有一种简单的方法可以让eclipse ant插件使用最新版本的ANT? 是否有任何简单的方法可以在内置的eclipse ANT插件中添加额外的自定义ant库,因为我希望能够将诸如subversion任务之类的内容添加到我的ant构建中并让它可以在eclipse中访问。

尝试使用Alakai插件将Launch4j集成到Maven项目中

我试图将安装程序的生成集成为maven编译过程的一部分。 我找到了Alakai的Launch4j 插件 。 我使用Maven创建了一个简单的Hello World应用程序。 我试图使用Alakai提供的配置示例,但是当我编译项目时,我得到: 无法在项目Launch4j上执行目标org.bluestemsoftware.open.maven.plugin:launch4j-plugin:1.5.0.0:launch4j(launch4j):无法构建可执行文件; 请validation您的配置。 应用程序jar不存在。 – > [帮助1] 不幸的是,Alakai的文档是有限的,我用谷歌搜索找不到多少。 有谁知道应该在哪里设置Launch4j config.xml? 它在项目内吗? 它在一个单独的目录中吗? 我需要使用程序集插件吗? 我在我的电脑上安装了Launch4j。 我是否需要在pom.xml中指定安装目录? 如果有,怎么样? 有没有人有一个可操作的pom.xml示例/示例来共享? 谢谢。

进行SSL连接时,PKIX路径构建失败

我正在与名为CommWeb的商家帐户集成,我正在向其url发送SSLpost( https://migs.mastercard.com.au/vpcdps )。 当我尝试发送post时,我得到以下exception: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 执行post的代码(我没有写,我们的代码库中已经存在)是: public static HttpResponse sendHttpPostSSL(String url, Map params) throws IOException { PostMethod postMethod = new PostMethod(url); for (Map.Entry entry : params.entrySet()) { postMethod.addParameter(entry.getKey(), StringUtils.Nz(entry.getValue())); } HttpClient client = new HttpClient(); int status = client.executeMethod(postMethod); if (status […]