Kick-Off Java 9 (Project Jigsaw) Part – I

Knoldus

In the world of web-applications, our architecture comes into micro services. Where we create micro batches according to our domain and deploy independently.

Java 9 comes with great feature call “Jigsaw“, which modularize monolithic Java code into modules. Where we design independently standard modules with in different scopes. Primary goal of “jigsaw” to make scalability, maintainability, performance, security etc. For more information please click on this link.

Today we creating just a greeting example using project “Jigsaw” or modularize our code independently.

Prerequisite

Step – I

Create a source directory for our source code:

$ mkdir -p jigsaw-sample1/src

Step – II

Categories our system into modules like in this example, i have one utility module and other main module. The utility module contains utility classes and main module access that utility class and their methods for performing operations.

View original post 410 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s