views:

59

answers:

1

I'm looking for java frameworks, patterns or technics which allow a client server architecture to communicate via xml. Any suggestions?

A: 

The relevant Java EE standards supported by most vendors are:

I have recently written a series of blog posts explaining how easy this is to do using JAX-RS:

Blaise Doughan
You target relational databases in your blog. In my case, I work with xml, in more details with owl and rdf. The networking between clients and server should be with good performance.
myborobudur
The data in my example comes from a database. The interaction between client an server is done through XML via JAX-RS over the HTTP protocol.
Blaise Doughan
Acctualy RESTful Jersey looks pretty nice! Thanks for the input!!
myborobudur
I just saw the JBoss-Jetty framework. They also offer a layer for the HTTP protocol. Do you think this works the same way like Jersey?
myborobudur
I work on the Java EE stack that includes Jersey, so I don't have anything nice to say about JBoss.
Blaise Doughan
I understand. What about RMI. Does Jersey support RMI?
myborobudur
When you say RMI, do you mean the remote method aspect or the object serialization aspect?
Blaise Doughan
The remote method aspect. Acctualy I have a more important question: is it possible that the server can send messages to the clients in Jersey? Perhaps this is agains the RESTful idea.
myborobudur
Jersey/JAX-RS/REST provides a means for clients to access server side data via URIs. It is not appropriate for pushing data to clients.
Blaise Doughan
Java Message Service (JMS) may be more appropriate for your use case, refer to: http://www.oracle.com/technetwork/java/index-jsp-142945.html
Blaise Doughan