Skip to content

Commit

Permalink
Sapient Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurov Ojha committed Oct 18, 2016
0 parents commit 0a59191
Show file tree
Hide file tree
Showing 46 changed files with 94 additions and 0 deletions.
Binary file added Java Workshop - Mock Interview - Checklist.xlsx
Binary file not shown.
Binary file added Use Cases.docx
Binary file not shown.
41 changes: 41 additions & 0 deletions java_note.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
The single most important change in Java 8 enables

Advantages :
Faster, clearer coding and opens the door to functional programming.
Functional programming has risen in importance because it is well suited for concurrent and event-driven (or "reactive") programming.
Collection libraries can be given powerful APIs if the language has a convenient syntax for functional expressions

lamda exp : anonymous function impl
functional Interface : only one abstract method

Can functional interface be extended ? YES

Lamda expression chaining

inteface vs abstract class (abstract class has a constructor and its use?)

What is the point of public default method in functional interface


Defender methods in interfaces :

Before java 1.8 if you need to add new functionality into interfaces one needs to provide its implementation in all of the concrete class which are implementing that interface.
and this limitation makes it almost impossible to extend/improve the existing interfaces and APIs


The same challenge was faced while enhancing the Collections API in Java 8 to support lambda expressions in the API.
To overcome this limitation a new concept is introduced in Java 8 called default methods which is also referred to as Defender Methods or Virtual extension methods.




REST : Representational State Transfer ?????

Rest + Spring


Rest vs servlet vs srping mvc

restful webservice to return employee data in different formats
Add caching + authentication
pass object in request and get response as object
Binary file added sapient kt/Advanced Data Structures.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Core_Java_Memory_Model.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Design Patterns.pptx
Binary file not shown.
Binary file not shown.
Binary file added sapient kt/Core Java/JAVA Concurrent API.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Java Collections.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Java Fundamentals.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Multithreading.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/OOP_Concepts.pptx
Binary file not shown.
Binary file not shown.
Binary file added sapient kt/Core Java/SOLID Design Principle.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/Thumbs.db
Binary file not shown.
Binary file added sapient kt/Core Java/~$Core_Java_Memory_Model.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/~$Design Patterns.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/~$JAVA Concurrent API.pptx
Binary file not shown.
Binary file added sapient kt/Core Java/~$SOLID Design Principle.pptx
Binary file not shown.
Binary file not shown.
Binary file added sapient kt/Database/Database SQL - Oracle.pptx
Binary file not shown.
Binary file added sapient kt/Database/Practice Exercises.docx
Binary file not shown.
Binary file added sapient kt/Database/Thumbs.db
Binary file not shown.
Binary file added sapient kt/Hibernate/Hibernate - Advance.pptx
Binary file not shown.
Binary file added sapient kt/Hibernate/Hibernate - Basic.pptx
Binary file not shown.
Binary file added sapient kt/Hibernate/Thumbs.db
Binary file not shown.
Binary file added sapient kt/Introduction to JMS.pptx
Binary file not shown.
Binary file added sapient kt/Spring/Spring AOP.pptx
Binary file not shown.
Binary file added sapient kt/Spring/Spring Boot.pptx
Binary file not shown.
Binary file added sapient kt/Spring/Spring Core & DI.pptx
Binary file not shown.
Binary file not shown.
Binary file added sapient kt/Spring/Spring JPA Integration.pptx
Binary file not shown.
Binary file added sapient kt/Spring/Spring MVC.pptx
Binary file not shown.
Binary file added sapient kt/Spring/Thumbs.db
Binary file not shown.
Binary file added sapient kt/Spring/springboot.pptx
Binary file not shown.
Binary file added sapient kt/Testing - Junit.ppt
Binary file not shown.
Binary file not shown.
Binary file added sapient kt/Use Cases/Problem Statement.docx
Binary file not shown.
Binary file added sapient kt/Use Cases/Use Cases.docx
Binary file not shown.
Binary file added sapient_notes.docx
Binary file not shown.
2 changes: 2 additions & 0 deletions sapient_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
KBG
sape-113609
Binary file added wells_prep.xlsx
Binary file not shown.
50 changes: 50 additions & 0 deletions workshop_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
18-10-2016
=================================================
TDD
Refactoring

Junit Testing :
make method private
add have some return type
junit v3 vs v4 (annotations came in v4)
Annotations : How it workds --> Reflection


Mocking framework :

Mock return values

Mockito framework : only behaviour can be mocked
JMock
power mock : private and static and final methods can be mocked


Final : Making things unchangable

Final


static :

class
variable
method
static Import
Inner classes

abstract

java call by value or call by reference

Super
this
calling constrcutor using this

loading -> linking -> initialization

what is the value of hashcode() and when its been initialized

jvm architecture

classloader
inside jvm
Binary file added workshop_self_notes.docx
Binary file not shown.
1 change: 1 addition & 0 deletions workshop_self_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
workshop self
Binary file added ~$e Cases.docx
Binary file not shown.

0 comments on commit 0a59191

Please sign in to comment.