Tuesday, November 15, 2022

HR Manager interview

 Tell me about yourself 

I am Pavan. I completed master's in computer application from Annamalai university in India.  

I have 12 plus years of experience in Software development working with various software tools and languages. 

Currently I am working in a project to modernize child support system for state of Nevada where I am working with team to develop the rest Api development using spring boot and UI pages using Angular framework and primeng. I have also supported the team to develop and review the selenium test script and to develop the Jenkins pipeline script for deploying the application in our non-prod and prod regions.

I personal like to do gardening in our back yard during spring and summer.


*********************************************************************


What is the dream work environment / What is the ideal work environment 

Training --> To know about the enterprise direction and SNOW sessions

Interaction with coworkers and Supervisors --> 

Employee recognition -->

Work-life balance --> 


Greatest strength and weakness 

I am enthusiastic to learn new things 


**********************************************

Recently what have you learned

when I visited best buy, I saw google from which we can hear music it is nice.


***************************

what is annoying thing at work

Work which we are doing is not recognized then it makes me uncomfortable.  

Tuesday, November 8, 2022

Spring Batch

 Job Launcher --> Job --> Step --> ItemReader, ItemProcessor , ItemWriter 

Job Repository


Spring Batch

a. A ligthweight, comprehensive batch framework designed to enable the development of robust batch applications vital for the daily operations of enterprise systems.

b. Open-source Application

c. Spring batch helps to process 
           large volume of records, 
           including logging/tracing, 
           transaction management, 
           job processing statistics, 
           job restart, 
           job skip and resource management

Features
   Transaction Management 
   Chunk based processing 
   Job Start/Stop/Restart
   Job-Processing statistics

Spring Batch components 
      JobRepository 
      JobLauncher
     Job
     Step
     ItemReader
     ItemProcessor
     ItemWriter
     


JobRepository : 
     This represents the persistence of batch meta-data entities in the database. It acts as a repository that contains batch jobs information, for example, when the last batch job was run, etc.

JobLauncher :
    This is an interface used to launch a job or run jobs when the jobs scheduled time arrivers. It takes the jobs name and some other parameters while launching or running the job.

Job:
    This is the main module, which consist of the business login to be run.

Step:
   Steps are nothing but an execution flow of the job. A complex job can be divided into several steps or chunks, which can be run one after another.

ItemReader:
    This interface is used to perform bulk-reading of data, e.g., reading several lines of data from an Excel file when a job starts.

ItemProcessor:
    When data is read using itemreader, ItemProcessor can be used to perform the processing/transformation of data, depending on the business logic.

ItemWriter:
       This interface is used to write bulk data- either to a database or any other file disks.


Friday, October 21, 2022

passport photo

 Passport photo 


https://photobooth.online/

upload the photo (4x6(10x15cm)_passport_photo_printable.jpeg) to the site to print and it will take 10 -20 days to get them

https://www.costcophotocenter.com/Cart

Sunday, October 9, 2022

school college 529 fafsa

the below website provides rating 

 https://www.niche.com/


https://www.gradreports.com/

https://collegerealitycheck.com/

https://www.princetonreview.com/

https://www.usnews.com/


https://www.quora.com/How-many-credit-hours-do-you-require-to-do-a-masters-degree-in-the-USA


Online MSc
https://www.umassd.edu/online/tuition-and-fees/

**************************************************************************

FAFSA - Free Application for Federal Student Aid 

Secret one: Apply FAFSA early   
Oct 1st is when FAFSA will open by end of Oct 31 will be good 

Secret Two: Always fill FAFSA form

Secret Three: Apply each year 


UTMA, UGMA accounts (Custodial accounts): This might reduce the FAFSA upto 25%


529 plan (5.64%)

**************************************************************************

10 Scholarships to apply in 2024 (10 Scholarships To Apply for in 2024 (youtube.com))

For US Citizens 

Mertin vs Need base Scholarships

Private vs Institutional Scholarships




Sunday, June 12, 2022

kids activity

 Urban air Trampoline and Adventure Park   --> https://www.urbanair.com/
Round1Bowling and Amusement --> https://www.round1usa.com/locations


Hang Gliding Tahoe --> https://hangglidingtahoe.com

Silver State Gymnastics academy


Need 2 Speed in Reno


Friday, May 6, 2022

Agents

Real estate

Insurance agent

Life Insurance
Health Insurance
Property Insurance
Casualty insurance
Surplus line insurance
Variable Products insurance
Personal lines insurance


https://getjerry.com/questions/can-i-work-for-more-than-one-insurance-company

https://www.tdi.texas.gov/agent/general-life-apply.html

https://doi.nv.gov/

http://www.insurance.ca.gov/


agent license 

agency license 

Thursday, May 5, 2022

ReactJS

ECLIPSE IDE

 Ctrl + Shift + L --> to list all the shortcut keys in eclipse 

Ctrl + T --> List the implementation of an interface method 

to define a custom declaration, use the below steps 

windows --> Preferences --> General --> Keys  --> Type " Open Implementation" --> in the binding field press shift+ f3 so that will become a shortcut once we click Apply and close 


Thursday, April 7, 2022

Hibernate

 Hibernate Dev Process - To do List

1. Add Hibernate Configuration file
2. Annotate Java Class
3. Develop Java code to perform database operations



Entity Class: Java class that is mapped to a database table.


Two options for Mapping

1. XML config file (legacy)
2. Java Annotations (modern, preferred)

Java Annotations

1. Map class to database table
2. Map fields to database columns


SessionFactory : 

    Reads the hibernate config file. 
    Creates Session Objects
    Heavy-weight Object
    Only create once in your app

Session

     Wraps a JDBC connection
     Main Object used to save/retrieve objects
     Short-lived object
     Retrieved from SessionFactory


Primary key ID Generation Strategies 

GenerationType.AUTO   :  Pick an appropriate strategy for the particular database
GenerationType.IDENTITY : Assign primary keys using database identity column
GenerationType.SEQUENCE : Assign primary keys using a database sequence
GenerationType.TABLE : Assign primary keys using an underlying database table to ensure uniqueness 

custom ID generation
We can define your own CUSTOM generation strategy
Create implementation of org.hibernate.id.IdentifierGenerator
Override the method public Serializable generate()

https://www.baeldung.com/querydsl-with-jpa-tutorial


hibernate dialect 

https://www.javatpoint.com/dialects-in-hibernate

In hibernate we will begintranscation and and commit the transaction for select as well whereas in sql we will do that only for DML script


Hibernate Query Language (HQL)

Query language for retrieving objects
similar in nature to SQL
   where, like, order by, join, in, etc ...


Advance Mapping

One - to - One 
One - to - Many, Many - to - One
Many - to - Many

Important Database concepts

Primary key and Foreign key
Cascade 

Cascade:
You can cascade operations
Apply the same operations to related entities 

Uni-Directional
Bi-Directional

Referential Integrity

Entity LifeCycle

Detach : If entity is detached, it is not associated with a Hibernate session
Merge: If instance is detached from session, then merge will reattach to session
Persist: Transitions new instance to managed state. Next flush/commit will save in db
Remove: Transitions managed entity to be removed. Next flush/commit will delete from  db
Refresh: Reload/synch object with data from db. Prevents stale data

Cascade Types

PERSIST  : If entity is persisted/saved , related entity will also be persisted
REMOVE: If entity is removed/deleted, related entity will also be deleted
REFRESH: If entity is refreshed, related entity will also be refreshed
DETACH  : If entity is detached(not associated w/ session), then related entity will also be detached.
MERGE    : If entity is merged, then related entity will also be merged
ALL           : All of above cascade types

mappedBy
Look at the 

Annotations 

@Entity

@Table

@Id

@Column

@GeneratedValue

@OneToOne

@ManyToOne

@OneToMany

@ManytoMany

@JoinColumn


Thursday, March 24, 2022

Javascript

Javascript object creation 


https://www.developerdrive.com/4-ways-to-create-an-object-in-javascript-with-examples/

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function


https://abdulapopoola.com/2013/03/30/static-and-instance-methods-in-javascript/

Sunday, March 6, 2022

Java Thread

 to have thread in java we have two options 

option 1: Extends Thread and need to override the method run()