Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Hands-On Software Architecture with Java
Hands-On Software Architecture with Java

Hands-On Software Architecture with Java: Learn key architectural techniques and strategies to design efficient and elegant Java applications

Arrow left icon
Profile Icon Giuseppe Bonocore
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.6 (7 Ratings)
Paperback Mar 2022 510 pages 1st Edition
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial
Arrow left icon
Profile Icon Giuseppe Bonocore
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.6 (7 Ratings)
Paperback Mar 2022 510 pages 1st Edition
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial
eBook
S$12.99 S$59.99
Paperback
S$74.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Hands-On Software Architecture with Java

Chapter 1: Designing Software Architectures in Java – Methods and Styles

In this chapter, we will focus on some core concepts that we can use as a base to build on in the upcoming chapters. We will explore different ways to represent the software architecture, paying attention to the intended audience and their specific point of view. Additionally, we will elaborate on the importance of a proper architectural design and its role in the software development life cycle. Following this, we will move on to the Java ecosystem, which is the core topic of this book, to discover why it’s a good choice for implementing a complete enterprise application.

In particular, we will cover the following topics:

  • The importance of software architecture
  • Different types of architecture design – from doodling on paper to more accurate modeling
  • Other kinds of architectural diagrams
  • The changing role of Java in cloud-native applications
  • Case studies and examples
  • Software components diagram

By the end of this chapter, you should have a clear view of why design is a critical part of the software development process and what the main types of architecture schemas are. Additionally, you will become familiar with the role of Java technology in modern application development.

These skills are crucial for implementing functional and elegant software solutions. It will also be a good basis for personal development and career enhancement.

The importance of software architecture

Often, software development is all about cost and time. No one knows exactly why, but the software industry is almost always associated with tight deadlines, insufficient resources, and long hours. Under this kind of pressure, it’s common to question the importance of everything that is not strictly coding. Testing is a common victim of this, along with documentation and, of course, design. But of course, these phases are essential for the success of a project. While we will quickly touch on most of those aspects, architecture design is the core of this book, and I believe that by understanding the practices and goals, the need for it will become clear to everybody.

In this section, we will discover what the fundamental objects of a properly designed architecture are. Highlighting those simple but crucial points is useful in raising awareness about the importance of this phase. If you start advocating those good practices in your team, the quality of your software deliverables will increase.

The objectives of architecture design in the software life cycle

The ultimate goal of this book is not to define the architecture per se; there are plenty of papers and interesting things available on that matter, including the awesome work of Martin Fowler. Nevertheless, there are a couple of considerations that we need to bear in mind.

The architecture should support the crucial decisions within our software project. However, the architecture itself is actually a loose concept, often including different plans (such as physical, logical, network, and more) and points of view (such as users, business logic, machine-to-machine interactions, and more).

Let’s take the most overused metaphor as an example: a software project is like a building. And similarly to a construction project, we require many different points of view, with different levels of detail, ranging from general overviews to detailed calculations and the bills of materials. A general overview is useful to give us an idea of where we are and where we want to go. In addition to this, it is an essential tool for being sure we are on the right path. However, a system overview doesn’t provide enough details for teams such as networking, security, sysops, and, ultimately, the developers that require a more substantiated and quantitative view to drive their day-to-day decisions.

The main goals of designing a proper software architecture include the following:

  • Prospecting a birds-eye view to project sponsors and investors. While it is not a good practice to drive a business discussion (for example, an elevator pitch) toward technical elements too soon, a higher level of management, venture capitalists, and the like are becoming increasingly curious about technical details, so a high-level overview of the application components can be crucial for winning this kind of discussion.
  • Defining a shared lingo for components of our solution, which is crucial for collaborating across the team.
  • Providing guidance for technological choices since putting our design decisions on paper will clarify important traits of our application. Will data be central? Do we need to focus on multiple geographies? Are user interactions the most common use case? Some of those reasonings will change over time. However, correctly designing our application will drive some crucial technology choices, in terms of choosing components and stacks to rely on.
  • Splitting roles and responsibilities. While a proper project plan, a statement of work, or a Responsible, Accountable, Consulted, Informed (RACI) (which is a classical way to categorize who does what) table will be used for real project management, writing the software backbone down on paper is our first look at who we have to involve for proper project execution.

Indeed, the architecture is an excellent example of planning in advance. However, a proper software architecture should be much more than a technological datasheet.

Architecture, as with buildings, is more about the styles and guidelines to be followed all around the project. The final goal of a piece of software architecture is to find elegant solutions to the problems that will arise during the project plan. Ultimately, it will act as guidance throughout the project’s life cycle.

The software architect – role and skills

As a role, the software architect is often identified as the more senior technical resource in the IT team. In fact, the job role of an architect is almost always seen as a career progression for developers, especially in enterprise environments. While not necessary, being good at coding is crucial for a complete comprehension of the overall functioning of the system.

There are several different other skills that are required to be a successful architect, including creativity, the ability to synthesize, and vision. However, above all, experience is what it takes to become an architect.

This includes firsthand experience on many different projects, solving real-world issues: what a proper software design looks like and how the design has evolved. This skillset is very useful to have in the background of the architect.

Additionally, it’s vital to have a huge library of solutions to choose from in order to avoid reinventing the wheel. While we love to think that our problem is very unique, it’s very unlikely to be so.

This leads us to the approach that we will use in this book: we will not focus on just one aspect or technology to drill down on, but we will take a horizontal approach, discussing a number of different topics and offering ideas on how to approach potential problems. We hope to act as a handbook to support you when making real-world choices.

Is architecture design still relevant in modern development?

There will be a couple of chapters dedicated to discussing Microservices, DevOps, and the cloud-native avalanche, but it’s safe to assume that in one form or another, you will have plenty of opportunities to hear something about them.

As you might have gathered, most of these concepts are not really new. The Agile Manifesto, which is a seminal work detailing some of the practices commonly used in modern development techniques, was published in 2001, yet most of the common-sense principles it contains are misinterpreted. When I was working in IT consulting back in 2008, a common joke among development teams was "Yes, we do agile. We skip documentation and testing."

Of course, that’s just an opinion based on personal experience. There are plenty of teams who do not underestimate the importance of proper planning and documentation and are doing wonderfully while working with Agile. Yet, in some cases, less structured development methodologies have been taken as an excuse to skip some crucial steps of the development life cycle.

As we will elaborate, in Chapter 5, Exploring the Most Common Development Models, Agile is much more than slimming down boring phases of the project. Indeed, testing and documentation are still very relevant, and Agile is no excuse to skip that.

There are plenty of reflections you can take in terms of how to adapt your design techniques to DevOps, Agile, and more, and we will discuss this topic later in this book. However, one thing is certain: architecture matters. Design is very relevant. We have to spend the correct amount of time planning our choices, revisiting them when needed, and generally, sticking with some well-defined guiding principles. The alternative is poor quality deliverables or no deliverables at all.

Now, let’s take a look at what the first phases of software design usually look like.

Different types of architecture design – from doodling on paper to more accurate modeling

When we start to shape the architecture of a new application, the result is often familiar.

I would say that across different geographies, industries, and application types, some elements are common. The architectural sketches are usually made of boxes and lines, with labels, arrows, and similar artifacts. That’s an intuitive way to shape our thoughts on paper.

However, in the following section, we will go through different ways of expressing those concepts. This will make us aware of available styles and techniques and will make our diagram clearer and, ultimately, easier to share and understand.

But first, let’s find out what the characteristics of architectural sketching actually are.

Sketching the main architectural components

As we discussed earlier, there are a number of different components that are recurrent in a high-level architectural sketch. Let’s examine them one by one:

  • Boxes: These represent the software components. They can refer to one complete application or specific subcomponents (such as packages, modules, or similar things).
  • Lines: These describe the relationships between the boxes. Those links imply some sort of communication, commonly in the form of APIs. The lines can also represent inheritance or a grouping of some sort. A direction (that is, an arrow) can also be specified.
  • Layers: These are a dotted or dashed line, grouping components and their relationships. They are used to identify logical slices of the architecture (such as the frontend, backend, and more), the grouping of subcomponents (for example, validation and business logic), network segments (such as the intranet and DMZ), physical data centers, and more.
  • Actors: Simulating the interactions of users within the systems, actors are usually represented as stickmen, sitting on top of some components (usually frontends or UIs of some sort). It is not uncommon to observe different channels represented, in the form of laptops or mobile phones, depending on the industry and type of application (for example, ATMs, branch offices, and physical industrial plants).

Now, let’s view an example sketch:

Figure 1.1 – The common components on a first architectural sketch

Figure 1.1 – The common components on a first architectural sketch

As we’ve already mentioned, the quick and dirty representation shown in this diagram is useful since it’s an easy way to start thinking about how our application should look. However, on a closer look, there are some common inaccuracies:

  • The software components (that is, our boxes) might be represented with different levels of zoom: sometimes representing applications, sometimes features, and sometimes software modules. This is inconsistent and could generate confusion.
  • Some components are specialized (for example, databases), while others are not. As noted in the preceding point, this leads to an inhomogeneous view.
  • In some parts of the diagram, we are representing use cases or information flows (for example, with the actors), while elsewhere, we are drawing a static picture of the components.
  • Some points of view don’t cope well with others because we might be representing network firewalls but not referencing any other networking setup.

Now that we’ve learned what a naïve representation looks like and what its limits are, let’s take a look at some other types of diagrams and how they represent alternative points of view.

Other kinds of architectural diagrams

As we discovered in the previous section, the first sketches of a piece of architecture often end up as an intuitive and naïve view, lacking essential details. In this section, we will look at an overview of different types of architectural diagrams. This will help us to pick the right diagram for the right situation, defining a clearer view of our architecture. So, let’s dig into some details.

Common types of architectural diagrams

In order to define a clearer and more detailed view of what our software will look like, it’s essential to start picking layers and points of view to represent. This will naturally lead us to focus on more tailored designs. While not exhaustive, a list of possible architectural diagrams includes the following:

  • Software components: This kind of schema includes different software modules (such as applications or other components) and the interaction between them (for example, read from, write to, listen, and more). One particular instance of this diagram could include protocols and formats of communication between those components, becoming close to a complete API documentation:
Figure 1.2 – Software components diagram

Figure 1.2 – Software components diagram

  • Network architecture: This is a pretty common design type and is often considered the more scientific and detailed one. It includes data such as network segments (DMZ and INTRANET), Firewall, IP addressing, and more:
Figure 1.3 – Network architecture diagram

Figure 1.3 – Network architecture diagram

  • Physical architecture: This is a mapping of software modules into server deployments. Usually, it’s complete with information about the server hardware and model. In the case of a multiple datacenter setup (which is pretty common in enterprise environments), it can also contain details about racks and rooms. Storage is another relatively common component. Depending on the implementation, this architecture might include information about virtualization technology (for example, the mapping of VMS to the physical servers that are hosting it). Additionally, it could, where relevant, include references to cloud or container deployments:
Figure 1.4 – Physical architecture diagram

Figure 1.4 – Physical architecture diagram

These are the very basic points of view in an architecture diagram and an essential starting point when detailing the design of your application. Diving further into the application specification life, other kinds of diagrams, often derivatives of those, could be elaborated (for example, cloud deployment diagrams, software modules, and more) depending on your specific needs. In the next section, we will focus on Java technology, which is the other fundamental topic of this book and crucial for completing our architectural view of modern applications.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand the fundamentals of software architecture and build production-grade applications in Java
  • Make smart architectural decisions with comprehensive coverage of various architectural approaches from SOA to microservices
  • Gain an in-depth understanding of deployment considerations with cloud and CI/CD pipelines

Description

Well-written software architecture is the core of an efficient and scalable enterprise application. Java, the most widespread technology in current enterprises, provides complete toolkits to support the implementation of a well-designed architecture. This book starts with the fundamentals of architecture and takes you through the basic components of application architecture. You'll cover the different types of software architectural patterns and application integration patterns and learn about their most widespread implementation in Java. You'll then explore cloud-native architectures and best practices for enhancing existing applications to better suit a cloud-enabled world. Later, the book highlights some cross-cutting concerns and the importance of monitoring and tracing for planning the evolution of the software, foreseeing predictable maintenance, and troubleshooting. The book concludes with an analysis of the current status of software architectures in Java programming and offers insights into transforming your architecture to reduce technical debt. By the end of this software architecture book, you'll have acquired some of the most valuable and in-demand software architect skills to progress in your career.

Who is this book for?

This book is for Java software engineers who want to become software architects and learn everything a modern software architect needs to know. The book is also for software architects, technical leaders, vice presidents of software engineering, and CTOs looking to extend their knowledge and stay up to date with the latest developments in the field of software architecture.

What you will learn

  • Understand the importance of requirements engineering, including functional versus non-functional requirements
  • Explore design techniques such as domain-driven design, test-driven development (TDD), and behavior-driven development
  • Discover the mantras of selecting the right architectural patterns for modern applications
  • Explore different integration patterns
  • Enhance existing applications with essential cloud-native patterns and recommended practices
  • Address cross-cutting considerations in enterprise applications regardless of architectural choices and application type

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 16, 2022
Length: 510 pages
Edition : 1st
Language : English
ISBN-13 : 9781800207301
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Mar 16, 2022
Length: 510 pages
Edition : 1st
Language : English
ISBN-13 : 9781800207301
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 195.97
Hands-On Software Architecture with Java
S$74.99
Designing Hexagonal Architecture with Java
S$63.99
Domain-Driven Design with Java - A Practitioner's Guide
S$56.99
Total S$ 195.97 Stars icon
Banner background image

Table of Contents

19 Chapters
Section 1: Fundamentals of Software Architectures Chevron down icon Chevron up icon
Chapter 1: Designing Software Architectures in Java – Methods and Styles Chevron down icon Chevron up icon
Chapter 2: Software Requirements – Collecting, Documenting, Managing Chevron down icon Chevron up icon
Chapter 3: Common Architecture Design Techniques Chevron down icon Chevron up icon
Chapter 4: Best Practices for Design and Development Chevron down icon Chevron up icon
Chapter 5: Exploring the Most Common Development Models Chevron down icon Chevron up icon
Section 2: Software Architecture Patterns Chevron down icon Chevron up icon
Chapter 6: Exploring Essential Java Architectural Patterns Chevron down icon Chevron up icon
Chapter 7: Exploring Middleware and Frameworks Chevron down icon Chevron up icon
Chapter 8: Designing Application Integration and Business Automation Chevron down icon Chevron up icon
Chapter 9: Designing Cloud-Native Architectures Chevron down icon Chevron up icon
Chapter 10: Implementing User Interaction Chevron down icon Chevron up icon
Chapter 11: Dealing with Data Chevron down icon Chevron up icon
Section 3: Architectural Context Chevron down icon Chevron up icon
Chapter 12: Cross-Cutting Concerns Chevron down icon Chevron up icon
Chapter 13: Exploring the Software Life Cycle Chevron down icon Chevron up icon
Chapter 14: Monitoring and Tracing Techniques Chevron down icon Chevron up icon
Chapter 15: What's New in Java? Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.6
(7 Ratings)
5 star 57.1%
4 star 42.9%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Mohit May 24, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Being a Java Architect and an avid reader, I am always on the lookout for holiday reads which will allow me to pack a few extra knowledge muscles. HoSAJ qualifies on both metrics.Giuseppe, the Author, has taken an intelligent approach to not just flood the user with Patterns & Practices but to develop the book in a logical manner. The author begins from the very beginning and explains in very simple terms, what is an Architect? what is Architecture? why do we need all this?The author contrasts the various Software development methodologies like Waterfall and Agile so that the reader gets the complete picture of their working landscape and chooses not just the right architecture but the right development model for their specific project. I find this a unique aspect of this book. It doesn't just teach you the right tools but also tells you the context in which the right tool is the right choice.The book also touches on Java history, how it evolved and what was the initial thought process behind JEE server development, and how it has evolved to support cloud-native microservices. The choice of specification for implementation here is the cloud-native alternative of JEE standard - MicroProfile and the framework used is Quarkus. And all this is tied together with a nice mobile payments case study that helps the readers consolidate their learning in every chapter.Overall, a very refreshing read and highly recommended for anyone who wants a well-rounded learning experience in Software Architecture.
Amazon Verified review Amazon
Ian Gorton May 25, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have thoroughly enjoyed this book. It provides a excellent coverage of software engineering and architectural issues, grounding these in Java technologies. The chapters on architectural patterns, middleware, cloud native systems and data architectures are excellent introductions to the core appraches and technologies in these areas. I especially appreciate the breadth of the materials, including good overviews of requirements engineering and development methods, UI design and testing. If you are looking to transition to a role that has more architectural role with wider responsibilities, this is a great book to have on your (virtual) bookshelf.
Amazon Verified review Amazon
Krishnan Raghavan Jun 02, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is about how to design/architect robust applications using Java. The author Giuseppe Bonocore has done a wonderful job of introducing the concept of software architecting in a very intuitive way. It assumes that the reader has experience in Java programming and is aiming to become a Software Architect. This book can also be used by experienced software Architects, CTO etc who have experience in Software Architecting but would like to revisit concepts that have been revised based on the progress made the field of Software Architecting.The book begins by explaining the basic concepts of software architecting, and requirement gathering. The author has also introduced tools that can help in this process. The author then moves on to more advanced software architecting concepts in chapter 3. Chapters 4 and 5 explain the best practices for design and development along with exploring the common development models. I found chapter 9 very interesting as it explains how to design cloud-native architecture including an introduction to microservices.The concepts that are introduced in this book are something that most of us would come across over a period of time-based on our level of experience. The author has done a fantastic job of helping us understand these concepts better. At the end of each chapter, additional material for further reading is suggested which is very useful.Kudos to Giuseppe Bonocore for writing such a wonderful book. Thank oyu very much Giuseppe Bonocore.
Amazon Verified review Amazon
Juan Manuel Bello Jun 14, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really liked its content and the simplicity with which the topics are approached, easy to understand, with very good examples
Amazon Verified review Amazon
Tiny Jul 05, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The hope for Packt’s Hands-on Software Architecture with Java by Guiseppe Bonocore was to identify some common errors in Java programming that could be fixed with better architecture. If I could give an in-between rating, this would be a 4.5. This was one of the best references in software architecture I’ve seen, however, the application to Java was extremely minimal. The author did mention Java, and talked about different tools but didn’t integrate those into the overall architecture. The first section dealt with generic system architecture, the second with software architecture, and the final with some high-level concerns. The first section builds through introducing some Java basics and then departs that thread to consider design aspects. This provides a step by step guide to whiteboarding your system, building out requirements, and then establishing how to achieve each requirement. Also included is a great overview of how different models such as waterfall, DevOps, Lean and Scrum might impact design. Each chapter includes a case study on how to apply those designing techniques to a mobile payment app. The middle section dives deeper into software aspects and requirements for architecture. The most Java occurs in Chapter 6 here, specifically referencing Java architectural patterns like MVC (Model-View-Controller) as well as event-driven or serverless builds. There is an extensive examination into the difference between integration and automation as well as using middle-ware to improve aspects. The final chapter here conducts one of the best reviews of cloud-native aspects I’ve seen in a long time but again, lacks the detailed connection to Java. Each chapter here also included a case study on how to apply the different architectural aspects to a payment system. For me, the final section was a return to basics. It identified the properties one might want in architecture, how to ensure security, create observability, and make sure you are following the Software Development Lifecycle (SDLC). One of the challenges for me is that the SDLC is an outdated model based on Waterfall, and Agile implementations often pursue completely different approaches. There is a quick mention of some upcoming Java features but here, even with the emphasis on Java, they are not strongly correlated back to architectural improvements. I really enjoyed the architecture but was hoping for more connection to Java. If something could be added, it would be examples of common problems in Java applications and process that could be fixed with improved architecture. Overall, the book was great for architecture and not so good for Java. I would still recommend having it as a reference as it does put more of the architectural notes in a single place than I have seen, even in books dedicated solely to architectural concepts. Recommend for architects and program managers.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.