Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Wednesday, July 31, 2024

JavaScript

 What is JavaScript?

What Can you do with it?

Where does JavaScript code run?

Difference between JavaScript and ECMA Script ?


 What is JavaScript?

One of the most popular scripting languages used by most popular companies

What Can you do with it?

In past JavaScript used in browsers to build interactive web pages as toy language .

Today we have huge community support and Industry contributions (FB,Google..)

Used to create full blown Webs, Mobile apps, real time networking apps, command line tools , games.

Where does JavaScript code run?

Originally designed to run in Browsers. So all browsers has JavaScript Engine - execute JavaScript code.

JavaScript engines in FireFox -> SpiderMonkey , Chrome -> V8

 In 2009 --> Brian Doll

Took the open source JavaScript engine from Chrome and embedded inside C++ program. --> Node

With this we can run JavaScript outside Browser

Summary 

JavaScript can be run inside Browser or Node.

Difference between JavaScript and ECMA Script ?

ECMA - Specification - define standard ( European Computer Manufacturers Association )

JavaScript is the language - which confirms this ECMA specification.

First Spec released on 1997 then after 2015,2016.... 

1997 - v1

2015 - ES2015/ES6


Let's try JavaScript in Browser 

Open browser , click anywhere and go to Inspect --> dev tools

write

> console.log('Hello World');

Press Enter

Hello World

> 2+2

< 4



Sunday, May 2, 2021

Java FSD Advance Important Links

 Core Java

Core Java (OOPs & Basic Programming Concepts)

JVM - Internals

Garbage Collection

Java 8 - Streams

Java 8 - Lambda Expressions

Java 8 - Functional Interfaces

Collections

OOPS

Operators

Threads

Exception Handling

Interfaces

Memory Management

Executor Framework

Parallel Programming


Java 8

Language Fundamentals

OOPS

Abstract class & Interface

Exceptions Handling

Collections

Threads and Concurrency

Java8 - Functional Interface,Lambda Expressions, Stream API

JVM - Internals

Garbage Collection

Memory Management

Parallel Programming

Executor Frame Work

Mutilthreading & Cuncurrency

https://docs.oracle.com/javase/tutorial/index.html

https://www.journaldev.com/7153/core-java-tutorial

https://howtodoinjava.com/

https://www.mkyong.com/tutorials/java-8-tutorials/

https://www.javatpoint.com/internal-details-of-jvm

https://dzone.com/articles/jvm-architecture-explained

https://www.geeksforgeeks.org/jvm-works-jvm-architecture/

https://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html

https://www.baeldung.com/jvm-garbage-collectors

https://docs.oracle.com/javase/tutorial/essential/concurrency/executors.html

https://www.baeldung.com/java-executor-service-tutorial

https://www.learningcrux.com/course/java-indepth-become-a-complete-java-engineers_2

https://www.youtube.com/watch?v=hBh_CC5y8-s

https://www.youtube.com/watch?v=r59xYe3Vyks&list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al

https://www.youtube.com/playlist?list=PLd3UqWTnYXOnjGmyjD3zbIkyLXP15-6w0

https://www.youtube.com/watch?v=ZBJ0u9MaKtM

https://www.youtube.com/watch?v=UnaNQgzw4zY

https://howtodoinjava.com/java-concurrency-tutorial/

http://tutorials.jenkov.com/java-concurrency/index.html

https://www.vogella.com/tutorials/JavaConcurrency/article.html

https://www.learningcrux.com/course/java-multithreading-concurrency-performance-optimization


Spring Boot

Spring Boot

Spring Security

SSO , OAUTH2(Conceptual) and Caching

Spring Batch

Spring Transaction Management

Spring JPA

https://howtodoinjava.com/spring-boot-tutorials/

https://spring.io/guides/gs/spring-boot/

https://spring.io/projects/spring-security

https://howtodoinjava.com/spring-security-tutorial/

https://mkyong.com/tutorials/spring-security-tutorials/

https://spring.io/guides/tutorials/spring-boot-oauth2/

https://mkyong.com/tutorials/spring-batch-tutorial/

https://spring.io/guides/gs/batch-processing/

https://www.baeldung.com/introduction-to-spring-batch

https://dzone.com/articles/spring-transaction-management

https://www.baeldung.com/spring-programmatic-transaction-management

https://spring.io/projects/spring-data-jpa

https://dzone.com/articles/spring-data-jpa

https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa

https://www.learningcrux.com/course/master-hibernate-and-jpa-with-spring-boot-in-100-steps

https://www.youtube.com/watch?v=msXL2oDexqw&list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x

https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE

https://www.youtube.com/watch?v=EPd-u8ibXBY&list=PLVApX3evDwJ1d0lKKHssPQvzv2Ao3e__Q

https://www.youtube.com/watch?v=1XEX-u12i0A

https://www.youtube.com/watch?v=1fQtFALX80w&list=PLzS3AYzXBoj-H1SJxp2RuMMS4xUWrPV_3

https://www.youtube.com/watch?v=HcjHJLEbtRs

https://www.youtube.com/watch?v=Zyqpo8gxSO0


Design Patterns

Design Principles

Basic Creational Patterns

Structural Patterns

Behavioural Patterns


https://www.baeldung.com/creational-design-patterns

https://www.journaldev.com/1827/java-design-patterns-example-tutorial

https://howtodoinjava.com/design-patterns/creational/

https://www.youtube.com/watch?v=z3SRC2ckJhI&list=PLWPirh4EWFpGeQoTYL5YpzBz8Gjw-sxJb

https://howtodoinjava.com/design-patterns/structural/

https://www.javatpoint.com/structural-design-patterns

https://dzone.com/articles/structural-design-patterns-composite-pattern

https://www.baeldung.com/java-structural-design-patterns

https://www.youtube.com/watch?v=z3SRC2ckJhI&list=PLWPirh4EWFpGeQoTYL5YpzBz8Gjw-sxJb

https://howtodoinjava.com/design-patterns/behavioral/

https://www.javatpoint.com/behavioral-design-patterns

https://www.journaldev.com/1827/java-design-patterns-example-tutorial

https://www.baeldung.com/java-structural-design-patterns

https://www.youtube.com/watch?v=HFu7sbcKuGk&list=PLVg10KteaEq2oYemA0PhEwSkjUqhWKm2p


UML

UML Basics

UML Modeling

Notations

UML Constructs concepts

Type of Diagrams


https://www.guru99.com/uml-class-diagram.html

https://www.javatpoint.com/uml


Spring

Spring MVC

Spring Core & AOP

Spring Batch

SSO & OAUTH2

Spring Security

Spring JTA and JPA

Caching

Spring Transaction Management

Spring Boot Basics



Introduction to Spring

Dependancy Injection, Containers

Creating Beans Using XML configurations & Java configurations

Autowiring

Scopes


https://howtodoinjava.com/java-spring-framework-tutorials/

https://www.baeldung.com/spring-tutorial

https://howtodoinjava.com/spring-mvc-tutorial/

https://www.javatpoint.com/spring-mvc-tutorial

https://dzone.com/tutorials/java/spring/spring-mvc-tutorial-1.html

https://www.journaldev.com/2433/spring-mvc-tutorial

https://howtodoinjava.com/spring-restful/how-to-write-restful-webservices-using-spring-3-mvc/

https://www.baeldung.com/rest-with-spring-series

https://www.learningcrux.com/course/spring-core-advanced-beyond-the-basics

https://spring.io/guides/gs/rest-service/

https://www.youtube.com/watch?v=GB8k2-Egfv0&list=PLC97BDEFDCDD169D7

https://www.youtube.com/watch?v=b_gpvIO24vs&list=PLfkTJXI2Tk-eQlfpOUURnOM_jrMulVXE2

https://www.youtube.com/watch?v=rn5GukaqbSc&list=PL264wQx-QHvl3bx7lW8ey_fjtEkzORIA4

https://www.youtube.com/watch?v=8Gq-fEsN80U&list=PLmjO_jnyV1HX-rYfkeeVwNfbD8gA8tbAh

https://www.youtube.com/watch?v=kXkel8eTCCk&list=PLe5F6J9S-5iHFwY5v-ep2wKgy759jOg8X

https://www.youtube.com/watch?v=YpsFT50mths&list=PLd3UqWTnYXOkkSq5vuX9dmkvSccHhrPXz


Restful Services

RESTFul Services

Data Caching


Web Service

Apache Play

CXF

Jersey - Basics

Web Services - SOAP & REST


SOAP Frameworks

REST Frameworks

REST & SOAP Implementation

Apache CFX, play & Jesersy Basics


https://www.baeldung.com/jax-ws

https://www.javatpoint.com/soap-web-services

https://www.journaldev.com/9131/soap-webservices-in-java-example-eclipse

https://docs.oracle.com/javaee/6/tutorial/doc/gijqy.html

https://dzone.com/articles/restful-web-services-java

https://www.journaldev.com/9170/restful-web-services-tutorial-java

https://dzone.com/articles/soap-web-services-with-apache-cxf-and-spring-boot

https://www.baeldung.com/introduction-to-apache-cxf

https://howtodoinjava.com/jersey-jax-rs-tutorials/

https://www.vogella.com/tutorials/REST/article.html


ORM ORM Basics

Transaction Management

Hibernate Basics

CRUD Operations

Caching

HQL,Criteria & Native API


Build Management, Deployment & Server Config

Maven

GIT/ SVN & Config Management- Basics

Server Config

Profilling Tools

Debugging with Thread Dump

CI/ CD with Jenkins or Hudson

Scaling Systems

Load Balancing

Failover Mechanisms


Oracle

DB Basics

ER Models

Normalization

DDL

DML

DCL


https://www.oracletutorial.com/oracle-basics/

https://www.javatpoint.com/oracle-tutorial

https://www.guru99.com/pl-sql-tutorials.html

https://www.learningcrux.com/course/the-complete-oracle-sql-certification-course

https://www.youtube.com/watch?v=0NLsJQCvKXY&list=PLL_LQvNX4xKwbz1aJe0RofbT9YeJH9huQ

https://www.youtube.com/watch?v=y2CICRujsVw&list=PLWPirh4EWFpGKVoAXc4EjgaV4jbAyLrxe


MySQL

DB Basics

ER Models

Normalization

DDL

DML

DCL


https://dev.mysql.com/doc/refman/8.0/en/tutorial.html

https://www.tutorialspoint.com/mysql/index.htm

https://www.javatpoint.com/mysql-tutorial

https://www.youtube.com/watch?v=yZMfbLReFBg&list=PLC1WCudSg397DV5SxiB2ZZkoouG2b0hJA&index=1


PL/SQL

PL/SQL Basics

Anonymous Blocks

Cursors

Exceptions

Functions & Procedures

Packages and Triggers


https://www.oracletutorial.com/plsql-tutorial/

https://www.guru99.com/pl-sql-tutorials.html

https://www.tutorialspoint.com/plsql/index.htm

https://www.learningcrux.com/course/pl-sql-1-hour-intro-learn-oracle-pl-sql-programming-today

https://www.youtube.com/watch?v=J5wjIf4gdq4&list=PLWPirh4EWFpHj0kKqqYudPNOrGEa0fFIr

https://www.youtube.com/watch?v=rbarR4_gaH8&list=PLL_LQvNX4xKyiExzq9GKwORoH6nvaRnOQ


Advanced PL/SQL

Store Procs.

Functions

Packages

Triggers


HTML 5

Introduction to HTML 5

Html 5 new tags

Html 5 Form tags

Audio & video Tags

Canvas


UI (HTML5, CSS3, JavaScript)

HTML Basics tags

Form elements

Html 5 features

CSS Basics

CSS 3

Introduction to HTML

HTML tags

HTML5 Features

Introduction to CSS3

Introduction to Javascript

Event Handling

Jquery

UI Build Model

JSON

https://www.w3schools.com/html/

https://www.tutorialspoint.com/html/index.htm

https://www.javatpoint.com/html-tutorial

https://www.tutorialspoint.com/html5/index.htm

https://www.learningcrux.com/course/build-responsive-real-world-websites-with-html5-and-css3

https://www.youtube.com/watch?v=eOQXwtsxh3M&list=PL0ggi_UlVzQeKb142Qj2OUt2A1iKT1lRP

https://www.w3schools.com/css/default.asp

https://www.tutorialspoint.com/css/what_is_css.htm

https://www.learningcrux.com/course/build-responsive-real-world-websites-with-html5-and-css3

https://www.tutorialspoint.com/css/css3_tutorial.htm

https://www.youtube.com/watch?v=GvUTqsAm9vE&list=PLamqHyWseJOIliSZ23WDS1Ky-uU5yrjOk

https://www.w3schools.com/js/default.asp

https://www.javatpoint.com/javascript-tutorial

https://www.geeksforgeeks.org/javascript-tutorial/

https://www.w3schools.com/jquery/

https://www.tutorialspoint.com/jquery/index.htm

https://learn.jquery.com/

https://www.freetutorials.ca/course/advanced-javascript

https://www.learningcrux.com/course/javascript-intermediate-level-3-json

https://www.youtube.com/watch?v=le-URjBhevE&list=PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5

https://www.youtube.com/watch?v=2OMzGhlIZpg


Hibernate

ORM Basics

ORM Frameworks

Hiberanate and Other Frameworks

ORM Caching

Advantage and Limitations


https://docs.jboss.org/hibernate/core/4.3/quickstart/en-US/html/

https://www.mkyong.com/tutorials/hibernate-tutorials/

https://howtodoinjava.com/hibernate-tutorials/

https://www.journaldev.com/3793/hibernate-tutorial

https://www.learningcrux.com/course/master-hibernate-and-jpa-with-spring-boot-in-100-steps

https://www.youtube.com/watch?v=gUEizau0-UQ&list=PLWPirh4EWFpF9Gbnu4_DdF4ITHSN6MSsk

https://www.youtube.com/watch?v=Yv2xctJxE-w&list=PL4AFF701184976B25

https://www.youtube.com/watch?v=SZ8abQ3vmdc&list=PLd3UqWTnYXOmXS7oSFk_ZSLcJ7tydnt06


Java Script

Jquery JavaScript Design Patterns - Basics

UI Build Model

JSON


Programing

Problem Solving with Core Java


Application Security

Security Vulnerabilities

https://dzone.com/articles/application-security-for-java-developers

https://medium.com/@chrisbateson80/top-5-java-application-security-frameworks-to-build-secure-apps-e5256b45452b

https://www.baeldung.com/java-security-overview


Integration Frameworks Spring Integration

Apache Camel

Message Broker (Basics)

Queuing systems Level 1 NA NA

Integration Frameworks Message Broker

SOA and ESB (Conceptual)

Spring Integration/ Apache Camel


https://spring.io/projects/spring-integration

https://www.baeldung.com/spring-integration

https://dzone.com/articles/spring-integration-hands

https://camel.apache.org/manual/latest/getting-started.html

https://www.tutorialspoint.com/apache_camel/index.htm

https://www.springpeople.com/blog/4-message-brokers-you-need-to-know/

https://www.baeldung.com/apache-camel-intro

https://hackernoon.com/scaling-microservices-with-message-queues-spring-boot-and-kubernetes-9ba4b0e48bdf

https://www.youtube.com/watch?v=icIosLjHu3I&list=PLr2Nvl0YJxI5-QasO8XY5m8Fy34kG-YF2


Coding Standards

Coding Standards

Coding Principles

Best Parctices

Coding Practices

Dos and Donts

Coding Samples

Code Bugs

Simple Scenarios

https://developer.ibm.com/tutorials/j-perry-writing-good-java-code/

https://medium.com/@rhamedy/a-short-summary-of-java-coding-best-practices-31283d0167d3


Logger

Logger Frameworks

Architecture

Types of Logging

Log4j

https://howtodoinjava.com/log4j/

https://www.tutorialspoint.com/log4j/index.htm


Build Tools Types of Build Tools

Features

Maven

http://tutorials.jenkov.com/maven/maven-tutorial.html

https://howtodoinjava.com/maven/

https://www.baeldung.com/maven


Junit

Unit testing

Junit

https://junit.org/junit5/docs/current/user-guide/

https://howtodoinjava.com/junit-4/

https://www.baeldung.com/junit

https://www.freetutorials.ca/course/learning-junit-5

https://www.youtube.com/playlist?list=PLqq-6Pq4lTTa4ad5JISViSb2FVG8Vwa4o


CI/CD

CI/CD with Jenkins or Hudson

Load Balancing

Fail over mechanisms

Scaling the application

Profiling tools

Debugging Thred dumps

https://jenkins.io/solutions/java/

https://www.vogella.com/tutorials/Jenkins/article.html

https://www.javatpoint.com/jenkins

https://docs.oracle.com/cd/E19528-01/819-4740/abdgt/index.html

https://dzone.com/articles/load-balance-your-web-applicat

https://docs.oracle.com/cd/E19693-01/819-4635/aaqcw/index.html

https://dzone.com/articles/the-basics-of-scaling-java-ee-applications

https://docs.oracle.com/cd/E13211_01/wle/jcreserv/scale.htm

https://dzone.com/articles/top-9-free-java-process-monitoring-tools-amp-how-t

https://docs.oracle.com/javase/8/docs/technotes/guides/visualvm/profiler.html

https://medium.com/platform-engineer/guide-to-java-profilers-e344ce0339e0

https://dzone.com/articles/how-analyze-java-thread-dumps

https://www.youtube.com/watch?v=PWhqbpVbaTo&list=PLH1ul2iNXl7txKuhhDMKenYOThDww6x8S

https://www.youtube.com/watch?v=DhKpqGDXRCk


Messaging

Async Programming

Messaging Queues and Topics

JMS (Conceptual)

Active MQ


https://howtodoinjava.com/jms/jms-java-message-service-tutorial/

https://www.javatpoint.com/jms-tutorial

https://dzone.com/articles/java-message-service-jms

https://dzone.com/articles/jms-activemq

https://www.javainuse.com/java/ActiveMQTutorial

Java FSD Intermediate Important Links

 Coding Standards

Coding Standards

https://developer.ibm.com/tutorials/j-perry-writing-good-java-code/

https://medium.com/@rhamedy/a-short-summary-of-java-coding-best-practices-31283d0167d3


Design Patterns Design Principles

Basic Creational Patterns

Structural Patterns


https://www.baeldung.com/creational-design-patterns

https://www.journaldev.com/1827/java-design-patterns-example-tutorial

https://howtodoinjava.com/design-patterns/creational/

https://www.youtube.com/watch?v=z3SRC2ckJhI&list=PLWPirh4EWFpGeQoTYL5YpzBz8Gjw-sxJb

https://howtodoinjava.com/design-patterns/structural/

https://www.javatpoint.com/structural-design-patterns

https://dzone.com/articles/structural-design-patterns-composite-pattern

https://www.baeldung.com/java-structural-design-patterns


UML

UML Basics

UML Modeling

Notations

UML Constructs concepts

Type of Diagrams

https://www.w3schools.com/html/

https://www.tutorialspoint.com/html/index.htm

https://www.javatpoint.com/html-tutorial

https://www.tutorialspoint.com/html5/index.htm

https://www.youtube.com/watch?v=eOQXwtsxh3M&list=PL0ggi_UlVzQeKb142Qj2OUt2A1iKT1lRP

https://www.w3schools.com/css/default.asp

https://www.tutorialspoint.com/css/what_is_css.htm

https://www.tutorialspoint.com/css/css3_tutorial.htm

https://www.youtube.com/watch?v=GvUTqsAm9vE&list=PLamqHyWseJOIliSZ23WDS1Ky-uU5yrjOk

https://www.w3schools.com/js/default.asp

https://www.javatpoint.com/javascript-tutorial

https://www.geeksforgeeks.org/javascript-tutorial/

https://www.w3schools.com/jquery/

https://www.tutorialspoint.com/jquery/index.htm

https://learn.jquery.com/

https://www.youtube.com/watch?v=le-URjBhevE&list=PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5

https://www.youtube.com/watch?v=2OMzGhlIZpg


Spring

Spring MVC

Spring Core & AOP

Spring Security

Spring Transaction Management

https://howtodoinjava.com/java-spring-framework-tutorials/

https://www.tutorialspoint.com/plsql/index.htm

https://www.baeldung.com/spring-tutorial

https://howtodoinjava.com/spring-mvc-tutorial/

https://www.javatpoint.com/spring-mvc-tutorial

https://dzone.com/tutorials/java/spring/spring-mvc-tutorial-1.html

https://www.journaldev.com/2433/spring-mvc-tutorial

https://howtodoinjava.com/spring-restful/how-to-write-restful-webservices-using-spring-3-mvc/

https://www.baeldung.com/rest-with-spring-series

https://spring.io/guides/gs/rest-service/

https://www.youtube.com/watch?v=GB8k2-Egfv0&list=PLC97BDEFDCDD169D7

https://www.youtube.com/watch?v=b_gpvIO24vs&list=PLfkTJXI2Tk-eQlfpOUURnOM_jrMulVXE2

https://www.youtube.com/watch?v=rn5GukaqbSc&list=PL264wQx-QHvl3bx7lW8ey_fjtEkzORIA4

https://www.youtube.com/watch?v=8Gq-fEsN80U&list=PLmjO_jnyV1HX-rYfkeeVwNfbD8gA8tbAh

https://www.youtube.com/watch?v=kXkel8eTCCk&list=PLe5F6J9S-5iHFwY5v-ep2wKgy759jOg8X

https://www.youtube.com/watch?v=YpsFT50mths&list=PLd3UqWTnYXOkkSq5vuX9dmkvSccHhrPXz



Restful Services

RESTFul Services


Web Service

Apache Play

CXF

Jersey - Basics

Web Services - SOAP & REST

https://www.baeldung.com/jax-ws

https://www.javatpoint.com/soap-web-services

https://www.journaldev.com/9131/soap-webservices-in-java-example-eclipse

https://docs.oracle.com/javaee/6/tutorial/doc/gijqy.html

https://dzone.com/articles/restful-web-services-java

https://www.journaldev.com/9170/restful-web-services-tutorial-java

https://dzone.com/articles/soap-web-services-with-apache-cxf-and-spring-boot

https://www.baeldung.com/introduction-to-apache-cxf

https://howtodoinjava.com/jersey-jax-rs-tutorials/

https://www.vogella.com/tutorials/REST/article.html


Spring Boot

Spring Boot Basics


https://howtodoinjava.com/spring-boot-tutorials/

https://spring.io/guides/gs/spring-boot/

https://spring.io/projects/spring-security

https://howtodoinjava.com/spring-security-tutorial/

https://mkyong.com/tutorials/spring-security-tutorials/

https://www.youtube.com/watch?v=msXL2oDexqw&list=PLqq-6Pq4lTTbx8p2oCgcAQGQyqN8XeA1x

https://www.youtube.com/watch?v=sm-8qfMWEV8&list=PLqq-6Pq4lTTYTEooakHchTGglSvkZAjnE

https://www.youtube.com/watch?v=EPd-u8ibXBY&list=PLVApX3evDwJ1d0lKKHssPQvzv2Ao3e__Q



ORM

ORM Basics

Transaction Management

Hibernate Basics

CRUD Operations

Caching

HQL,Criteria & Native API


Build Management, Deployment & Server Config

Maven

GIT/ SVN & Config Management- Basics

Server Config



Log4j

Introduction to Logging Frame work

Introduction to Log4j

Logger,Appendar & Layout

Logging Levels

https://howtodoinjava.com/log4j/

https://www.tutorialspoint.com/log4j/index.htm


Core Java

Core Java (OOPs & Basic Programming Concepts)

JVM - Internals

Garbage Collection

Java 8 - Streams

Java 8 - Lambda Expressions

Java 8 - Functional Interfaces

Collections

OOPS

Operators

Threads

Exception Handling

Interfaces

Memory Management

Parallel Programming


https://docs.oracle.com/javase/tutorial/index.html

https://www.journaldev.com/7153/core-java-tutorial

https://howtodoinjava.com/

https://www.mkyong.com/tutorials/java-8-tutorials/

https://www.javatpoint.com/internal-details-of-jvm

https://dzone.com/articles/jvm-architecture-explained

https://www.geeksforgeeks.org/jvm-works-jvm-architecture/

https://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html

https://www.baeldung.com/jvm-garbage-collectors

https://www.youtube.com/watch?v=hBh_CC5y8-s

https://www.youtube.com/watch?v=r59xYe3Vyks&list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al

https://www.youtube.com/playlist?list=PLd3UqWTnYXOnjGmyjD3zbIkyLXP15-6w0

https://www.youtube.com/watch?v=ZBJ0u9MaKtM

https://www.youtube.com/watch?v=UnaNQgzw4zY

https://howtodoinjava.com/java-concurrency-tutorial/

http://tutorials.jenkov.com/java-concurrency/index.html

https://www.vogella.com/tutorials/JavaConcurrency/article.html


Junit

Introduction Junit

TestCase

Test method

Test Fixure

Test Suite

https://junit.org/junit5/docs/current/user-guide/

https://howtodoinjava.com/junit-4/

https://www.baeldung.com/junit

https://www.youtube.com/playlist?list=PLqq-6Pq4lTTa4ad5JISViSb2FVG8Vwa4o


Hibernate

ORM Basics

ORM Frameworks

Hiberanate and Other Frameworks

ORM Caching

Advantage and Limitations


https://docs.jboss.org/hibernate/core/4.3/quickstart/en-US/html/

https://www.mkyong.com/tutorials/hibernate-tutorials/

https://howtodoinjava.com/hibernate-tutorials/

https://www.journaldev.com/3793/hibernate-tutorial

https://www.youtube.com/watch?v=gUEizau0-UQ&list=PLWPirh4EWFpF9Gbnu4_DdF4ITHSN6MSsk

https://www.youtube.com/watch?v=Yv2xctJxE-w&list=PL4AFF701184976B25

https://www.youtube.com/watch?v=SZ8abQ3vmdc&list=PLd3UqWTnYXOmXS7oSFk_ZSLcJ7tydnt06


Oracle DB Basics

ER Models

Normalization

DDL

DML

DCL

https://www.oracletutorial.com/oracle-basics/

https://www.javatpoint.com/oracle-tutorial

https://www.guru99.com/pl-sql-tutorials.html

https://www.youtube.com/watch?v=0NLsJQCvKXY&list=PLL_LQvNX4xKwbz1aJe0RofbT9YeJH9huQ

https://www.youtube.com/watch?v=y2CICRujsVw&list=PLWPirh4EWFpGKVoAXc4EjgaV4jbAyLrxe


MySQL

DB Basics

ER Models

Normalization

DDL

DML

DCL

https://dev.mysql.com/doc/refman/8.0/en/tutorial.html

https://www.tutorialspoint.com/mysql/index.htm

https://www.javatpoint.com/mysql-tutorial

https://www.youtube.com/watch?v=yZMfbLReFBg&list=PLC1WCudSg397DV5SxiB2ZZkoouG2b0hJA&index=1


PL/SQL

PL/SQL Basics

Anonymous Blocks

Cursors

Exceptions


https://www.oracletutorial.com/plsql-tutorial/

https://www.guru99.com/pl-sql-tutorials.html

https://www.tutorialspoint.com/plsql/index.htm

https://www.youtube.com/watch?v=J5wjIf4gdq4&list=PLWPirh4EWFpHj0kKqqYudPNOrGEa0fFIr

https://www.youtube.com/watch?v=rbarR4_gaH8&list=PLL_LQvNX4xKyiExzq9GKwORoH6nvaRnOQ


Advanced PL/SQL

Store Procs.

Functions

Packages

Triggers



HTML 5

Introduction to HTML 5

Html 5 new tags

Html 5 Form tags

Audio & video Tags



JSP/ JSF

Introduction to JSP

JSP Scripting Elements

Implicit Objects

Directives

Standard Actions

Customs Action Tags

Introduction to JSF


https://www.tutorialspoint.com/jsp/index.htm

https://www.javatpoint.com/jsp-tutorial

https://www.journaldev.com/2114/servlet-jsp-tutorial

https://www.tutorialspoint.com/jsf/index.htm

https://www.javatpoint.com/jsf-tutorial

https://www.youtube.com/watch?v=6jSzVlpylNQ&list=PL0YXTEfmqmyQIK0OyB1khjzcwUeYec5SP



Java Script/Jquery

JavaScript Design Patterns - Basics

Javascript frameworks - Jquery and others - an overview


Programing

Problem Solving with Core Java


Messaging

Async Programming

Messaging Queues and Topics

JMS (Conceptual)

Active MQ

https://howtodoinjava.com/jms/jms-java-message-service-tutorial/

https://www.javatpoint.com/jms-tutorial

https://dzone.com/articles/java-message-service-jms

https://dzone.com/articles/jms-activemq

https://www.javainuse.com/java/ActiveMQTutorial


Server Config

Types of Server

Http / Web Servers

App Servers

Application archives

Application templates

Application deployment

Data Sources

Server Ports

Tomcat Features

Connection Pooling

Performance Standards

Advantage and Limitations


https://www.javatpoint.com/server-web-vs-application

https://www.tutorialspoint.com/internet_technologies/web_servers.htm


Build Tools

Types of Build Tools

Features

Maven

http://tutorials.jenkov.com/maven/maven-tutorial.html

https://howtodoinjava.com/maven/

https://www.baeldung.com/maven

Java FSD Beginner Important Links

 


UML

1.UML Basics

2.UML Modeling

3.Notations

4.UML Constructs concepts

5.Type of Diagrams


https://www.tutorialspoint.com/uml/index.htm

https://www.geeksforgeeks.org/unified-modeling-language-uml-introduction/

https://www.guru99.com/uml-tutorial.html

https://www.youtube.com/watch?v=gUEizau0-UQ&list=PLWPirh4EWFpF9Gbnu4_DdF4ITHSN6MSsk


UI (HTML5, CSS3, JavaScript)

1.HTML Basics tags

2.Form elements

3.Html 5 features

4.CSS Basics

5.CSS 3

6.JS Basics

7.Function

8.DOM manpulation

9.Events

10.Form Validations


https://www.w3schools.com/html/

https://www.tutorialspoint.com/html/index.htm

https://www.javatpoint.com/html-tutorial

https://www.tutorialspoint.com/html5/index.htm

https://www.youtube.com/watch?v=eOQXwtsxh3M&list=PL0ggi_UlVzQeKb142Qj2OUt2A1iKT1lRP

https://www.w3schools.com/css/default.asp

https://www.tutorialspoint.com/css/what_is_css.htm

https://www.tutorialspoint.com/css/css3_tutorial.htm

https://www.youtube.com/watch?v=GvUTqsAm9vE&list=PLamqHyWseJOIliSZ23WDS1Ky-uU5yrjOk

https://www.w3schools.com/js/default.asp

https://www.javatpoint.com/javascript-tutorial

https://www.geeksforgeeks.org/javascript-tutorial/

https://www.youtube.com/watch?v=le-URjBhevE&list=PLWKjhJtqVAbk2qRZtWSzCIN38JC_NdhW5


MySQL

1.DB Basics

2.DDL

3.DML

4.DCL


https://dev.mysql.com/doc/refman/8.0/en/tutorial.html

https://www.tutorialspoint.com/mysql/index.htm

https://www.javatpoint.com/mysql-tutorial

https://www.youtube.com/watch?v=yZMfbLReFBg&list=PLC1WCudSg397DV5SxiB2ZZkoouG2b0hJA&index=1


Oracle

1.DB Basics

2.ER Models

3.Normalization

4.DDL

5.DML

6.DCL

7.PL SQL Basics


https://www.oracletutorial.com/oracle-basics/

https://www.javatpoint.com/oracle-tutorial

https://www.guru99.com/pl-sql-tutorials.html

https://www.youtube.com/watch?v=0NLsJQCvKXY&list=PLL_LQvNX4xKwbz1aJe0RofbT9YeJH9huQ

https://www.youtube.com/watch?v=y2CICRujsVw&list=PLWPirh4EWFpGKVoAXc4EjgaV4jbAyLrxe



Spring

1.Spring Core

2.Spring JDBC

3.Spring ORM

4.Spring MVC

5.Restful Service


https://howtodoinjava.com/java-spring-framework-tutorials/

https://www.tutorialspoint.com/plsql/index.htm

https://www.baeldung.com/spring-tutorial

https://howtodoinjava.com/spring-mvc-tutorial/

https://www.javatpoint.com/spring-mvc-tutorial

https://dzone.com/tutorials/java/spring/spring-mvc-tutorial-1.html

https://www.journaldev.com/2433/spring-mvc-tutorial

https://howtodoinjava.com/spring-restful/how-to-write-restful-webservices-using-spring-3-mvc/

https://www.baeldung.com/rest-with-spring-series

https://spring.io/guides/gs/rest-service/

https://www.youtube.com/watch?v=GB8k2-Egfv0&list=PLC97BDEFDCDD169D7

https://www.youtube.com/watch?v=b_gpvIO24vs&list=PLfkTJXI2Tk-eQlfpOUURnOM_jrMulVXE2

https://www.youtube.com/watch?v=rn5GukaqbSc&list=PL264wQx-QHvl3bx7lW8ey_fjtEkzORIA4

https://www.youtube.com/watch?v=8Gq-fEsN80U&list=PLmjO_jnyV1HX-rYfkeeVwNfbD8gA8tbAh

https://www.youtube.com/watch?v=kXkel8eTCCk&list=PLe5F6J9S-5iHFwY5v-ep2wKgy759jOg8X

https://www.youtube.com/watch?v=YpsFT50mths&list=PLd3UqWTnYXOkkSq5vuX9dmkvSccHhrPXz



Spring Boot

1.Spring Boot

2.Restful Sevices


WebServices

1.SOAP Frameworks

2.REST Frameworks

3.REST & SOAP Implementation

4.SOAP and REST Client


https://www.baeldung.com/jax-ws

https://www.javatpoint.com/soap-web-services

https://www.journaldev.com/9131/soap-webservices-in-java-example-eclipse

https://docs.oracle.com/javaee/6/tutorial/doc/gijqy.html

https://dzone.com/articles/restful-web-services-java

https://www.journaldev.com/9170/restful-web-services-tutorial-java


Hibernate

ORM Basics

ORM Frameworks

Hiberanate and Other Frameworks

ORM Caching

Advantage and Limitations


https://docs.jboss.org/hibernate/core/4.3/quickstart/en-US/html/

https://www.mkyong.com/tutorials/hibernate-tutorials/

https://howtodoinjava.com/hibernate-tutorials/

https://www.journaldev.com/3793/hibernate-tutorial

https://www.youtube.com/watch?v=gUEizau0-UQ&list=PLWPirh4EWFpF9Gbnu4_DdF4ITHSN6MSsk

https://www.youtube.com/watch?v=Yv2xctJxE-w&list=PL4AFF701184976B25

https://www.youtube.com/watch?v=SZ8abQ3vmdc&list=PLd3UqWTnYXOmXS7oSFk_ZSLcJ7tydnt06


Core Java

1.Fundamentals(Operators,Control Statememts)

2.OOPS

3.Exceptions Handling

4.Collections Frameworks

5. Multi Threading

6.IO,Serialization

7.Java 5,6,7,8 Features

8.Mutilthreading & Cuncurrency


https://docs.oracle.com/javase/tutorial/index.html

https://www.journaldev.com/7153/core-java-tutorial

https://howtodoinjava.com/

https://www.mkyong.com/tutorials/java-8-tutorials/

https://www.youtube.com/watch?v=hBh_CC5y8-s

https://www.youtube.com/watch?v=r59xYe3Vyks&list=PLS1QulWo1RIbfTjQvTdj8Y6yyq4R7g-Al

https://www.youtube.com/playlist?list=PLd3UqWTnYXOnjGmyjD3zbIkyLXP15-6w0

https://howtodoinjava.com/java-concurrency-tutorial/

http://tutorials.jenkov.com/java-concurrency/index.html

https://www.vogella.com/tutorials/JavaConcurrency/article.html


Design Patterns

1.Design Pattern Basics

2.Core Java Design Patterns

3.Creational

4.Structural

5.Behavioral

6.J2EE Blue Prints patterns



UI Design Pattern

1.UI Design Pattern Basics

2.JS Design Patters


PL/SQL

1.PL/SQL

2.Advanced PL/SQL

3.Store Procs.

4.Cursors

5.Triggers

6.DB Links


https://www.oracletutorial.com/plsql-tutorial/

https://www.guru99.com/pl-sql-tutorials.html

https://www.tutorialspoint.com/plsql/index.htm

https://www.youtube.com/watch?v=J5wjIf4gdq4&list=PLWPirh4EWFpHj0kKqqYudPNOrGEa0fFIr

https://www.youtube.com/watch?v=rbarR4_gaH8&list=PLL_LQvNX4xKyiExzq9GKwORoH6nvaRnOQ


Coding Standards

1.Coding Standards

2.Coding Principles

3.Best Parctices

4.Coding Practices

5.Dos and Donts


https://developer.ibm.com/tutorials/j-perry-writing-good-java-code/

https://medium.com/@rhamedy/a-short-summary-of-java-coding-best-practices-31283d0167d3


Coding

1.Coding Samples

2.Code Bugs

3.Simple Scenarios


https://developer.ibm.com/tutorials/j-perry-writing-good-java-code/

https://medium.com/@rhamedy/a-short-summary-of-java-coding-best-practices-31283d0167d3


Unit Testing

1.Testing Frameworks

2.Test Suits

3.Testing Methodologies

4.Code Coverage


Logger

1.Logger Frameworks

2.Architecture

3.Types of Logging

4.Log4j


https://howtodoinjava.com/log4j/

https://www.tutorialspoint.com/log4j/index.htm


Build Tools

1.Types of Build Tools

2.Features

3.Maven


http://tutorials.jenkov.com/maven/maven-tutorial.html

https://howtodoinjava.com/maven/

https://www.baeldung.com/maven


Junit

1.Unit Testing

2.Junit


https://junit.org/junit5/docs/current/user-guide/

https://howtodoinjava.com/junit-4/

https://www.baeldung.com/junit

https://app.pluralsight.com/library/courses/junit-5-fundamentals/table-of-contents


Servers

1.Types of Server

2.Web Servers

3.App Servers

4.Application archives

5.Application templates

6.Application deployment

7.Data Sources

8.Server Ports

9.Tomcat Features

10.Advantage and Limitations


https://www.javatpoint.com/server-web-vs-application

https://www.tutorialspoint.com/internet_technologies/web_servers.htm


Wednesday, September 12, 2018

Create Simple application with Nodejs using npm

Below are the summary of the steps I did to create a simple application using nodejs. I have used npm package manager to create this.

Needed Software
1. Download visual studio. get the zip from https://code.visualstudio.com/docs/?dv=winzip
2. Download Nodejs    64 bit binary zip https://nodejs.org/en/download/

Start your first application with Nodejs
1. Create a folder "TuteDemo"
2. Install JSPM and http-server
 a) npm install -g jspm http-server

     This will install jspm and http-server (-g)globally, across server anybody can use it. http-server is very light weight.
  If you have any issues encounter while setting up eg: rename error with path , copy the files to root directory (c:\).
  This will make foder path little less in length.
 
  you will get below output.
---------------------------------
 
C:\Code\React\TuteDemo>npm install -g jspm http-server
C:\node-v8.12.0-win-x64\hs -> C:\node-v8.12.0-win-x64\node_modules\http-server\bin\http-server
C:\node-v8.12.0-win-x64\http-server -> C:\node-v8.12.0-win-x64\node_modules\http-server\bin\http-server
C:\node-v8.12.0-win-x64\jspm -> C:\node-v8.12.0-win-x64\node_modules\jspm\jspm.js
+ http-server@0.11.1
+ jspm@0.16.53
added 341 packages from 233 contributors in 69.733s



2. Initialze the application
 b) nmp init
 press enter and will take default values.
 This will create 'package.json' file with all the initial information related to project.
 Note , root folder name "TuteDemo" automatically taken as package name with lower case.
 Others are set default values and save in json format.


Folder structure

TuteDemo
  -- package.json


{
  "name": "tutedemo",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}


Below is the output
------------------------

C:\Code\React\TuteDemo>npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help json` for definitive documentation on these fields
and exactly what they do.



3. Install jspm locally.
  for debugging purposes and our ease of use, we install jspm locally.

 c) npm install jspm --save
  
 this will install and --save for run time depnedency. --save-dev  for build

This will add "node_modules" folder and "package-lock.json" under root folder "TuteDemo" 
update "package.json"

"dependencies": {
    "jspm": "^0.16.53"
  }



Folder structure

TuteDemo
  -- node_modules   --> include all files with /bin folder
  -- package.json
  -- package-lock.json

 output - forgot to add --save at first run
 -----------------------------------------------

C:\Code\React\TuteDemo>npm install jspm
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN tutedemo@1.0.0 No description
npm WARN tutedemo@1.0.0 No repository field.
+ jspm@0.16.53
added 316 packages from 212 contributors and audited 2285 packages in 46.101s
found 1 critical severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

C:\Code\React\TuteDemo>npm install jspm --save
npm WARN tutedemo@1.0.0 No description
npm WARN tutedemo@1.0.0 No repository field.



4. Configure github with jspm registry.

 you need to have github account before running this step. Please go to https://github.com/ and make an account if yo do not have, else check your credential and confirm your username and password are working fine.
 just run "jspm" in command prompt, you will get the all the options associated with it.
 Just press enter and will take default values, only babel need to be set for ES6 Transpiler.
 This will create "config.js" and update "package.json"
 I have got few errors in gitgub account verification. However i have included the output as it is.

 with error in github token config.js as follows

 System.config({
  baseURL: "/",
  defaultJSExtensions: true,
  transpiler: "babel",
  paths: {}
});

 "package.json" you will see below

 "jspm": {
    "dependencies": {}
  }

 d) jspm  registry config github

 output
 ------
 C:\Code\React\TuteDemo>jspm  registry config GitHub

Would you like to set up your GitHub credentials? [yes]:yes
     If using two-factor authentication or to avoid using your password you can generate an access token at https://github.com/settings/tokens. Ensure it has public_repo scope access.
Enter your GitHub username:vrtugit
Enter your GitHub password or access token:
Would you like to test these credentials? [yes]:yes
err  Error: self signed certificate in certificate chain
         at TLSSocket. (_tls_wrap.js:1116:38)
         at emitNone (events.js:106:13)
         at TLSSocket.emit (events.js:208:7)
         at TLSSocket._finishInit (_tls_wrap.js:643:8)
         at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:473:38)

Would you like to try new credentials? [yes]:yes
     If using two-factor authentication or to avoid using your password you can generate an access token at https://github.com/settings/tokens. Ensure it has public_repo scope access.
Enter your GitHub username:vrtugit
Enter your GitHub password or access token:
Would you like to test these credentials? [yes]:no
ok   Registry github configured successfully.


Second time

C:\Code\React\TuteDemo>jspm init

Would you like jspm to prefix the jspm package.json properties under jspm? [yes]:yes

Enter server baseURL (public folder path) [./]:
Enter jspm packages folder [.\jspm_packages]:
Enter config file path [.\config.js]:
Configuration file config.js doesn't exist, create it? [yes]:
Enter client baseURL (public folder URL) [/]:
Do you wish to use a transpiler? [yes]:
Which ES6 transpiler would you like to use, Babel, TypeScript or Traceur? [babel]:babel
ok   Verified package.json at package.json
     Verified config file at config.js
     Looking up loader files...
warn Error on lookup for github:systemjs/systemjs, retrying (1).
     Error: fatal: unable to access 'systemjs/systemjs.git/': SSL certificate problem: self signed certificate in certificate chain

warn Error on lookup for github:systemjs/systemjs, retrying (2).
     Error: fatal: unable to access 'systemjs/systemjs.git/': SSL certificate problem: self signed certificate in certificate chain

warn Error on lookup for github:systemjs/systemjs, retrying (3).
     Error: fatal: unable to access 'systemjs/systemjs.git/': SSL certificate problem: self signed certificate in certificate chain

warn Error on lookup for github:systemjs/systemjs
     Error: fatal: unable to access 'systemjs/systemjs.git/': SSL certificate problem: self signed certificate in certificate chain

err
err  Error downloading loader files.
err




Saturday, November 8, 2014

Writing comments on Script - JavaScript/Angular

/*global define*/

(function () {

    /**
     * @ngdoc load configuration urls
     * @name cat.CONFIG
     */

    // force script to be run in strict mode
    'use strict';

    // define dependencies
    var dependencies = ['cat'];

    define(dependencies, function (CatModule) {
        // define constant values for configuration
        var CONFIG = {
            // base url for catbor applcation
            'BASE': '/cat-application/catbor/',
            // root url for services
            'SERVICES': '/cat-presentation/services/'
        };

        // add defined congiguration constants to the module
        CatModule.constant('CONFIG', CONFIG);

    });

}());

=========
/*global define*/

(function () {

    /**
     * @ngdoc load header controller for module
     * @name cat.HeaderCtrl
     */

    // force script to be run in strict mode
    'use strict';

    // define dependencies
    var dependencies = ['cat',
                        'components/search/search-controller',
                        'common/js/services/rest-client',
                        'common/js/services/session-service'];

    define(dependencies, function (CatModule) {

        /**
         * @ngdoc Initialize header controller.
         * @name cat.HeaderCtrl
         * @requires RestClient, SessionService
         *
         * @description
         * Header controller for the UI header
         */
        function HeaderCtrl(RestClient, SessionService, $rootScope) {
            var vm = this;

            // set RestClient
            vm.RestClient = RestClient;
            // set SessionService
            vm.SessionService = SessionService;
            // set $rootScope
            vm.rootScope = $rootScope;

            // set groupName from localStorage
            vm.groupName = localStorage.groupName;
            // set username from localStorage
            vm.username = localStorage.username;
            // set fullName from localStorage
            vm.fullName = localStorage.fullName;
            // set regionName from localStorage
            vm.regionName = localStorage.regionName;
            // set lastLogin from localStorage
            vm.lastLogin = localStorage.lastLogin;

            // if localStorage productList is available, set productList from localStorage
            if (localStorage.productList) {
                vm.products = JSON.parse(localStorage.productList);
            }

        }

        /**
         * @ngdoc method
         * @name logout
         * @methodOf cat.HeaderController
         *
         * @description
         * Logout the user
         */
        HeaderCtrl.prototype.logout = function () {
            // make the request to logout from the application.
            var vm = this,
                response = vm.RestClient.sendRequest('logout', null, null, 'GET');

            // if logout is successful, then endSession.
            response.then(function (response) {
                if (response.data === 'true') {
                    vm.SessionService.endSession();
                }
            });
        };

        // add defined header controller to the module
        CatModule.controller('HeaderCtrl', HeaderCtrl);

    });

}());

=========

/**
         * @ngdoc controller
         * @name cat.MainCtrl
         * @requires SessionService, $state
         *
         * @description
         * Main controller for the whole application
         */
        function MainCtrl($state, ngDialog, $rootScope, RestClient, SessionService) {
            var vm = this;

            // set SessionService
            vm.SessionService = SessionService;
            // set $state
            vm.state = $state;
            // set ngDialog
            vm.ngDialog = ngDialog;
            // set $rootScope
            vm.rootScope = $rootScope;
            // set RestClient
            vm.restClient = RestClient;

            // on catching sessionActive , set sessionActive
            $rootScope.$on('sessionActive', function (event, data) {
                vm.sessionActive = data;
            });


            // on catching state-change, set state-change
            $rootScope.$on('state-change', function (event, data) {
                // calling outage message notifier
                vm.getOutageMessageNotification(data);
            });

            // if active session is found, direct to Home page
            if (vm.sessionActive) {
                $state.go('Home');
            }
        }


 /**
         * @ngdoc method
         * @name openDialog
         * @methodOf cat.main.mainctrl
         *
         * @description
         * open dialog window.
         */
        MainCtrl.prototype.openDialog = function (url) {
            var vm = this;

            // if service has and active seesion open dialog window.
            if (vm.SessionService.sessionActive.get()) {
                vm.ngDialog.open({
                    template: url + '.html'
                });
            } else {
                // close all dialog windows.
                vm.ngDialog.closeAll();
            }
        };



/**
         * @ngdoc method
         * @name getOutageMessageNotification
         * @methodOf cat.main.mainctrl
         *
         * @description
         * Popping up the outage if it is a product.
         */
        MainCtrl.prototype.getOutageMessageNotification = function (productName) {
            var vm = this,
                response,
                messageData,
                messageFromTime,
                messageToTime,
                path,
                productId;

            // check whether service has active session.
            if (vm.SessionService.sessionActive.get()) {
                //get the productId for the given product name, from product map which returns after calling the session service.
                productId = vm.SessionService.productMap[productName];
                // check whether productId is available.
                if (productId) {
                    // Dummy ID for now.
                    path = productId + '/' + localStorage.userId; // productId + '/' + vm.userId;
                    // send request to accessActiveOutageMessage service to get the message.
                    response = vm.restClient.sendRequest("accessActiveOutageMessage", null, path, 'GET');

                    // validate response and create message
                    response.then(function (response) {

                        // if status is success get the message text from response bind for Notification.
                        if (response.status === 200) {
                            if (response.data) {
                                messageData = response.data.messageText;

                                // Need to bind this via the Notification directive.
                                vm.rootScope.$emit('notifications', messageData, 'success');
                            }
                        }
                    });
                }
            }
        };


==========

define(dependencies, function (CatModule) {

        // convert input for upper case.
        function capitalize() {
            function filter(input, scope) {
                if (input) {
                    // convert input to lowercase
                    input = input.toLowerCase();

                    return input.substring(0, 1).toUpperCase() + input.substring(1);
                }
            }

            return filter;
        }

        // add capitalize function to the module
        CatModule.filter('capitalize', capitalize);

    });

========

*global define*/

(function () {

    /**
     * @ngdoc overview
     * @name cat.balance
     *
     * @description
     * return balance module.
     */

    // force script to be run in strict mode
    'use strict';

    // define dependencies
    var dependencies = ['angular'];

    define(dependencies, function (angular) {

        return angular.module('cat.balance', []);

    });

}());