It blended concepts from existing languages such as C++ and Smalltalk into a new programming language. Java is an object oriented programming language first released by Sun Microsystems in 1995. There are many ways to access a relational database from Java, JPA is just the latest of many different specifications, but it seems to be the direction that most programmers are heading. Because Java is an Object Oriented language, storing Java objects is a natural and common approach to persisting data from Java. Many Java applications use Java objects to model their application data. Java data includes strings, numbers, date and byte arrays, images, XML, and Java objects. There are many things that can be stored in databases with Java. Relational databases are the standard mode of persistent storage for most industries, from banking to manufacturing. Most things that you do on a computer or web site that involve storing data, involve accessing a relational database. However, the majority of data is persisted in databases, specifically relational databases. There are many ways to make data persist in Java, including (to name a few): JDBC, serialization, file IO, JCA, object databases, and XML databases. In particular using the Java Persistence API (JPA). That is why this book is more focused on storing Java objects to relational databases. Java persistence could be defined as storing anything to any level of persistence using the Java programming language, but obviously this would be too broad a definition to cover in a single book. Persistence, in computer science, is a noun describing data that outlives the process that created it. Please refrain from being overly critical of any product, ranting about bugs, or marketing your own product or services. The book should sound casual, like a co-worker explaining to you how to use something, or a fellow consultant relating their latest engagement to another. The goal is avoid sounding dry, overly technical or impersonal. This book is meant to be written in a casual manner. Please don't just read this book, if you're learning or developing with JPA please contribute your experiences to this book. It is mainly intended for Java developers intending to persist Java objects through the Java Persistence API (JPA) standard to a relational database. This book is intended to be useful for or to anyone learning to, or developing Java applications that require persisting data to a database. I do not want this to be just a regurgitation of the JPA Spec, nor a User Manual to using one of the JPA products, but more focused on real-world use cases of users and applications trying to make use of JPA (or other Java persistence solution) and the patterns they evolved and pitfalls they made. Specifically using the Java Persistence API (JPA) to store Java objects to relational databases, but I would like it to have a somewhat wider scope than just JPA and concentrate more on general persistence patterns and use cases, after all JPA is just the newest of many failed Java persistence standards, this book should be able to evolve beyond JPA when it is replaced by the next persistence standard. This book is meant to cover Java persistence, that is, storing stuff in the Java programming language to a persistent storage medium.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |