EBookClubs

Read Books & Download eBooks Full Online

EBookClubs

Read Books & Download eBooks Full Online

Book Spring Boot Persistence Best Practices

Download or read book Spring Boot Persistence Best Practices written by Anghel Leonard and published by Apress. This book was released on 2020-04-29 with total page 1043 pages. Available in PDF, EPUB and Kindle. Book excerpt: This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more applications. Mainly, when we try to accomplish something (e.g., read some data from the database), there are several approaches to do it, and, in order to choose the best way, you have to know the implied trades-off from a performance perspective. You’ll see that in the end, all these penalties slow down the application. Besides presenting the arguments that favor a certain choice, the application is written in Spring Boot style which is quite different than plain Hibernate. Persistence is an important set of techniques and technologies for accessing and using data, and this book demonstrates that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, ecommerce, cloud and other transaction-oriented applications. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring. What You Will Learn Shape *-to-many associations for best performancesEffectively exploit Spring Projections (DTO) Learn best practices for batching inserts, updates and deletes Effectively fetch parent and association in a single SELECTLearn how to inspect Persistent Context contentDissect pagination techniques (offset and keyset)Handle queries, locking, schemas, Hibernate types, and more Who This Book Is For Any Spring and Spring Boot developer that wants to squeeze the persistence layer performances.

Book Spring Boot Persistence Best Practices

Download or read book Spring Boot Persistence Best Practices written by Anghel Leonard and published by . This book was released on 2020 with total page pages. Available in PDF, EPUB and Kindle. Book excerpt: This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more applications. Mainly, when we try to accomplish something (e.g., read some data from the database), there are several approaches to do it, and, in order to choose the best way, you have to know the implied trades-off from a performance perspective. Youll see that in the end, all these penalties slow down the application. Besides presenting the arguments that favor a certain choice, the application is written in Spring Boot style which is quite different than plain Hibernate. Persistence is an important set of techniques and technologies for accessing and using data, and this book demonstrates that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, ecommerce, cloud and other transaction-oriented applications. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring. You will: Shape *-to-many associations for best performances Effectively exploit Spring Projections (DTO) Learn best practices for batching inserts, updates and deletes Effectively fetch parent and association in a single SELECT Learn how to inspect Persistent Context content Dissect pagination techniques (offset and keyset) Handle queries, locking, schemas, Hibernate types, and more.

Book Java Database Best Practices

    Book Details:
  • Author : George Reese
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2003-05-14
  • ISBN : 1449365620
  • Pages : 288 pages

Download or read book Java Database Best Practices written by George Reese and published by "O'Reilly Media, Inc.". This book was released on 2003-05-14 with total page 288 pages. Available in PDF, EPUB and Kindle. Book excerpt: When creating complex Java enterprise applications, do you spend a lot of time thumbing through a myriad of books and other resources searching for what you hope will be the API that's right for the project at hand?Java Database Best Practices rescues you from having to wade through books on each of the various APIs before figuring out which method to use! This comprehensive guide introduces each of the dominant APIs (Enterprise JavaBeans, Java Data Objects, the Java Database Connectivity API (JDBC) as well as other, lesser-known options), explores the methodology and design components that use those APIs, and then offers practices most appropriate for different types and makes of databases, as well as different types of applications.Java Database Practices also examines database design, from table and database architecture to normalization, and offers a number of best practices for handling these tasks as well. Learn how to move through the various forms of normalization, understand when to denormalize, and even get detailed instructions on optimizing your SQL queries to make the best use of your database structure. Through it all, this book focuses on practical application of these techniques, giving you information that can immediately be applied to your own enterprise projects.Enterprise applications in today's world are about data-- whether it be information about a product to buy, a user's credit card information, or the color that a customer prefers for their auto purchases. And just as data has grown in importance, the task of accessing that data has grown in complexity. Until now, you have been left on your own to determine which model best suits your application, and how best to use your chosen API. Java Database Practices is the one stop reference book to help you determine what's appropriate for your specific project at hand. Whether it's choosing between an alphabet soup of APIs and technologies--EJB, JDO, JDBC, SQL, RDBMS, OODBMS, and more on the horizon, this book is an indispensable resource you can't do without.

Book Persistence Best Practices for Java Applications

Download or read book Persistence Best Practices for Java Applications written by Otavia Santana and published by Packt Publishing. This book was released on 2023-08-25 with total page 0 pages. Available in PDF, EPUB and Kindle. Book excerpt: The definitive guide for designing and delivering reliable and high-performing persistence layers using Java in the cloud-native age Purchase of the print or Kindle book includes a free PDF eBook Key Features: Uncover database patterns for designing readable and maintainable architectures and Java applications Master various techniques to overcome application and architecture persistence challenges Discover painless application modernization with change-data-capture powered by cloud-native technologies Book Description: Having a solid software architecture breathes life into tech solutions. In the early stages of an application's development, critical decisions need to be made, such as whether to go for microservices, a monolithic architecture, the event-driven approach, or containerization. In Java contexts, frameworks and runtimes also need to be defi ned. But one aspect is often overlooked - the persistence layer - which plays a vital role similar to that of data stores in modern cloud-native solutions. To optimize applications and data stores, a holistic understanding of best practices, technologies, and existing approaches is crucial. This book presents well-established patterns and standards that can be used in Java solutions, with valuable insights into the pros and cons of trending technologies and frameworks used in cloud-native microservices, alongside good Java coding practices. As you progress, you'll confront the challenges of cloud adoption head-on, particularly those tied to the growing need for cost reduction through stack modernization. Within these pages, you'll discover application modernization strategies and learn how enterprise data integration patterns and event-driven architectures enable smooth modernization processes with low-to-zero impact on the existing legacy stack. What You Will Learn: Gain insights into data integration in Java services and the inner workings of frameworks Apply data design patterns to create a more readable and maintainable design system Understand the impact of design patterns on program performance Explore the role of cloud-native technologies in modern application persistence Optimize database schema designs and leverage indexing strategies for improved performance Implement proven strategies to handle data storage, retrieval, and management efficiently Who this book is for: If you're a developer, engineer, or software architect working in the field of software development, particularly with a focus on Java solutions, this book is for you.

Book Java Persistence with Hibernate

Download or read book Java Persistence with Hibernate written by Gary Gregory and published by Simon and Schuster. This book was released on 2015-10-27 with total page 1053 pages. Available in PDF, EPUB and Kindle. Book excerpt: Summary Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions. About the Technology Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications. About the Book Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you'll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions. What's Inside Object/relational mapping concepts Efficient database application design Comprehensive Hibernate and Java Persistence reference Integration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depth About the Reader The book assumes a working knowledge of Java. About the Authors Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration. Table of Contents PART 1 GETTING STARTED WITH ORM Understanding object/relational persistence Starting a project Domain models and metadata PART 2 MAPPING STRATEGIES Mapping persistent classes Mapping value types Mapping inheritance Mapping collections and entity associations Advanced entity association mappings Complex and legacy schemas PART 3 TRANSACTIONAL DATA PROCESSING Managing data Transactions and concurrency Fetch plans, strategies, and profiles Filtering data PART 4 WRITING QUERIES Creating and executing queries The query languages Advanced query options Customizing SQL

Book Persistence Best Practices for Java Applications

Download or read book Persistence Best Practices for Java Applications written by Otavio Santana and published by Packt Publishing Ltd. This book was released on 2023-08-25 with total page 202 pages. Available in PDF, EPUB and Kindle. Book excerpt: The definitive guide for designing and delivering reliable and high-performing persistence layers using Java in the cloud-native age Purchase of the print or Kindle book includes a free PDF eBook Key Features Uncover database patterns for designing readable and maintainable architectures and Java applications Master various techniques to overcome application and architecture persistence challenges Discover painless application modernization with change-data-capture powered by cloud-native technologies Book Description Having a solid software architecture breathes life into tech solutions. In the early stages of an application's development, critical decisions need to be made, such as whether to go for microservices, a monolithic architecture, the event-driven approach, or containerization. In Java contexts, frameworks and runtimes also need to be defi ned. But one aspect is often overlooked – the persistence layer – which plays a vital role similar to that of data stores in modern cloud-native solutions. To optimize applications and data stores, a holistic understanding of best practices, technologies, and existing approaches is crucial. This book presents well-established patterns and standards that can be used in Java solutions, with valuable insights into the pros and cons of trending technologies and frameworks used in cloud-native microservices, alongside good Java coding practices. As you progress, you'll confront the challenges of cloud adoption head-on, particularly those tied to the growing need for cost reduction through stack modernization. Within these pages, you'll discover application modernization strategies and learn how enterprise data integration patterns and event-driven architectures enable smooth modernization processes with low-to-zero impact on the existing legacy stack. What you will learn Gain insights into data integration in Java services and the inner workings of frameworks Apply data design patterns to create a more readable and maintainable design system Understand the impact of design patterns on program performance Explore the role of cloud-native technologies in modern application persistence Optimize database schema designs and leverage indexing strategies for improved performance Implement proven strategies to handle data storage, retrieval, and management efficiently Who this book is for If you're a developer, engineer, or software architect working in the field of software development, particularly with a focus on Java solutions, this book is for you.

Book Spring Boot  Up and Running

Download or read book Spring Boot Up and Running written by Mark Heckler and published by O'Reilly Media. This book was released on 2021-02-05 with total page 330 pages. Available in PDF, EPUB and Kindle. Book excerpt: With over 75 million downloads per month, Spring Boot is the most widely used Java framework available. Its ease and power have revolutionized application development from monoliths to microservices. Yet Spring Boot's simplicity can also be confounding. How do developers learn enough to be productive immediately? This practical book shows you how to use this framework to write successful mission-critical applications. Mark Heckler from VMware, the company behind Spring, guides you through Spring Boot's architecture and approach, covering topics such as debugging, testing, and deployment. If you want to develop cloud native Java or Kotlin applications with Spring Boot rapidly and effectively--using reactive programming, building APIs, and creating database access of all kinds--this book is for you. Learn how Spring Boot simplifies cloud native application development and deployment Build reactive applications and extend communication across the network boundary to create distributed systems Understand how Spring Boot's architecture and approach increase developer productivity and application portability Deploy Spring Boot applications for production workloads rapidly and reliably Monitor application and system health for optimal performance and reliability Debug, test, and secure cloud-based applications painlessly

Book Spring Persistence with Hibernate

Download or read book Spring Persistence with Hibernate written by Paul Fisher and published by Apress. This book was released on 2011-02-01 with total page 261 pages. Available in PDF, EPUB and Kindle. Book excerpt: Persistence is an important set of techniques and technologies for accessing and transacting data, and ensuring that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, e-commerce, and other transaction-oriented applications. Today, the Spring framework is the leading out-of-the-box solution for enterprise Java developers; in it, you can find a number of Java Persistence solutions. This book gets you rolling with fundamental Spring Framework 3 concepts and integrating persistence functionality into enterprise Java applications using Hibernate, the JavaTM Persistence API (JPA) 2, and the Grails Object Relational Mapping tool, GORM. Covers core Hibernate fundamentals, demonstrating how the framework can be best utilized within a Spring application context Covers how to use and integrate JPA 2, found in the new Java EE 6 platform Covers how to integrate and use the new Grails persistence engine, GORM

Book High Performance Java Persistence

Download or read book High Performance Java Persistence written by Vlad Mihalcea and published by Vlad Mihalcea. This book was released on 2016-10-12 with total page pages. Available in PDF, EPUB and Kindle. Book excerpt: A high-performance data access layer must resonate with the underlying database system. Knowing the inner workings of a relational database and the data access frameworks in use can make the difference between a high-performance enterprise application and one that barely crawls. This book is a journey into Java data access performance tuning. From connection management, to batch updates, fetch sizes and concurrency control mechanisms, it unravels the inner workings of the most common Java data access frameworks. The first part aims to reduce the gap between application developers and database administrators. For this reason, it covers both JDBC and the database fundamentals that are of paramount importance when reducing transaction response times. In this first part, you'll learn about connection management, batch updates, statement caching, result set fetching and database transactions. The second part demonstrates how you can take advantage of JPA and Hibernate without compromising application performance. In this second part, you'll learn about the most efficient Hibernate mappings (basic types, associations, inheritance), fetching best practices, caching and concurrency control mechanisms. The third part is dedicated to jOOQ and its powerful type-safe querying capabilities, like window functions, common table expressions, upsert, stored procedures and database functions.

Book Hibernate Tips

    Book Details:
  • Author : Thorben Janssen
  • Publisher : Thoughts on Java
  • Release : 2018-01-09
  • ISBN : 3963136987
  • Pages : 250 pages

Download or read book Hibernate Tips written by Thorben Janssen and published by Thoughts on Java. This book was released on 2018-01-09 with total page 250 pages. Available in PDF, EPUB and Kindle. Book excerpt: When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use. Hibernate Tips - More than 70 solutions to common Hibernate problems shows you how to efficiently implement your persistence layer with Hibernate's basic and advanced features. Each Hibernate Tip consists of one or more code samples and an easy to follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate Tip. Throughout this book, you will get more than 70 ready-to-use solutions that show you how to: - Define standard mappings for basic attributes and entity associations. - Implement your own attribute mappings and support custom data types. - Use Hibernate's Java 8 support and other proprietary features. - Read data from the database with JPQL, Criteria API, and native SQL queries. - Call stored procedures and database functions. This book is for developers who are already working with Hibernate and who are looking for solutions for their current development tasks. It's not a book for beginners who are looking for extensive descriptions of Hibernate's general concepts. The tips are designed as self-contained recipes which provide a specific solution and can be accessed when needed. Most of them contain links to related tips which you can follow if you want to dive deeper into a topic or need a slightly different solution. There is no need to read the tips in a specific order. Feel free to read the book from cover to cover or to just pick the tips that help you in your current project.

Book Java Persistence for Relational Databases

Download or read book Java Persistence for Relational Databases written by Richard Sperko and published by . This book was released on 2003-07 with total page 372 pages. Available in PDF, EPUB and Kindle. Book excerpt: Java Persistence for Relational Databases is chock full of best practices and patterns, for those of you who want to connect to databases using Java! Coverage includes various database-related APIs for Java, like JDO, JDBC (including the newest 3.0 APIs), and CMP (“Container Managed Persistence” with EJB). All those things you developers have wanted to know—but were afraid to ask—are featured inside this book. It offers a realistic and multi-angled look at persisting Java objects. Whether your environment requires you to use JDO, CMP, Castor, or to hand-code a persistence layer using JDBC, the answers all lie inside this book.

Book Spring Persistence with Hibernate

Download or read book Spring Persistence with Hibernate written by Paul Fisher and published by Apress. This book was released on 2016-05-31 with total page 179 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn how to use the core Hibernate APIs and tools as part of the Spring Framework. This book illustrates how these two frameworks can be best utilized. Other persistence solutions available in Spring are also shown including the Java Persistence API (JPA). Spring Persistence with Hibernate, Second Edition has been updated to cover Spring Framework version 4 and Hibernate version 5. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring. Persistence is an important set of techniques and technologies for accessing and using data, and ensuring that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, e-commerce, and other transaction-oriented applications. Today, the agile and open source Spring Framework is the leading out-of-the-box, open source solution for enterprise Java developers; in it, you can find a number of Java persistence solutions. What You'll Learn Use Spring Persistence, including using persistence tools in Spring as well as choosing the best Java persistence frameworks outside of Spring Take advantage of Spring Framework features such as Inversion of Control (IoC), aspect-oriented programming (AOP), and more Work with Spring JDBC, use declarative transactions with Spring, and reap the benefits of a lightweight persistence strategy Harness Hibernate and integrate it into your Spring-based enterprise Java applications for transactions, data processing, and more Integrate JPA for creating a well-layered persistence tier in your enterprise Java application Who This Book Is For This book is ideal for developers interested in learning more about persistence framework options on the Java platform, as well as fundamental Spring concepts. Because the book covers several persistence frameworks, it is suitable for anyone interested in learning more about Spring or any of the frameworks covered. Lastly, this book covers advanced topics related to persistence architecture and design patterns, and is ideal for beginning developers looking to learn more in these areas.

Book Java Enterprise Best Practices

Download or read book Java Enterprise Best Practices written by O'Reilly Java Authors and published by "O'Reilly Media, Inc.". This book was released on 2002-12-18 with total page 290 pages. Available in PDF, EPUB and Kindle. Book excerpt: Java developers typically go through four "stages" in mastering Java. In the first stage, they learn the language itself. In the second stage, they study the APIs. In the third stage, they become proficient in the environment. It is in the fourth stage --"the expert stage"-- where things really get interesting, and Java Enterprise Best Practices is the tangible compendium of experience that developers need to breeze through this fourth and final stage of Enterprise Java mastery.Crammed with tips and tricks, Java Enterprise Best Practices distills years of solid experience from eleven experts in the J2EE environment into a practical, to-the-point guide to J2EE.Java Enterprise Best Practices gives developers the unvarnished, expert-tested advice that the man pages don't provide--what areas of the APIs should be used frequently (and which are better avoided); elegant solutions to problems you face that other developers have already discovered; what things you should always do, what things you should consider doing, and what things you should never do--even if the documentation says it's ok.Until Java Enterprise Best Practices, Java developers in the fourth stage of mastery relied on the advice of a loose-knit community of fellow developers, time-consuming online searches for examples or suggestions for the immediate problem they faced, and tedious trial-and-error. But Java has grown to include a huge number of APIs, classes, and methods. Now it is simply too large for even the most intrepid developer to know it all. The need for a written compendium of J2EE Best Practices has never been greater.Java Enterprise Best Practices focuses on the Java 2 Enterprise Edition (J2EE) APIs. The J2EE APIs include such alphabet soup acronyms as EJB, JDBC, RMI, XML, and JMX.

Book Pro EJB 3

    Book Details:
  • Author : Mike Keith
  • Publisher : Apress
  • Release : 2006-12-06
  • ISBN : 1430201681
  • Pages : 464 pages

Download or read book Pro EJB 3 written by Mike Keith and published by Apress. This book was released on 2006-12-06 with total page 464 pages. Available in PDF, EPUB and Kindle. Book excerpt: First EJB 3.0 book on the market and a definitive guide to the major innovation in EJB: the new persistence API Offers unparalleled insight and expertise: lead authored by the co-lead on the EJB 3.0 spec (Mike Keith)

Book Persistence in the Enterprise

Download or read book Persistence in the Enterprise written by Roland Barcia and published by Addison-Wesley Professional. This book was released on 2008-05-01 with total page 467 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Definitive Guide to Today’s Leading Persistence Technologies Persistence in the Enterprise is a unique, up-to-date, and objective guide to building the persistence layers of enterprise applications. Drawing on their extensive experience, five leading IBM® Web development experts carefully review the issues and tradeoffs associated with persistence in large-scale, business-critical applications. The authors offer a pragmatic, consistent comparison of each leading framework--both proprietary and open source. Writing for IT managers, architects, administrators, developers, and testers, the authors address a broad spectrum of issues, ranging from coding complexity and flexibility to scalability and licensing. In addition, they demonstrate each framework side by side, via a common example application. With their guidance, you’ll learn how to define your persistence requirements, choose the most appropriate solutions, and build systems that maximize both performance and value. Coverage includes Taking an end-to-end application architecture view of persistence Understanding business drivers, IT requirements, and implementation issues Driving your persistence architecture via functional, nonfunctional, and domain requirements Modeling persistence domains Mapping domain models to relational databases Building a yardstick for comparing persistence frameworks and APIs Selecting the right persistence technologies for your applications Comparing JDBCTM, Apache iBATIS, Hibernate Core, Apache OpenJPA, and pureQuery The companion web site includes sample code that implements the common example used throughout the technology evaluation chapters, 5-9. The IBM Press developerWorks® Series is a unique undertaking in which print books and the Web are mutually supportive. The publications in this series are complemented by resources on the developerWorks Web site on ibm.com. Icons throughout the book alert the reader to these valuable resources.

Book Pro JPA 2 in Java EE 8

Download or read book Pro JPA 2 in Java EE 8 written by Mike Keith and published by Apress. This book was released on 2018-02-01 with total page 771 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn to use the Java Persistence API (JPA) and other related APIs as found in the Java EE 8 platform from the perspective of one of the specification creators. A one-of-a-kind resource, this in-depth book provides both theoretical and practical coverage of JPA usage for experienced Java developers. Authors Mike Keith, Merrick Schincariol and Massimo Nardone take a hands-on approach, based on their wealth of experience and expertise, by giving examples to illustrate each concept of the API and showing how it is used in practice. The examples use a common model from an overarching sample application, giving you a context from which to start and helping you to understand the examples within an already familiar domain. After completing Pro JPA 2 in Java EE 8, you will have a full understanding of JPA and be able to successfully code applications using its annotations and APIs. The book also serves as an excellent reference guide. What You Will Learn Use the JPA in the context of enterprise applications Work with object relational mappings (ORMs), collection mappings and more Build complex enterprise Java applications that persist data long after the process terminates Connect to and persist data with a variety of databases, file formats, and more Use queries, including the Java Persistence Query Language (JPQL) Carry out advanced ORM, queries and XML mappings Package, deploy and test your Java persistence-enabled enterprise applications Who This Book Is For Experienced Java programmers and developers with at least some prior experience with J2EE or Java EE platform APIs.

Book Microservices Best Practices for Java

Download or read book Microservices Best Practices for Java written by Michael Hofmann and published by IBM Redbooks. This book was released on 2017-03-13 with total page 134 pages. Available in PDF, EPUB and Kindle. Book excerpt: Microservices is an architectural style in which large, complex software applications are composed of one or more smaller services. Each of these microservices focuses on completing one task that represents a small business capability. These microservices can be developed in any programming language. This IBM® Redbooks® publication covers Microservices best practices for Java. It focuses on creating cloud native applications using the latest version of IBM WebSphere® Application Server Liberty, IBM Bluemix® and other Open Source Frameworks in the Microservices ecosystem to highlight Microservices best practices for Java.