The Artima Developer Community
Sponsored Link

Java Buzz Forum
AspectJ and J2ME

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
AspectJ and J2ME Posted: Apr 17, 2006 5:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: AspectJ and J2ME
Feed Title: ShareMe Technologies LLC-The Mobile Future
Feed URL: http://www.jroller.com/shareme/feed/entries/rss
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies LLC-The Mobile Future

Advertisement
As you may know using preporcessing statements is problematic in J2ME. They do not get picked up by IDE incremental builders and thus you only see the errors after a complete full build which significantly increases the development time and debug time.

What if you could isolate the code base into its own functional module of base dcocde whereas the optional features were only called upon when those featurs were present on devices? Last year several people presented presentations of how to use AspectJ for this purpose in J2ME development but not enough details to be usefull.

Trevor Young's Thesis does provide enough detais that you cna build an J2ME CLDC comp liant AspectJ runtime and a build sequence to use AspectJ programming in J2ME for this set of exact purposes. There has been a patch to ApsectJ1.5.1 so that just by eliminating classes providing features we do nto use in J2ME should be enough to build a compliant CLDc versionof the AspectJ runtime for use in J2ME development.

According to Trevor's thesis, the only preprocessing commands you would be using in this case would be chaining features together in the prooprer order in the case of multiple optional features that rely on one another. Becasue using AJDT you would get complete access to having code checked by the incrmental build it should also save debug time in completeing a port for such use as internationlization, porting, IPD version differences, and etc.

Read: AspectJ and J2ME

Topic: Browsing the Ruby way in RDT 0.8? Previous Topic   Next Topic Topic: Links for 2006-04-04 [del.icio.us]

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use