开发者

Java ME and Java EE communication

开发者 https://www.devze.com 2023-01-08 14:37 出处:网络
I want to make a Java ME application that sends a message to a server (Tomcat, Java EE). The server should then send a message back to this Java ME app开发者_运维技巧lication.

I want to make a Java ME application that sends a message to a server (Tomcat, Java EE). The server should then send a message back to this Java ME app开发者_运维技巧lication.

What is the request/response model between Java ME and Java EE (Tomcat server)?


Your best option is use HTTP to do that. So, on the JavaME end, you will issue HTTP REQUEST that will call a Servlet running in your JavaEE AppServer and processing the request.

0

精彩评论

暂无评论...
验证码 换一张
取 消