As the above shows, there are two separate released artifacts:
The main
(org.starobjects.restful:main
) is a multimodule
project that defines the main artifacts that implement Restful
Objects. It contains:
the applib
(org.starobjects.restful:applib
)
The application library defines a set of interfaces representing the resources annotated using javax.ws.rs (JSR311) annotations. These in effect define the endpoints available for clients. The library also contains some helper utility classes.
The applib uses
org.starobjects.restful:main
as its
parent.
the viewer
(org.starobjects.restful:viewer
)
The viewer provides an implementation of the applib resources, exposing the domain objects as RESTful resources in XHTML 5. The resource include forms to allow testing from web browsers. To support browsers predating XHTML 5, Javascript is also served up (only Firefox 3.0 has been tested).
The viewer also uses
org.starobjects.restful:main
as its
parent.
the documentation
(org.starobjects.restful:documentation
)
The documentation submodule contains the user and developers'
guides. It also uses
org.starobjects.restful:main
as its
parent.
It uses the corporate POM (org.starobjects.star:corporate) as its parent.