简体   繁体   中英

Java Desktop app and Java EE?

Java桌面应用程序是否可以与Java Servlet或Java EE应用程序交互?

Yes it is definitely possible, take a look at Web Services . Here is another link with a simpler explanation.

You can also use EJBs (stateful or stateless). Installing an EJB client on your desktop app will take care of most of the communication details for you. And you always have the option of communicating via pure RMI. Both options would typically be more efficient than a SOAP or REST based solution. Good options if you don't need to worry about creating a non-java version of your desktop app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM