[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2006-01-16 Thread yantriki
Yes, I have the Service tutorial running. Following is my code: | package org.vss.jboss.service; | import org.jboss.annotation.ejb.Management; | | @Management | public interface PollingServiceManagement { | public int getPollInterval(); | | public void

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-20 Thread lutfi123456
is your Service tutorial application running well, yantriki? because I have some problems with @Management(MyClass.class) because the annotation for Management doesnt contains an argument. How can you solve that? View the original post :

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-17 Thread yantriki
Thanks Bill. I appreciate your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913268#3913268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913268 --- This SF.net

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-16 Thread yantriki
Kabir, I am unable to deploy the service. When I use the extension .sar, the SARDeployer expects to find jboss-service.xml file. However, if I deploy the file as .ejb3, the service never starts,although it deploys fine. Please, also note that I have renamed the PollingService to

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-16 Thread yantriki
Amazingly, it was the jboss-ejb3.jar file, which apparently does not have org.jboss.annotation classes available. Once I got these files from the EJB3Trail tutorial, the service deployed smoothly. The Eclipse IDE did not show any error at all about these missing annotation classes and compiled

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-16 Thread [EMAIL PROTECTED]
they are in jboss-annotations-ejb3.jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913205#3913205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913205 --- This

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-10 Thread [EMAIL PROTECTED]
In the ejb3 distribution there are some tutorials explaining the jboss extensions with code examples. They are under docs/tutorial/index.html. As shown in the Service tutorial (docs/tutorial/service) there is no requirement for a jboss-service.xml when deploying View the original post :

[JBoss-user] [EJB 3.0] - Re: Using @Service annotation in eclipse; JBoss EJB 3.0 Serv

2005-12-09 Thread yantriki
Please help with writing EJB 3.0 Service. I can't get it to deploy. I wrote the following EJB 3.0 Service: | @Service(objectName = ejb3:service=PollingService) | @Management(PollingServiceManagement.class) | public class PollingService implements PollingServiceManagement { | |