History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OQ-277
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dick Anderson
Reporter: Dick Anderson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenQuote

Reduce boiler plate code in the Service pattern

Created: 18/Nov/11 07:01 AM   Updated: 29/Feb/12 03:18 PM
Component/s: commercial, community, core, development, insurance, openquote
Affects Version/s: None
Fix Version/s: 1.4RC1

Release Notes Comment: The service pattern has been greatly simplified in 1.4 with a number of benefits. Most notably a huge reduction in the amount of boiler plate code needed and a clean separation between interface and implementation.


 Description  « Hide
The Service pattern currently requires four classes per service: *Arg, *ArgImp, *Command, *Service. To use a service, it also has to be wired in the config system. This is all rather painful.

The ArgImp and Command classes can be easily generated by annotations. The wiring could also be created by annotation processors.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.