Well, I never did really get much feedback. I ended up using the Jersey JAX-RS (JSR 311) implementation. This worked great, since it can directly marshal and unmarshal XML using JAXB. Works very well.

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com

On Sep 8, 2008, at 11:43 PM, Norman Franke wrote:

On Sep 5, 2008, at 5:45 PM, Norman Franke wrote:

I want to create a few web services to allow importing and exporting of data. What's the best way to do this in a Tapestry 4.1 world? I could write a servlet to do this, of course. Is there a "Tapestry Way?"

Are there some good guidelines for creating an XML-based WOA (not SOAP as it seems too heavy and complicated) services that folks reference? I'll need to do some sort of authentication, either inside the XML file or as parameters to the POST.

I'm just trying to get a feel for what approaches work in the real world, and then design something that's rather simple. I'll have two main data types and a few simple operations, like query and insert.

After some research, I think JSR-311 is attractive.

The next question, how can I integrate JSR-311 (JAX-RS) with HiveMind? I have my Hibernate DAO's as HiveMind services, and I'd like to use them from JAX-RS objects. The only thing I can think of is by getting a reference to the Registry object from the servlet or via a singleton (initialized at startup.) Any way to get HiveMind to inject things into my object directly?

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to