Tomcat
(Way to receive answers interview questions + See sidebar)
- The default port for Tomcat is how much, how to modify?
- Connector tomcat, which has several operating modes (optimized)?
- There are several ways to deploy Tomcat?
- How tomcat servlet container class instance is created? What principle is used?
- Tomcat how to optimize?
- How memory tuning?
- How to tune garbage collection policy?
- How to handle shared session?
- How to add JMS remote monitoring?
- Analytical tools professional point of what?
- The number of session on Tomcat
- How to monitor memory usage of Tomcat
- Where loading and recovery of the printing object class
- Tomcat complete process a request
- Tomcat working mode?
MySQL
- What database three paradigms?
- What database optimization experience there?
- Please describe briefly what kind commonly used index?
- And what indexes in mysql database mechanism work?
- MySQL's basic operation command
- Mysql replication principle and process
- mysql supports replication type?
- mysql with innodb distinguish myisam of?
- Meaning the difference between varchar and char in the mysql and (50) 50 representatives of varchar?
- MySQL InnoDB support in four transaction isolation level name, and the differences between progressive?
- Table has a large field X (for example: text type), and the X field will not be updated frequently to read as main, this field is split into sub-table what the benefits?
- Row lock in MySQL InnoDB engine is done by adding on what (or realization) of?
- MySQL in the global parameters to control memory allocation, what?
- If a table has only one field VARCHAR (N) type, utf8 encoding, maximum N is the number of (accurate to the order of magnitude can be)?
- What are the advantages and disadvantages [SELECT *] and [SELECT all fields] of two kinds of writing?
- HAVNG WHERE clause and the similarities and differences?
- MySQL when the record does not exist insert, update when the record exists, the statement how to write?
- MySQL's insert and update the select statement syntax
Design Patterns
- 请列举出在 JDK 中几个常用的设计模式?
- 什么是设计模式?你是否在你的代码里面使用过任何设计模式?
- Java 中什么叫单例设计模式?请用 Java 写出线程安全的单例模式
- 在 Java 中,什么叫观察者设计模式(observer design pattern)?
- 使用工厂模式最主要的好处是什么?在哪里使用?
- 举一个用 Java 实现的装饰模式(decorator design pattern)?它是作用于对象层次还是类层次?
- 在 Java 中,为什么不允许从静态方法中访问非静态变量?
- 设计一个 ATM 机,请说出你的设计思路?
- 在 Java 中,什么时候用重载,什么时候用重写?
- 举例说明什么情况下会更倾向于使用抽象类而不是接口?