Learning Modular Java Programming

Explore the power of modular programming for building applications with Java and Spring!

Learning Modular Java Programming

This ebook is included in a Mapt subscription
Tejaswini Mandar Jog

2 customer reviews
Explore the power of modular programming for building applications with Java and Spring!
$0.00
$27.99
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785888823
Paperback226 pages

Book Description

Modular programming means dividing an application into small parts and then developing it. It is an approach taken by developers to build applications and helps them add efficiency in their development process, thus making it more effective.

The book starts with the fundamentals of Modular Programming. Then we move on to the actual implementation, where we teach developers how to divide an application into different modules or layers (such as presentation, execution, security, lifecycle, services, and so on) for better management. Once readers are well-versed in these modules and their development, the book shows how to create bindings in order to join these different modules and form a complete application. Next, the readers will learn how to manage these modules through dependency injection.

Later, we move on to testing; readers will learn how to test the different modules of an application. The book ends by teaching readers how to maintain different versions of their application and how to modify it. By the end of the book, readers will have a good understanding of modular programming and will be able to use it to build applications with Java.

Table of Contents

Chapter 1: Introducing Modular Programming
Software – the perspective
Modules
The gang – modular programming
Tiers and layers in an enterprise application
Sharing the work
Coordinate with the team
Summary
Chapter 2: Saying Hello to Java EE
The enterprise as an application
The Java EE platform
Summary
Chapter 3: Implementing the Presentation Layer
Presentation
Summary
Chapter 4: Talking to the Database
Persistence
Interaction of Java with relational databases
Introduction to ORM
Introduction to unit testing
Summary
Chapter 5: Developing the Business Layer
Business logic
Transaction management
Summary
Chapter 6: Testing Your Application
Software testing
Mock testing
Why integration testing?
Mockito testing
Summary
Chapter 7: Securing the Application
Make it safe, make it secure
Spring security framework
Summary
Chapter 8: Versioning and Deploying
Versioning
Visual SVN server
Project deployment
Summary

What You Will Learn

  • Learn about Modular Programming and what modules an enterprise application can be divided into.
  • Set up a development environment and create a "Hello World" application.
  • Start implementing a sample application from the presentation layer.
  • Implement the persistence layer.
  • Implement the business layer, wrapping up all of the modules with Contexts and Dependency Injection (CDI).
  • Manage an application's life cycle.
  • Learn how to secure Web applications.
  • Test enterprise applications and their automation.
  • Understand how to version source code using Source Code Management (SCM) systems such as GIT and SVN.

Authors

Table of Contents

Chapter 1: Introducing Modular Programming
Software – the perspective
Modules
The gang – modular programming
Tiers and layers in an enterprise application
Sharing the work
Coordinate with the team
Summary
Chapter 2: Saying Hello to Java EE
The enterprise as an application
The Java EE platform
Summary
Chapter 3: Implementing the Presentation Layer
Presentation
Summary
Chapter 4: Talking to the Database
Persistence
Interaction of Java with relational databases
Introduction to ORM
Introduction to unit testing
Summary
Chapter 5: Developing the Business Layer
Business logic
Transaction management
Summary
Chapter 6: Testing Your Application
Software testing
Mock testing
Why integration testing?
Mockito testing
Summary
Chapter 7: Securing the Application
Make it safe, make it secure
Spring security framework
Summary
Chapter 8: Versioning and Deploying
Versioning
Visual SVN server
Project deployment
Summary

Book Details

ISBN 139781785888823
Paperback226 pages
Read More
From 2 reviews

Read More Reviews