There is an addon from gvNIX team that allows you to create a service layer.
The bundle symbolic name for service add-on is org.gvnix.service.roo.addon. To install it:
pgp trust --keyId 0xC5FC814B
addon install bundle --bundleSymbolicName org.gvnix.service.roo.addon
Use example:
# Create a service layer class
service class --class ~.service.MyServiceClass
# Add operations to the service layer class
service operation --name checkString --service ~.service.MyServiceClass
service operation --name returnString --service ~.service.MyServiceClass --return java.lang.String --exceptions java.lang.Exception
It also the addon allows you to expose class operations as web services and import external web services as a local service class, more info at
http://code.google.com/p/gvnix/wiki/...ity_feature s and
http://code.google.com/p/gvnix/wiki/...ces_Management)
You can report any issue at
http://code.google.com/p/gvnix/issues/list. Send your doubts to
http://listserv.gva.es/cgi-bin/mailm.../gvNIX_soporte
Kind regards