Transferred from: http://zy19982004.iteye.com/blog/1846537#comments
I. All
Recently found a job, encountered the written test interview questions, summarized as follows, for everyone's reference.
Two. j2se
- Container
- HASHMAP,LINKEDHASHMAP,TREEMAP implementation, algorithm time complexity.
- The implementation of Hashset,linkedhashset,treeset.
- The implementation of Arraylist,linkedlist. A company test: Implement a list by itself.
- Synchronize the container. Java.util.Collections class.
- Multithreading
- Multi-threaded state and conversion.
- Learn about the java.util.concurrent.* package.
- The reference is passed, and the value is passed.
- Parent class subclass variables, blocks, constructor load order.
Three. Servlet JSP
- Xml
- How to let the servlet load when the Web application is started.
- Servlet
- What is the use of the servlet's Getinitparameter (String name) and where it is configured.
- The servlet life cycle, when the init service DoPost Doget was called.
- Jsp
- Write more than five built-in objects. (Must test!) )
Four. SSH
- Struts2
- Work flow
- Hibernate
- Work flow.
- First-level cache, level two cache.
- Compare Ibatis.
- Spring
- IOC Reflection
- AOP Dynamic Agent
Five. Network programming
- Socket,nio,netty,mina. (socket must be mastered)
Six. Small Business high Performance architecture
- Whether to build a apache+tomcat architecture, the middle of what communication.
- Whether to build a nginx+tomcat architecture.
- Common Application Server, Web server, difference.
Seven. Responsible for balancing the relevant
- Lvs+keepalived. Configuration is used.
Eight. Caching
- Memcached. How you use it.
- Squid.
- Varnish.
Nine. Cloud storage (This depends on your own direction of work and job interview)
- Whether an HDFS has been built. Whether you have read its source code. HDFs architecture. HDFs details rpc, upload download file flow, ha scenario.
- Hdfs Fastdfs is best used for NFS applications.
- What is the relationship between Apache Hadoop and Google GFs, background.
- BigTable. Mapredurce,hive.
10. Database
- Common database engine and differences.
- Database queries. http://blog.csdn.net/gaotong2055/article/details/8560053 typical example.
- Database optimization.
11. Design mode
- Draw the UML diagram with the most design patterns you use.
12. Algorithms
- The time complexity of several sorting methods.
- Sort inside, sort outside.
13. Project Experience
- It is best to sit in a row with the interviewer and give him an introduction to the project and draw the structure.
14. Use of other languages.
15. Experience
- The technical interviewer will interview you and let him see where your technology is different. Analogy machine try to achieve a list, you do not hesitate to ArrayList source code. To achieve the effect is a week down, he was tired, only remember you.
- The general manager interviewed you, not to understand your technical details, he is aware of your problem-solving ideas. It's a metaphor for what you do in Java, how you put the object-oriented concept into your project.
- When talking with HR about welfare salary, make a list of all the benefits to ask in advance, so as to avoid omission.
Java Interview Summary