Adding a custom Java service to a project is a simple matter of choosing Java Service from the Services menu. The New Java Service dialog asks for only a Service Name and a Package and Class Name:
The Service Name is the name we'll see in the project services tree, service drop-down, and so on. The Package and Class Name is just the package and class name together. Take the desired package name and the desired class name together to form the fully qualified name of the Java class to be created.
In the previous example, the service name is
DbOpsSvc, as in "database operations service". The fully qualified class name entered ...