需要使用spring&eclipse创建tcp服务器客户端的Step by Step过程

问题描述 投票:0回答:1

我是Spring框架和Spring Integration的新手。当我通过Spring文档http://docs.spring.io/spring-integration/reference/html/ip.html。我发现很难开始。我想逐步编写一个应用程序。从* .xml文件写入,运行它,编辑存根并处理相同的操作。

虽然我可以看到很多示例显示TCP / UDP客户端和服务器,但对于像我这样的新手来说,它很难。

在此先感谢,Velman R.

tcp spring-integration
1个回答
1
投票

tcp-client-server sample app that shows the use of both inbound and outbound gateways to invoke an echo service over TCP

它使用默认的CRLF来分隔消息;请务必阅读the documentation中关于(de)序列化器的部分。

© www.soinside.com 2019 - 2024. All rights reserved.