Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Aspect oriented programming in Java

 
robinglow Mr
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we do aspect oriented programming in java? If yes then object of aspect oriented programming occupy more space in memory then simple OOP object.
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out AspectJ.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're adding functionality, so of course more memory would be used. How *much* more depends on the AOP implementation, the nature of the specific functionality you've added (and where), etc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic