RE: Spam: RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-24 Thread Martin Gainty

I wanted to setup a JAX-RS test environment and I thought I would follow your 
lead

Thanks Joseph!
Martin Gainty 
__ 
...place longwinded disclaimer here...


> From: jmoc...@velti.com
> To: user@struts.apache.org
> Subject: Re: Spam: RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins
> Date: Fri, 24 Aug 2012 15:34:57 +
> 
> In our case it was with Tomcat.
> 
> 
> 
> On Aug 23, 2012, at 11:21 AM, Martin Gainty wrote:
> 
> > 
> > JBoss or Tomcat?
> > 
> > Martin 
> > __ 
> > ..place longwinded disclaimer here...
> > 
> > 
> >> From: jmoc...@velti.com
> >> To: user@struts.apache.org
> >> Subject: Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins
> >> Date: Thu, 23 Aug 2012 18:06:24 +
> >> 
> >> �I agree, don't quite understand when you could use RESTeasy or Jersey in 
> >> conjunction with Struts in the same web app.
> >> 
> >> I had written previously that we have a Jersey + Struts2 app running 
> >> nicely.
> >> 
> >>  --joe
> >> 
> >> 
> >> Joseph Mocker   |   Velti   |   Senior Software Architect
> >> t +1.650.566.7033   m +1.408.676.6625
> >> e jmoc...@velti.com   @Mobclix
> >> 
> >> The leading global technology provider of
> >> mobile marketing and advertising solutions
> >> 
> >> On Aug 22, 2012, at 10:53 PM, Lukasz Lenart wrote:
> >> 
> >>> But I think you can always use RESTeasy and get the same value without
> >>> needs for custom plugin. I don't see a point to have another JAX-RS
> >>> implementation on the market.
> >>> 
> >>> 
> >>> Regards
> >>> --
> >>> Łukasz
> >>> + 48 606 323 122 http://www.lenart.org.pl/
> >>> 
> >>> 
> >>> 2012/8/21 Frans Thamura :
> >>>> yes
> >>>> 
> >>>> righr now the syntax is @result and @action
> >>>> 
> >>>> i think if we have more like @get etc
> >>>> 
> >>>> that make it more powerfull
> >>>> 
> >>>> On Aug 22, 2012 3:01 AM, "Łukasz Lenart"  wrote:
> >>>>> 
> >>>>> Hi,
> >>>>> 
> >>>>> I'm not sure if I understand, you just want implement JAX-RS as a
> >>>>> Struts 2 plugin ?
> >>>>> 
> >>>>> 
> >>>>> Regards
> >>>>> --
> >>>>> Łukasz
> >>>>> mobile +48 606 323 122 http://www.lenart.org.pl/
> >>>>> Warszawa JUG conference - Confitura http://confitura.pl/
> >>>>> 
> >>>>> -
> >>>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>>>> For additional commands, e-mail: user-h...@struts.apache.org
> >>>>> 
> >>>> 
> >>> 
> >>> -
> >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: user-h...@struts.apache.org
> >>> 
> >> 
> >> �Т�ХF�V�7V'67&�&R�R���âW6W"�V�7V'67&�&T7G'WG2�6�R��&pФf�"FF�F����6����G2�R���âW6W"ֆV�7G'WG2�6�R��&p
> >   
> 
> B�CB��[��X��ܚX�KK[XZ[�\�\�][��X��ܚX�P��]˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[�\�\�Z[��]˘\X�K�ܙ�B
  

Re: Spam: RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-24 Thread Frans Thamura
my case.

we use struts2 (spring and hibernate ), so the Action has been linked
with hibernate and POJO, and work quiet good.

the result is JSON.. the URL naming from .action become REST
(blabla/param/1/2/3), and work well, take a look Mutiara-iman.org,

and the method is using @Action and @Result, which we extend from REST plugins

We (my team) think that using JAXRS is more better vs the @Action, and
we want to adopt it in our Struts2, to complement the @ACtion and
@Result.

we know that JAXRS is not support the plugins model like Struts2, and
the output is not like S2 (Chart, JSON, HTML), can can use velocity as
rendering.

we want the JAXRS way in our Struts2 Development and render to
Velocity, and if the result =json , it work like current JAXRS API
(REST Easy way)


that is the idea

F

On 8/24/12, Joseph Mocker  wrote:
> In our case it was with Tomcat.
>
>
>
> On Aug 23, 2012, at 11:21 AM, Martin Gainty wrote:
>
>>
>> JBoss or Tomcat?
>>
>> Martin
>> __
>> ..place longwinded disclaimer here...
>>
>>
>>> From: jmoc...@velti.com
>>> To: user@struts.apache.org
>>> Subject: Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins
>>> Date: Thu, 23 Aug 2012 18:06:24 +
>>>
>>> �I agree, don't quite understand when you could use RESTeasy or Jersey in
>>> conjunction with Struts in the same web app.
>>>
>>> I had written previously that we have a Jersey + Struts2 app running
>>> nicely.
>>>
>>>  --joe
>>>
>>>
>>> Joseph Mocker   |   Velti   |   Senior Software Architect
>>> t +1.650.566.7033   m +1.408.676.6625
>>> e jmoc...@velti.com   @Mobclix
>>>
>>> The leading global technology provider of
>>> mobile marketing and advertising solutions
>>>
>>> On Aug 22, 2012, at 10:53 PM, Lukasz Lenart wrote:
>>>
 But I think you can always use RESTeasy and get the same value without
 needs for custom plugin. I don't see a point to have another JAX-RS
 implementation on the market.


 Regards
 --
 Łukasz
 + 48 606 323 122 http://www.lenart.org.pl/


 2012/8/21 Frans Thamura :
> yes
>
> righr now the syntax is @result and @action
>
> i think if we have more like @get etc
>
> that make it more powerfull
>
> On Aug 22, 2012 3:01 AM, "Łukasz Lenart" 
> wrote:
>>
>> Hi,
>>
>> I'm not sure if I understand, you just want implement JAX-RS as a
>> Struts 2 plugin ?
>>
>>
>> Regards
>> --
>> Łukasz
>> mobile +48 606 323 122 http://www.lenart.org.pl/
>> Warszawa JUG conference - Confitura http://confitura.pl/
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org

>>>
>>> �Т�ХF�
>>> V�7V'67&�&R� R�� �â W6W"�V�7V'67&�&T 7G'WG2�   6�R��&pФf�"  FF�F��� �
>>> 6��� �G2� R�� �â W6W"ֆV�  7G'WG2�   6�R��&p
>>  
>
>


-- 
--
Frans Thamura (曽志胜)
Shadow Master and Lead Investor
Meruvian.
Integrated Hypermedia Java Solution Provider.

Mobile: +628557888699
Blog: http://blogs.mervpolis.com/roller/flatburger (id)

FB: http://www.facebook.com/meruvian
TW: http://www.twitter.com/meruvian / @meruvian
Website: http://www.meruvian.org

"We grow because we share the same belief."

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Spam: RE: Q: S2 REST vs JAXRS or S2-JAX-RS plugins

2012-08-24 Thread Joseph Mocker
In our case it was with Tomcat.



On Aug 23, 2012, at 11:21 AM, Martin Gainty wrote:

> 
> JBoss or Tomcat?
> 
> Martin 
> __ 
> ..place longwinded disclaimer here...
> 
> 
>> From: jmoc...@velti.com
>> To: user@struts.apache.org
>> Subject: Re: Q: S2 REST vs JAXRS or S2-JAX-RS plugins
>> Date: Thu, 23 Aug 2012 18:06:24 +
>> 
>> �I agree, don't quite understand when you could use RESTeasy or Jersey in 
>> conjunction with Struts in the same web app.
>> 
>> I had written previously that we have a Jersey + Struts2 app running nicely.
>> 
>>  --joe
>> 
>> 
>> Joseph Mocker   |   Velti   |   Senior Software Architect
>> t +1.650.566.7033   m +1.408.676.6625
>> e jmoc...@velti.com   @Mobclix
>> 
>> The leading global technology provider of
>> mobile marketing and advertising solutions
>> 
>> On Aug 22, 2012, at 10:53 PM, Lukasz Lenart wrote:
>> 
>>> But I think you can always use RESTeasy and get the same value without
>>> needs for custom plugin. I don't see a point to have another JAX-RS
>>> implementation on the market.
>>> 
>>> 
>>> Regards
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/
>>> 
>>> 
>>> 2012/8/21 Frans Thamura :
 yes
 
 righr now the syntax is @result and @action
 
 i think if we have more like @get etc
 
 that make it more powerfull
 
 On Aug 22, 2012 3:01 AM, "Łukasz Lenart"  wrote:
> 
> Hi,
> 
> I'm not sure if I understand, you just want implement JAX-RS as a
> Struts 2 plugin ?
> 
> 
> Regards
> --
> Łukasz
> mobile +48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
 
>>> 
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>> 
>> 
>> �Т�ХF�V�7V'67&�&R�R���âW6W"�V�7V'67&�&T7G'WG2�6�R��&pФf�"FF�F����6����G2�R���âW6W"ֆV�7G'WG2�6�R��&p
>