Sawan Mishra wrote:Even I had also thought in this way but my friends are not convinced with this answer.They are saying
database can store data for future use and also at the same time we can manipulate data and keep
the result in some other table.And I can't find anything to counter them.
Probably because they're absolutely right. Databases
are extremely powerful, and you can do an awful lot of stuff with them. However, they're also a bit of a "one-trick pony", so if you want to write entire applications that work only within the bounds of the database, you may be obliged to accept the restrictions they impose - like working with forms, or clunky, hybrid languages like PL-SQL.
Java, on the other hand, was written specifically as a "run-anywhere"
programming language, and almost from its inception was designed with the World Wide Web in mind; so it has tons of tools for developing web apps or collections or games of enormous variety.
Could you install an Oracle database on a smartphone? Possibly these days; but would you want to? The fact is that you probably
could install a JavaDB on one; and even if you don't want to do that, you could still write a Java program for one that could
communicate with an Oracle database.
Hope it helps you with your argument.
Winston
[Edit] Actually, according to
this page, you can't run JavaDB with Android; but there are others you can.