Spring boot is a suite, pre-configured, pre-sugared set of frameworks/technologies to reduce boilerplate configuration providing you the shortest way to have a Spring web application up and running with smallest line of code/configuration out-of-the-box.
GPars (Groovy Parallel Systems) is an open-source concurrency and parallelism library for Java and Groovy that gives you a number of high-level abstractions for writing concurrent and parallel code in Groovy (map/reduce, fork/join, asynchronous closures, actors, agents, dataflow concurrency and other concepts), which can make your Java and Groovy code concurrent and/or parallel with little effort.
A reflection-oriented program component can monitor the execution of an enclosure of code and can modify itself according to a desired goal related to that enclosure.
Reflection is one of those things like multi-threading where everyone with experience of it says “Don’t use it unless you absolutely have to”.
This presentation is ideal for a beginner of Java or someone who wants to brush up their Java Knowledge. It's simple to understand and well organized in a way most of the area in core Java has been covered.
GPars (Groovy Parallel Systems) is an open-source concurrency and parallelism library for Java and Groovy that gives you a number of high-level abstractions for writing concurrent and parallel code in Groovy (map/reduce, fork/join, asynchronous closures, actors, agents, dataflow concurrency and other concepts), which can make your Java and Groovy code concurrent and/or parallel with little effort.
A reflection-oriented program component can monitor the execution of an enclosure of code and can modify itself according to a desired goal related to that enclosure.
Reflection is one of those things like multi-threading where everyone with experience of it says “Don’t use it unless you absolutely have to”.
This presentation is ideal for a beginner of Java or someone who wants to brush up their Java Knowledge. It's simple to understand and well organized in a way most of the area in core Java has been covered.
Java 9 introduces modules to the Java programming language and its runtime. Despite this feature being optional, due to the modularization of the standard library existing applications might behave differently when running on a version 9 JVM. Furthermore, because of changes in the runtime, existing libraries and frameworks might not yet correctly process your modularized code. As a result, updating to a Java 9 VM and taking Java 9 into brings its challanges.
This talk discusses the practical implications of module boundaries and analyzes new limitations Java 9 imposes on the reflection API. This talk explains how reflection is used in popular frameworks like Spring and Hibernate and explains why existing applications might break or change their behavior when facing modularized code. Finally, this talk showcases alternatives to now failing Java programming patterns and weights their robustness with regard to the Java releases 10 and upward.
The presenter is an active contributor to open source and helped to migrate many popular Java libraries to supporting Java 9. As a consequence, he as been working with Java 9 for almost two years.
This presentation is about a basic Overview of Ext JS framework. Covers the discussion on topics like Understanding Ext JS API, Ext JS component Life cycle,Ext JS Components and Events and Ext JS Layouts etc.
Crack your Java interview by knowing all the questions that your interviewer may ask. Brush up your knowledge with this superb set of Java interview questions & answers prepared by BestOnlineTrainers
Developing enterprise applications today using JavaFX is a challenge. The industry has not matured enough to identify patterns and practices. Consequently practioners (architects and developers alike) commit the same mistakes again and again. There is a complete lack of non-UI frameworks that make JavaFX application development easy and fast. FxObjects attempts to address that gap. The 0.1 version released provides powerful features.
Like Java Server Pages (JSP), GSP supports the concept of custom tag libraries. Unlike JSP, Grails' tag library mechanism is simple, elegant and completely reloadable at runtime.
To support localized messages in your Grails application, you should be defining all user messages in a properties file this is called internationalization
Java 9 introduces modules to the Java programming language and its runtime. Despite this feature being optional, due to the modularization of the standard library existing applications might behave differently when running on a version 9 JVM. Furthermore, because of changes in the runtime, existing libraries and frameworks might not yet correctly process your modularized code. As a result, updating to a Java 9 VM and taking Java 9 into brings its challanges.
This talk discusses the practical implications of module boundaries and analyzes new limitations Java 9 imposes on the reflection API. This talk explains how reflection is used in popular frameworks like Spring and Hibernate and explains why existing applications might break or change their behavior when facing modularized code. Finally, this talk showcases alternatives to now failing Java programming patterns and weights their robustness with regard to the Java releases 10 and upward.
The presenter is an active contributor to open source and helped to migrate many popular Java libraries to supporting Java 9. As a consequence, he as been working with Java 9 for almost two years.
This presentation is about a basic Overview of Ext JS framework. Covers the discussion on topics like Understanding Ext JS API, Ext JS component Life cycle,Ext JS Components and Events and Ext JS Layouts etc.
Crack your Java interview by knowing all the questions that your interviewer may ask. Brush up your knowledge with this superb set of Java interview questions & answers prepared by BestOnlineTrainers
Developing enterprise applications today using JavaFX is a challenge. The industry has not matured enough to identify patterns and practices. Consequently practioners (architects and developers alike) commit the same mistakes again and again. There is a complete lack of non-UI frameworks that make JavaFX application development easy and fast. FxObjects attempts to address that gap. The 0.1 version released provides powerful features.
Like Java Server Pages (JSP), GSP supports the concept of custom tag libraries. Unlike JSP, Grails' tag library mechanism is simple, elegant and completely reloadable at runtime.
To support localized messages in your Grails application, you should be defining all user messages in a properties file this is called internationalization
Historically concept of Actors has been derived from Erlang and is being used as a Threading model in Scala and AKka.
We can think Actors like two persons who do not talk to each other but communicate via a mailbox
Services in Grails are the place to put the majority of the logic in your application, leaving controllers responsible for handling request flow with redirects and so on.
A command object is similar to a form bean and they are useful in circumstances when you want to populate a subset of the properties needed to update a domain class.
Mastering Test Automation: How To Use Selenium SuccessfullySpringPeople
In this slide, identify what to test and choose the best language for automation. Learn to write maintainable and reusable Selenium tests and add UI layout test as part of automation using Galen framework. This slide will also guide you in reporting structure by using external plugin's, an illustration covering cross browser testing (Running selenium grid with Docker) and explain Code repository (Git) and Jenkins CI tool.
How Android Architecture Components can Help You Improve Your App’s Design?Paul Cook
Choosing the right app architecture can be quite challenging at times? But not anymore with Android app architecture and companion architecture components! Find out how new architecture components can help you enhance your app’s design and make your Android app development profitable.
VirtualNuggets Offering All Java Technologies Corporate Online Training Services .Here VirtualNuggets Publishing Free Hibernate Tutorials For Java Learners .Topics Covers in Tutorial are Spring Overview,
Spring Architecture,
Spring Environment Setup
Spring Hello World Example
Spring IoC Containers
Spring Bean Definition
Spring Bean Scopes
Spring Bean Life Cycle
Spring Bean Post Processors
Spring Bean Definition Inheritance
Spring Dependency Injection
Spring Injecting Inner Beans
Spring Injecting Collection
Spring Beans Auto-Wiring
Spring Annotation Based Configuration
Spring Java Based Configuration
Spring Event Handling in Spring
Spring Custom Events in Spring
Spring AOP with Spring Framework
Spring JDBC Framework
Spring Transaction Management
Spring Web MVC Framework
Spring Logging with Log4J
This is what I created in 2006 - 2007. Inspired by Ruby on Rails, I wanted to have something similar for Java, J2EE that would accelerate building web apps. I have built few projects on top it and those worked pretty well.
We don't this. Java also has many solid options now like Play, Spring and more.
Most of the major internet companies have now declared themselves to be mobile first. Smartphones have become ubiquitous throughout the development world. But mobile development is fraught with challenges. There are more Android devices than iOS, but iOS users tend to spend more money. If you build your app for one, it is a complete re-write for the other. You may have heard of Cordova/PhoneGap, but the apps tend to be somewhat clunky looking.
Enter the Ionic Framework, a cross platform framework which combines PhoneGap with AngularJS and super fast CSS3 to make apps which perform at near native levels.
Alexa is Amazon’s cloud-based voice service.
It is a way to communicate the system using our voice.
Alexa provides a set of built-in capabilities, referred to as skills.
Apache Commons is an Apache project focused on all aspects of reusable Java components.
It is divided into three components: Commons Proper, Commons Sandbox, Commons Dormant.
Running queries across multiple tables. This will involve the concept of joins—that is, how we join tables together.
Using joins to run queries over multiple tables, including:
Natural, inner, and cross joins
Straight joins
Left and right joins
Writing subqueries
Using SELECT statement options
Swagger is an open source software framework backed by
a large ecosystem of tools that helps developers
design, build, document and consume RESTful Web
services.
The theory of SOLID principles was
introduced by Robert C. Martin in his 2000
paper “Design Principles and Design
Patterns”.
SOLID => Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion.
ArangoDB is a native multi-model database system developed by triAGENS GmbH. The database system supports three important data models (key/value, documents, graphs) with one database core and a unified query language AQL (ArangoDB Query Language). ArangoDB is a NoSQL database system but AQL is similar in many ways to SQL
Geth is widely used to interact with Ethereum networks. Ethereum software enables a user to set up a
“private” or “testnet” Ethereum chain. This chain will be totally different from main chain.
Component that tell geth that we want to use/create a private Ethereum Chain:
1. Custom Genesis file
2. Custom Data Directory
3. Custom Network Id
4. Disable Node Discovery
Ethereum is an open software platform based on blockchain technology that enables developers to
build and deploy decentralized applications.
Ethereum is a distributed public blockchain network.
While the Bitcoin blockchain is used to track ownership of digital currency (bitcoins), the Ethereum
blockchain focuses on running the programming code of any decentralized application.
Ether is a cryptocurrency whose blockchain is generated by the Ethereum platform. Ether can be
transferred between accounts and used to compensate participant mining nodes for computations
performed.
Google Authenticator is a software token that implements two-step verification services using the Time-based One-time Password Algorithm (TOTP) and HMAC-based One-time Password Algorithm (HOTP), for authenticating users of mobile applications by Google. The service implements algorithms specified in RFC 6238 and RFC 4226, respectively.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
6. Spring boot is a suite, pre-configured, pre-sugared set of
frameworks/technologies to reduce boilerplate configuration providing you
the shortest way to have a Spring web application up and running with
smallest line of code/configuration out-of-the-box.
What is Spring Boot ?
7. The primary goals of Spring Boot are:
To provide a radically faster and widely accessible 'getting started'
experience for all Spring development
To be opinionated out of the box, but get out of the way quickly as
requirements start to diverge from the defaults
To provide a range of non-functional features that are common to large
classes of projects (e.g. embedded servers, security, metrics, health
checks, externalized configuration)
Spring Boot does not generate code and there is absolutely no requirement
Why Spring Boot ?
8. import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereotype.*;
import org.springframework.web.bind.annotation.*;
@Controller
@EnableAutoConfiguration
@Configuration
@ComponentScan
//All three annotations can be replaced by one @SpringBootApplication
public class SampleController {
@RequestMapping("/")
String home() {
return "Hello World!";
}
public static void main(String[] args) throws Exception {
SpringApplication.run(SampleController.class, args);
}
A simple Spring Boot Application
10. ❖@Controller - annotates a class as an MVC controller
❖@Configuration - tags the class as a source of bean definitions for the
application context.
❖@EnableAutoConfiguration - enables auto configuration for the
application
❖@ComponentScan - This tells Spring to look for classes with
@Component ,@Configuration , @Repository , @Service , and
@Controller and wire them into the app context as beans.
❖@SpringBootApplication - get the functionality of all above annotations
in a single annotation
Whats Happening?
12. Directory Structure of Spring Boot
There is no restrictions on directory
structure.
We can create one as we are used to in
grails or we can create one that is shown
in the picture.
14. Spring Boot Essentials
Spring Boot brings a great deal of magic to Spring application development.
But there are four core tricks that it performs:
■ Automatic configuration — Spring Boot can automatically provide
configuration for application functionality common to many Spring applications.
■ Starter dependencies — You tell Spring Boot what kind of functionality you need,and it
will ensure that the libraries needed are added to the build.
■ The command-line interface — This optional feature of Spring Boot lets you write
complete applications with just application code, but no need for a traditional project
build.
■ The Actuator — Gives you insight into what’s going on inside of a running Spring Boot
application.
15. What Spring Boot isn’t ?
1. Spring Boot is not an application server. It has embedded server that helps
it run by executing a jar file of the project.
1. Spring Boot doesn’t implement any enterprise Java specifications such as
JPA or JMS. It auto configures these beans and provide them at runtime to
our disposal.
1. Spring Boot doesn’t employ any form of code generation to accomplish its
magic. Instead, it leverages conditional configuration features from Spring,
along with transitive dependency resolution offered by Maven and Gradle,
to automatically configure beans in the Spring application context.
17. 1. Done with the help of Gradle or Maven.
2. Dependencies are resolved by build.gradle in gradle build environment.
3. For maven they are resolved from pom.xml
4. Gradle supports groovy DSL like syntax and is much easier to maintain.
It frees us from the fuss of writing xml for dependency resolution.
Dependency Resolution
20. 1. Annotated by the annotation @Entity
2. javax.persistence.Entity/grails.persistence.Entity/org.hibernate.annotat
ions.Entity
3. Can use JPA 2.1, Hibernate, Spring Data, GORM etc .
4. Classes annotated by @Entity is a component which our main class
searches for by the help of @ComponentScan
Domains
22. 1. Provides abstraction.
2. Significantly reduces the amount of boilerplate code required to
implement DAO layer
3. Supports various persistence stores like MySql , MongoDB etc.
The central interface in Spring Data repository abstraction is Repository.It
takes the the domain class to manage as well as the id type of the domain
class as type arguments.
This interface acts primarily as a marker interface to capture the types to
work with and to help you to discover interfaces that extend this one.
Repositories
23. The CrudRepository provides sophisticated CRUD functionality for the entity class that is being managed.
public interface CrudRepository<T, ID extends Serializable>
extends Repository<T, ID> {
S save(S entity); //Saves the given entity
T findOne(ID primaryKey); //Returns the entity identified by the given id
Iterable<T> findAll(); //Returns all entities
Long count(); //Returns the number of entities
void delete(T entity); //Deletes the given entity
boolean exists(ID primaryKey); //Indicates whether an entity with the given id exists
// … more functionality omitted.
}
24. How a repository works ?
1. Declare an interface extending Repository or one of its subinterfaces and type it to the domain
class that it will handle.
public interface PersonRepository extends Repository<User, Long> { … }
1. Declare query methods on the interface.
List<Person> findByLastname(String lastname);
1. Get the repository instance injected and use it.
public class SomeClient {
@Autowired
private PersonRepository repository;
public void doSomething() {
List<Person> persons = repository.findByLastname("Nakul");
}
}
26. 1. Any java class can be converted into a controller by annotating it with
@Controller or @RestController
2. @Controller - makes a java/groovy class as an MVC controller that
renders a view
3. @RestController - makes a java/groovy class as a rest controller.
Controllers
27. What about ‘actions’ ?
Any method defined inside a class annotated by @Controller or @RestController will behave like an
action only if it has been annotated by @RequestMapping
Ex - @RestController
@RequestMapping(value = '/student')
class RootController {
@Autowired
StudentRepository studentRepository
@RequestMapping(method=RequestMethod.GET ,value = '{id}',produces =
MediaType.APPLICATION_JSON_VALUE)
public Student getOne(@PathVariable String id) {
return studentRepository.findOne(Long.parseLong(id))
}
}
28. What about ‘actions’ ? Continued -
A simple MVC controller
Ex - @Controller
@RequestMapping(value = '/student')
class RootController { @Autowired
StudentRepository studentRepository
@RequestMapping(method=RequestMethod.GET ,value = '{id}')
public ModelAndView getOne(@PathVariable String id) {
return new ModelAndView(“views/index”,[:])
}
}
30. 1. Any java/groovy class can be converted into a service by annotating it
with @Service
2. To make a service transactional mark it with @Transactional
3. @Transactional(propagation = REQUIRED) makes a transaction
complete in itself
4. @Transactional(propagation = MANDATORY) is used to protect the
other methods from being called erroneously out of a transaction
5. @Transactional(readOnly=true) makes a service read-only.
Services
32. 1. Spring supports Groovy template engine natively to render views
modelled by the controller.
2. Thymeleaf is also a popular rendering engine being used with spring-
boot
3. GSP’s can also be used as a part of presentation layer.
4. We can also use Angular.js as a frontend framework for use with REST-
API’s for make a complete web-app.
Views
33. From where can we get these rendering engines ?
Can be maintained as gradle dependencies in build.gradle
Dependencies
Groovy Template Engine - compile ("org.codehaus.groovy:groovy-templates:2.4.0")
Thymeleaf Engine - compile("org.springframework.boot:spring-boot-starter-thymeleaf")
Groovy Server Pages - compile "org.grails:grails-web-gsp:2.5.0"
compile "org.grails:grails-web-gsp-taglib:2.5.0"
provided "org.grails:grails-web-jsp:2.5.0"
34. Groovy Template Engine
Features
1. hierarchical (builder) syntax to generate XML-like contents (in particular,
HTML5)
2. template includes
3. compilation of templates to bytecode for fast rendering
4. layout mechanism for sharing structural patterns
42. Groovy Template Engine - Layouts
Layouts
1. Common part of our template is kept into a main.tpl file that we will save
into src/main/resources/templates/layouts
2. title(pageTitle) where pageTitle is expected to be the page title that we want
to give
3. mainBody(), which will cause rendering of the main body for pages using
that layout.
43. Groovy Template Engine - Layouts
Layouts in action
layout 'layouts/main.tpl',
pageTitle: 'Spring Boot - Groovy templates example with layout',
mainBody: contents {
div("This is an application using Spring Boot and Groovy Template Engine")
}
44. Groovy Template Engine - Layouts
Layouts
we call the layout method and provide it with several arguments:
the name of the layout file to be used (layouts/main.tpl)
pageTitle, a simple string
mainBody, using the contents block
45. Groovy Template Engine - Layouts
Layouts
Use of the contents block will trigger the rendering of the contents of mainBody
inside the layout when the mainBody() instruction is found. So using this layout
file, we are definitely sharing a common, structural pattern, against multiple
templates.
layouts are themselves composable, so you can use layouts inside layouts…
47. Profiles
Profiles
In the normal Spring way, you can use a spring.profiles.active Environment
property to specify which profiles are active.
specify on the command line using the switch
--spring.profiles.active=dev
--spring.profiles.active=test
--spring.profiles.active=production
For every environment we create a application-{environment}.properties files in
the resource directory.
48. application.properties
application.properties
If no environment is specified then spring boot picks the default
application.properties file from the ‘resources’ directory.
Stores all the configurations in a single file .
All the configurable properties can be referenced here