• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

j2me and POJO

 
kom piainen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone !
I have been wondering for a while that is it wise to use POJO-classes in J2ME application ?

If it is, is there any special requirements when they are used in j2me ?

Regards,
kom pinainen
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well if you didn't have a "POJO" or two in your J2ME application then your entire application code would be in one file, one class, one MIDlet. Wow, if your application is big enough that would be one maintenance nightmare I would never want to work on.

So, in my drastic answer, the answer is yes use POJOs. Don't create seperate packages, and keep them down to only the bare necessities. But use common sense and logic to determine what to seperate out.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic