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
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 :
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
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
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
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
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 :
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 {
|
|