Java Persistence with MyBatis 3 by K. Siva Prasad Reddy, a Sun Certified Java Programmer based in Hyderabad, has more than 6 years of experience working with Java and JavaEE technologies. In addition to this, he has gained ample of experience working on server-side technologies like Spring, Hibernate, MyBatis, JSF and web services. This book is for newbie who has some basic experience of JDBC and working knowledge of database concepts.
It has covered concepts like What is MyBatis and how can you benefit from it; different ways to install and configure it; bootstapping MyBatis; SQL Mappers; how to integrate MyBatis with Spring; and many more.
Current technological advancements leave little scope for ignorance. Each day is experiencing inception of numerous software, IDE’s, programming languages and database management systems. Amongst numerous programming languages, Java has been highly regarded as an impeccable one, which is mostly preferred by numerous application developers.
Java provides for persistent framework like JDBC for data persisting in databases. But more recently iBatis is being preferred for persistent functions. iBatis uses SQL directly. Hence it does not endure any roadblocks in mapping. But proper learning of iBatis is essential for its implementation. Java persistence with MyBatis 3 is an innovative mode of obtaining best knowledge of iBatis.
Through analysis of the product has been carried out to pen the most appropriate and accurate review. Java persistence with MyBatis 3 is an exceptional book which intends on rendering the best in terms of knowledge. Undergoing through various topics will enable the reader to practically implement the aspects of iBatis in a practical environment.
Features of the book:
- The book has been written to provide in-depth technical learning of powerful iBatis persistence framework.
- Comprising of 117 pages, this book intends on turning an ignorant entity into an erudite of iBatis.
- The entire book has been divided into 5 power packed chapters which are as follows.
Getting Started with MyBatis:
This initial chapter deals with introduction to MyBatis, how and in which circumstances MyBatis proves beneficial to you, and demonstration on how to install and configure MyBatis using varied ways.
While going through the initial segments, the reader will be exposed to various points of differentiation between iBatis and JDBC. The reader will be provided with knowledge of developing Java projects and retrieving of information from databases like SQL, through utilization of iBatis.
The chapter has been well written and explained appropriately, demonstrating with examples and sharing tips-and-tricks wherever required.
Bootstrapping MyBatis:
This chapter deals with how to configure your MyBatis using XML and Java API, and how to customize your MyBatis logging techniques so as to achieve better understanding in terms of debugging your application.
In addition to the above, it also deals with bootstrapping concepts of iBatis. The initial topic includes configuration of iBatis using XML. Successive topics in the chapter will enable the readers to get well versed with numerous concepts.
Alike the previous chapter, author has demonstrated the concepts with an example and shared tips-and-tricks for better and convenient understanding to the readers.
SQL Mappers using XML:
This chapter covers SQL Mapping utilizing XML files. The readers will absorb the knowledge of various mapped statements, mappings and conditions for instance if, where, trim etc. in a crystal clear manner.
Alike the previous chapters, author has demonstrated the concept and process using examples.
SQL Mappers using Annotations:
This chapter covers SQL mapping utilizing annotations. It demonstrates the same concepts as covered in SQL Mappers using XML, however with a different approach, ie. Mapping through annotations have been detailed.
Integration with Spring:
This chapter covers the concepts of integrating your iBatis with spring. The basic installation procedure is impeccably (aka, flawlessly) described in the chapter. Configuring and certain working techniques grasped through the medium of book, will ensure that pristine knowledge is encompassed.
- Each chapter has significant short summary at the end which allows reader to extract in-depth cognizance.
- Last few pages include a fledged index so as to provision easy browsing through the book
Other benefits of this book:
- The book is first of its kind, rendering utmost knowledge of iBatis. The book encompasses detailed description of aspects pertaining to iBatis.
- Codes mentioned in the book, to provision development of Java projects, have been explained at length and crystal clear. Hence the aspirants will definitely get acquainted with programming features and concepts easily and firmly.
- The book can be easily understood by any reader who is even not well versed with high level concepts of iBatis. Topics like use of TypeAliases and Custom Type Handlers, XML and Annotation-based Mappers and integration of iBatis with spring framework are extensively covered in 5 chapters.
- Mapping, boot strapping, configuring techniques are also noteworthy.
- While reading the book the readers will completely realize the potential of iBatis for databases.
Conclusion
Though numerous persistence frameworks are available, still iBatis is more efficient and the best. It allows the mapping from databases by utilizing XML files. It is relatively simple to adopt. Therefore the learning of this persistence framework is very essential. Java persistence with MyBatis 3 is the best medium for the readers in terms of easy and firm grasping of iBatis in depth and it is a product which is highly recommended to Java aspirants.
Disclaimer
I volunteered to review this book and received a free copy from Packt Publishing.
This review has been cross posted on GoodReads.com .