Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 3:45 PM, ant elder wrote: > On Fri, Aug 27, 2010 at 11:08 PM, Luciano Resende > wrote: >> On Fri, Aug 27, 2010 at 2:34 PM, ant elder wrote: >>> On Fri, Aug 27, 2010 at 6:40 PM, Luciano Resende >>> wrote: >>> But, stepping back, >>> >>> Ok lets do that, so we've go

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 11:08 PM, Luciano Resende wrote: > On Fri, Aug 27, 2010 at 2:34 PM, ant elder wrote: >> On Fri, Aug 27, 2010 at 6:40 PM, Luciano Resende >> wrote: >> >>> But, stepping back, >> >> Ok lets do that, so we've got the composite at >> https://svn.apache.org/repos/asf/tuscany/

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 2:34 PM, ant elder wrote: > On Fri, Aug 27, 2010 at 6:40 PM, Luciano Resende wrote: > >> But, stepping back, > > Ok lets do that, so we've got the composite at > https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composit

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 6:40 PM, Luciano Resende wrote: > But, stepping back, Ok lets do that, so we've got the composite at https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/contrib/samples/hema/src/main/webapp/WEB-INF/web.composite with component service HelloworldComponent/HelloworldServi

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 7:03 PM, Raymond Feng wrote: > 2) The other perspective is that SCA doesn't want to reinvent all the > wheels. IMO, using JAX-WS, JAX-RS annotations to provide the mapping in java > for the certain metadata is beneficial to SCA. Its fine for things like jaxws annotations

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Raymond Feng
1) I have a set of slides describing the RESTfult services using Tuscany SCA. I can share it. 2) The other perspective is that SCA doesn't want to reinvent all the wheels. IMO, using JAX-WS, JAX-RS annotations to provide the mapping in java for the certain metadata is beneficial to SCA. Thanks

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 10:44 AM, ant elder wrote: > Can you say a bit about what you're thinking of for "support for > declaratively add the mapping"? > In summary, adding some of these configurations via composite file (e.g http operation mapping, etc) -- Luciano Resende http://people.apache

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 6:40 PM, Luciano Resende wrote: > On Fri, Aug 27, 2010 at 10:37 AM, ant elder wrote: >> On Fri, Aug 27, 2010 at 6:13 PM, Luciano Resende >> wrote: >> >>> >>> I'd try: >>> >>>           >>>                 >>>                 >>>                   >>>                 >>

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 10:37 AM, ant elder wrote: > On Fri, Aug 27, 2010 at 6:13 PM, Luciano Resende wrote: > >> >> I'd try: >> >>           >>                 >>                 >>                   >>                 >>           >> >> This would then be accessible via URL >> >> ?method=&p

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 6:13 PM, Luciano Resende wrote: > > I'd try: > >           >                 >                 >                   >                 >           > > This would then be accessible via URL > > ?method=&parm1=&parm2= > I've tried that and still get the IllegalArgumentExc

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 6:13 PM, Luciano Resende wrote: > On Fri, Aug 27, 2010 at 12:05 AM, ant elder wrote: >> Is binding.rest supposed to work with arbitrary services that don't >> have any jaxrs annotations? And if so how do you configure it to do >> that? >> > > The REST Binding is a superset

Re: Binding Comet location

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 4:59 AM, Florian MOGA wrote: > Regarding the binding, I've just fixed the last issues and details so if > that's ok with everybody I can proceed moving it to trunk these days. Will > it enter the 2.0 release or are there any further steps needed? > Florian I guess my init

Re: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread Luciano Resende
On Fri, Aug 27, 2010 at 12:05 AM, ant elder wrote: > Is binding.rest supposed to work with arbitrary services that don't > have any jaxrs annotations? And if so how do you configure it to do > that? > The REST Binding is a superset of the HTTP Binding, so other then the regular support for Collec

Re: Apache Retreat in Hursley agenda

2010-08-27 Thread Florian MOGA
Here's another one 1. JIRA cleanup and structure 2. Tuscany whitepaper (documentation) On Fri, Aug 27, 2010 at 3:58 PM, Florian MOGA wrote: > Hi, > > Having a chat with Ant, we figured out it will be good having some topics > set for the Retreat to discuss as there will be many of us pre

Apache Retreat in Hursley agenda

2010-08-27 Thread Florian MOGA
Hi, Having a chat with Ant, we figured out it will be good having some topics set for the Retreat to discuss as there will be many of us present there. I'll post the first one here: 1. JIRA cleanup Feel free to reply on this thread with other suggestions. Florian

Re: Unit test error in binding comet

2010-08-27 Thread Simon Nash
Florian MOGA wrote: Tried the geronimo servlet 3.0 artifact and it works fine. I've committed the latest pom containing it. It's much better having a stable artifact. This seems like the right solution. Thanks for the tip. In relation to this topic, I wonder why Sun (Oracle) wouldn't make

Re: Binding Comet location

2010-08-27 Thread Florian MOGA
Hi Luciano, There was no pom in the contrib/ folder as well (I've committed it at that time) so the only way to have it working without copying poms was either setting the parent to ../../trunk/modules/pom.xml or not using a parent which wouldn't bring some tuscany dependencies. Before making the

Re: Unit test error in binding comet

2010-08-27 Thread Florian MOGA
Tried the geronimo servlet 3.0 artifact and it works fine. I've committed the latest pom containing it. It's much better having a stable artifact. Thanks for the tip. In relation to this topic, I wonder why Sun (Oracle) wouldn't make public the javaee 6 jars containing the implementation in maven

Re: Unit test error in binding comet

2010-08-27 Thread ant elder
On Fri, Aug 27, 2010 at 10:13 AM, Florian MOGA wrote: > In conclusion, we've got 3 possibilities: > > javaee-web-api + javax.mail > javaee-web-api + geronimo.javamail > servlet-api:3.0-alpha-1 > > Let me know which option seems best for you. I'd go for the servlet-api due > to it's conciseness bu

Re: Unit test error in binding comet

2010-08-27 Thread Florian MOGA
After trying geronimo artifacts the whole morning with no result, I came over this thread [1] which states that the jars containing the implementations have to be placed before the javaee api jar in the pom. This solved the problem, it works with either geronimo.javamail or javax.mail:mail (Ant pro

Re: Apache Retreat in Hursley, UK - 17-19th September

2010-08-27 Thread Mike Edwards
ant elder wrote: On Mon, Aug 9, 2010 at 8:45 AM, Simon Laws wrote: On Fri, Aug 6, 2010 at 9:50 AM, Simon Nash wrote: ant elder wrote: On Fri, Aug 6, 2010 at 6:23 AM, ant elder wrote: Hi All Just a reminder that our next Apache Retreat will be in Hursley in the UK, from the 17th - 19th Sep

Re: Unit test error in binding comet

2010-08-27 Thread ant elder
That sounds likely to me, the dependency javaee-web-api does include the javax.mail interfaces so its duplicating whats in mail-1.4.jar so its just chance that in my environment it uses the classes from the mail jar and works whereas in your environment it uses the classes from javaee-web-api and s

Fwd: tutorial - using binding.rest with non-jaxrs service?

2010-08-27 Thread ant elder
Is binding.rest supposed to work with arbitrary services that don't have any jaxrs annotations? And if so how do you configure it to do that? I'm trying it with the sample at: https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/contrib/samples/hema/ The service interface is: @Remotable public