java face questions common summary

Basics

Basic training

  • Object-oriented features
  • The difference between final, finally, finalize the
  • What is the difference int and Integer
  • Overloading and rewrite the difference
  • Abstract classes and interfaces What is the difference
  • Use talk and reflection achieved
  • Talk about the scenes and custom annotation realization
  • The difference between GET and POST method of the HTTP request
  • session and cookie difference
  • session Distributed Processing
  • JDBC Process
  • MVC design ideas
  • The difference equals and ==

set

  • List and Set difference
  • List and Map difference
  • Arraylist and LinkedList difference
  • ArrayList and Vector difference
  • The difference between HashMap and Hashtable
  • HashSet and HashMap difference
  • The difference between HashMap and ConcurrentHashMap
  • HashMap works and code implementation
  • ConcurrentHashMap works and code implementation

Thread

  • The way to create threads and realization
  • sleep (), join (), yield () What is the difference
  • CountDownLatch talk about principle
  • Talk about the principle CyclicBarrier
  • Semaphore talk about principle
  • Talk Exchanger Principle
  • CountDownLatch and talk about the difference between CyclicBarrier
  • ThreadLocal Principle Analysis
  • The principle talk about thread pool
  • Thread pool in several ways
  • Thread of the life cycle

Lock mechanism

  • Talk about the thread-safety issues
  • The principle volatile
  • synchronize implementation principle
  • The difference synchronized with lock
  • CAS optimistic locking
  • ABA problem
  • Optimistic locking and implementation of business scenarios

The core piece

data storage

  • Note the use of MySQL indexes
  • Talk about anti-pattern design
  • And talk about the sub-library sub-table design
  • Distributed plight of sub-library brings to the table with the points and countermeasures
  • Talk about optimization of SQL Road
  • Deadlock problems encountered in MySQL
  • InnoDB and MyISAM storage engine
  • Principles of database indexes
  • Why use a B-tree
  • Clustered index and non-clustered index difference
  • limit 20000 loads slowly how to solve
  • Distributed primary key to select the appropriate program
  • Select the appropriate data storage scheme
  • ObjectId rules
  • Talk MongoDB usage scenarios
  • Inverted index
  • Talk ElasticSearch usage scenarios

Cache Use

  • What types Redis
  • Redis internal structure
  • Talk about Redis usage scenarios
  • Redis persistence mechanism
  • How Redis for persistence
  • Redis clustering solutions and implementation
  • Why Redis is single-threaded
  • Cache Ben collapse
  • Cache downgrade
  • Use the rationality of cache

message queue

  • Message Queue usage scenarios
  • Message retransmission compensation Solutions
  • Power and other news of Solutions
  • Solutions piled message
  • How to achieve their own message queue
  • How to ensure the orderly message

Framework papers

Spring

  • What is the difference BeanFactory and ApplicationContext
  • Spring Bean Life Cycle
  • How to Spring IOC achieve
  • Talk about Spring AOP
  • Spring AOP implementation principle
  • Dynamic Agent (cglib and JDK)
  • Spring transaction implementation
  • Spring underlying principle Affairs
  • How to implement custom annotation function
  • Spring MVC running processes
  • Spring MVC start the process
  • Spring singleton implementation principle
  • What design patterns used in the Spring Framework
  • Spring Other products (Srping Boot, Spring Cloud, Spring Secuirity, Spring Data, Spring AMQP, etc.)

Netty

  • Why Netty
  • Talk business, Netty usage scenarios
  • Native NIO presence epoll bug in JDK 1.7 version
  • What is TCP stick package / unpacking
  • TCP stick package / unpacking solution
  • Netty threading model
  • Netty talk about zero copy
  • Netty internal execution flow
  • Netty achieve reconnection

Micro Service article

Micro Services

  • Separating the front and rear end is how to do
  • Which micro-services framework
  • How you understand the RPC framework
  • Talk about the realization of the principle of RPC
  • Talk about the realization of the principle of Dubbo
  • How you understand RESTful
  • Talk about how to design a good API
  • How to understand idempotency RESTful API's
  • How to ensure idempotency interface
  • Talk about the CAP theorem, BASE theory
  • Consider how data consistency problems
  • Talk about the ultimate consistency of implementation
  • How do you think microService
  • The difference between the micro-services and SOA
  • How to split Service
  • How micro database management services
  • How to deal with micro-services chain call exception
  • For fast tracking and positioning problems
  • Micro security services

distributed

  • Talk about the use of distributed business scenarios
  • Session distributed program
  • Distributed Lock scenes
  • Lock distribution program implementation
  • Distributed Transaction
  • Algorithm and Implementation clustering and load balancing
  • And talk about the sub-library sub-table design
  • Distributed plight of sub-library brings to the table with the points and countermeasures

safe question

  • STRIDE threat to the security elements
  • Prevent common Web attacks
  • Server communication security attack and defense
  • HTTPS principle analysis
  • HTTPS downgrade attack
  • Licensing and Certification
  • Role-based access control
  • Based access control data

Performance Optimization

  • What are performance indicators
  • How to find performance bottlenecks
  • Common means of tuning
  • How do you talk about performance tuning in the project

Engineering Part

demand analysis

  • How do you understand and split the demand for prototype
  • Talk about your understanding of the functional requirements
  • Talk about your understanding of the non-functional requirements
  • What interaction and improvements you made for the product
  • How do you understand user pain points

Designing ability

  • Tell me what you have used in the project UML diagram
  • How do you consider the components of
  • How do you consider the services of
  • How do you make the field of modeling
  • How do you divide the field of border
  • Talk about your project in the field of modeling
  • Talk about the outline design

Design Patterns

  • You project what design patterns
  • Talk about the popular open source framework design patterns analysis
  • Talk about your understanding of the design principles of
  • Design 23 design patterns
  • Similarities and differences between design patterns, such as the difference between strategy pattern and mode of state
  • The bond between the design patterns, such as the practice of strategy mode + simple factory pattern
  • Performance design patterns, such as better performance which singleton.

Business Engineering

  • How to end the separation before and after your system is doing
  • Tell me about your development process
  • You and your team how to communicate
  • How do you code review
  • Talk about your understanding of technology and business
  • Exception talk about you often encounter in the project
  • Tell me what you feel in the project meet the most difficult Bug, how to solve
  • Tell me about your encounter difficulties in the deepest impression in the project, how to solve
  • Where else do you think you lack project
  • Have you encountered CPU 100%, how to troubleshoot and solve
  • Have you encountered memory OOM, how to troubleshoot and solve
  • Tell me about your practice of agile development
  • Tell me about your practice on the development of operation and maintenance
  • Introduced to the work of one of the most valuable items of their own, as well as roles in this process

Soft power

  • Tell me about your highlights
  • Talk about what books you recently read
  • Tell me what you think the most significant technical books
  • Outside of work to do something
  • Thinking of someone to talk about aspects of the development direction
  • Tell me what you think of the service-side development engineers, which should have the ability to
  • Tell me what you think of what kind of architect, architect mainly to do
  • Technical experts talk about what you understand

Author: Zhao Liang Gui
link: https: //juejin.im/post/5a94a8ca6fb9a0635c049e67
Source: Nuggets
copyright reserved by the authors. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

Guess you like

Origin www.cnblogs.com/Zz-maker/p/11242715.html