Composing an aspect oriented approach to synchronization problems
暂无分享,去创建一个
Synchronization problem can be solved by object-oriented programming language in the field of computer science. Till now we have been developing software using Object oriented programming (OOP). This OOP methodology helps in modularizing the problems. But this technique does not do well in when it comes to separation of concerns. Implementation of OOP may also lead to the code tangling and code scattering. So here we are introducing the aspect oriented approach for better separation of core and crosscutting concerns and higher modularization. Synchronization, logging, security etc are the crosscutting concern which can be implemented with AOP. Reader-Writer problems or Dining Philosophers problem can be solved using aspect oriented approach. An Aspect Oriented Programming is new and a clean approach to the software design and development process. This is not the replacement of OOPs but it is an extension to OOPs. Using this methodology we can reduce the problem of code tangling and hence improve the quality of software. We are here implementing different classical synchronization problems using aspect oriented programming.