answersLogoWhite

0

How is Java persistence done?

Updated: 8/16/2019
User Avatar

Wiki User

13y ago

Best Answer

Java persistence is implemented using serialization. Serialization is a technique in java using which the contents of a java object (A class instance) can be written into a flat file. This value can be unserialized or deserialized at a later point of time to create the object.

Any class that implements the Serializable interface can be serialized.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is Java persistence done?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is it possible while developing any software by using java can you manage database?

Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.Yes. In Java this is done through the JDBC classes.


How does java support the concept of destructer in java?

In Java, Java does support the concept of destructor, it's done via special method finalize.


What is meaning of word persistence in java?

Persistence is the term used to refer to the situation where the objects data is stored even after the object is destroyed or the application is closed. Persistence is implemented using Serialization where the data of the object is serialized into flat files and stored into the system. These files can be de-serialized to form the objects by using de-serialization.


What is java one studio?

it is java people community to discuss about the new development and new development those are done with java language it is presented


Which one is more advanced oracle or java?

They are not comparable to each other. Oracle is a company/organization, or a database (developed by the organization with the same name). Java is a general purpose programming language. You may write a Java program not using Oracle database as the persistence. And you may use Oracle Database without Java programming language. Interestingly though, Oracle, the company, does provide both Oracle and Java Certification programs.


What is the translator used for java?

By translating, the assumption taken here is how the java code is converted into an executable. This is done by the javaccompiler.


Do you have to use java?

Not usually. There are numerous languages out there with similar functionality. The only time you must use Java is if your employer or client demands that a project be done in Java, or a particular platform requires the use of Java, such as Android OS.


Can you unistall java?

I don't know how it is done in Windows, but in Linux based systems you can remove Java using the "apt-get remove" command.


What has the java sparrow done to the ecosystem?

It has been eating the rice crops


Where can one update their Java player online?

Someone can update their java player online from a number of websites such as the official java website. To update java player, someone needs to visit the java website and select update from the home page. There will be a prompt to download and install the latest version of java. After that is done, the player will be updated.


What do you call a Program that runs Java byte code instruction?

Get the JDK & Bluej from net and the rest will be done by them. Java byte codes are stored as *.class ; where "*" represents the class name, in your hard disk. You can download BlueJ as well as JDK from the related link.


How nesting of methods is done in java?

No, Java only allows a method to be defined within a class, not within another method.