The Artima Developer Community
Sponsored Link

Java Buzz Forum
Extending J2MEUnit

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
Extending J2MEUnit Posted: May 7, 2006 9:20 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Extending J2MEUnit
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
I will use theAgileFusion.com Blog post about extending J2meunit to indicate the correct way to extend anything in J2me. Because of the space requirements if you are adding an optional feature to a library or application usually you will extend the base class in another class as part of a new package.

You override the methods you are modiying and re-use the methods of the base class. This will save space for the library or application you are modifying because you are not fully re-coding the class. It allows those developers who do not need that fucntionality to eliminate that class from their code without any limitations or penalties.

In the j2meunit example the new class package is j2meunit.serverui and the class might be TetsSendToServerRunner.

Read: Extending J2MEUnit

Topic: MMS 2006: AssetMetrix Acquisition [Flickr] Previous Topic   Next Topic Topic: JSF productivity

Sponsored Links



Google
  Web Artima.com   

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