Reputation: 35
Is it possible for a Java desktop application to interact with Java Servlets or Java EE Applications?
Upvotes: 1
Views: 1166
Reputation: 195
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.
Upvotes: 0
Reputation: 11308
Yes it is definitely possible, take a look at Web Services. Here is another link with a simpler explanation.
Upvotes: 4