Last updated by admin 4 years ago
?? ??
Grails ???
Grails? ??? ??(separation of concerns) ???? ???? Grails ??????? ? ???? ???? ????:- ? ??: ?????? ??? ?? ????. ? ??? ???? ??? ????:
- ?
- ????
- ??? ??(flows)
- ??
- ?? ??(command objects)
- ??? ???(validators)
- ???? ?? ??: business logic controlled by a middle tier that supports transactional demarcation. Artifacts are:
- ??? ???
- ???
- ??? ??: ???? ??? ???? ?? ??? ???? ????, ???? ?? ?? ???? ????. ???? ??? ????:
- ??? ???? ?? ????
- ??? ??
- ORM ?? ?? ? ???
??(injection) ??
Bean? ??(injection)? ???? ?? ?? ??? ?? ??? ?? ?????.CountryService countryService
boolean byName = true
boolean available = true
??? ?? ??
?? ??? ??? ?? ??? ??? ???? ??? ? ??? ?? ??, ? ??? ??? ?? ???? ????:class SomeService {
boolean transactional = false
String transactional = "false" // this property is ignored for configurational purposes.
}


