Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
sajit56
Posts: 85
Registered: ‎08-17-2010
My Carrier: Vodafone
Accepted Solution

What is better to use either database or persistence.

Hello friends,

I have a doubt related to usage of database and persistence.

I am working on a application based on OS_v5.0, I can use either database to store my data or persistence.

So which one will be better to use as memory and speed perspective.

 

Thanks 

Regards,
Ajit Sharma
Please use plain text.
Developer
peter_strange
Posts: 17,661
Registered: ‎07-14-2008

Re: What is better to use either database or persistence.

There is no right answer here.  The critical factors include

a) The structure of the data - is it Objects or Rows

b) The size of the data,

c) How the data is to be used

d) How much coding effort you are willing to put in.

 

You need to weigh all of these factors up before making a decision.

 

Perhaps you can give some indication in each of these areas and we can suggest which way we would go?

Please use plain text.
Developer
sajit56
Posts: 85
Registered: ‎08-17-2010
My Carrier: Vodafone

Re: What is better to use either database or persistence.

Thanks for your replay.

Regards,
Ajit Sharma
Please use plain text.