You should be using org.apache.tapestry.annotations.Service annotation.

http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/Service.html

maxthesecond wrote:
> Almost, but now compiler doesen't know what @Service is.....
> I've read the documents but they lack a sample of usage from the client side
> of the service....don't know witch files I have to include (import) import
> org.apache.tapestry.ioc.annotations.??
> thanks a lot ....just one step and I'm done!
>
>
>
> HugoPalma wrote:
>   
>> Try:
>>
>> @Inject
>> @Service("MyService1") private IMyInterface  _CMF;
>>
>>
>> Check the end of this page
>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/inject.html
>>
>>     
>
>   

Reply via email to