[Interview]-Java orientation question 1

Source: Internet
Author: User
Tags thread class

1. The difference between forward and redirect is explained in detail.

2. What are the multithreaded classes in Java?

3. What are the differences between abstract classes and interfaces? Thedifferences between interface and abstract class?

4. How many servlet instances have been created in an app?

5. talk about the life cycle of the servlet? (Lifecycle)

6. What is the scope of the servlet?

7. SessionId. The role?

8. The session mechanism

9. How do I get the object on the page if I put it in the session?

10. What is the Java reflection mechanism?

11. Commonly used design patterns, such as Factory mode, observation mode, etc.

12. Talk about the singleton mode

The difference between wait and sleep

Final and finally, finalize the difference?

What is the difference between list, set, and map?

How the set implements sorting

The difference between ArrayList and vectors

Features of ArrayList

How is the list sorted?

What are the parsing techniques for XML? What is the difference?

What do you mean, "serializable"?

A. String and StringBuffer, the difference between them?

How does spring work?

What is the difference between request and session? (Cookies,response)

25. Write a singleton out, lazy and a hungry man style, but also the safe way to handle the thread

implementation process of Struts

How is the struts tag used?

How does struts throw a form to read the data?

2 Ways to Struts-validation

What is the role of JavaScript and how is it used in the project?

31. Commonly used SQL statements, such as join, Union, group by and have, etc.

32. What if the search table has a special field? (using the ability to use SQL basic statements such as Select)

33. A Student score table (Stu_score) contains Stu_id,class_id,score, writes out SQL statements, and obtains the total score of all stu_id and score.

34. Build a table with SQL

35. Issues to be aware of in database design

36. Say the kind of join and the difference between the various joins.

What is the session role of the Notoginseng hibernate?

Hibernate persistent managed bean can be associated with a bean with the same primary key object as the database

39. How to invoke the original SQL in Hibernate

40. Describe the JDBC and hibernate execution procedures, respectively

41. Table connections in several ways, transactions, stored procedures, order BY, GROUP by?

Overview of MVC.

How page is created

How does the JSP page get the data passed?

What label is the data for the JSP page table? The best example is that the evidence is sufficient!

What are the built-in objects for JSP? What are the roles?

How to handle exceptions in JSP

48. How do I dynamically display a table on a JSP page?

What is the difference between JSP and servlet ?

50. What is the method for identifying server-client?

How does Spring apply to MVC? What role does it play?

What is the usage of transaction in spring?

53. Understanding of Spring's AOP

What is the most direct feature of spring? IOC

How does spring handle the transaction?

How does spring and hibernate support each other?

What is the difference between doget () and Dopost ()? What kind of design mode is it?

How does the action get data from the servlet?

How many classes are there in the. Action?

60. Explain Actionform?

What is the difference between Java and EE?

The EJB includes (Sessionbean, Entitybean) say their life cycle, and how to manage the transaction?

63. A brief description of the difference between the client invoking the EJB remote interface and the local interface?

Say Something about Hibernate and what to write begin Transaction?

65. How is multithreading implemented?

66. What is thread safety? How is the thread class implemented?

67. How to implement thread safety. Through wait and notify?

68. How does non-threading security translate to thread safety with Java statements? Thread synchronization

What is the difference between HashMap and Hashtable?

The difference between HashSet and likedlist.

71. Advantages and principles of garbage collection. and consider 2 kinds of recycling mechanisms. Garbage collection mechanism is going on. How to determine if the object is not used to be recycled?

The ways in which Java collects and collects garbage.

73. What is a deadlock and how to fix it?

74. What is synchronous, asynchronous.

75. Cite several common exceptions

76. What is the difference between a run-time exception and a non-runtime exception? list common run-time exceptions

What are the methods for a. Object?

What's Formbean for?

79. How to understand page,request,session,aplication?

80. In what range do you usually store objects?

The processing of JMS message order and the logical primary key

1. Usage of Spring's properties configuration file

2. Some commands of linux/and research on the kernel

3. Efficiency of container classes and arrays in Java

4. Understanding of the Java stream

5. How to embody MVS on swing

6. How struts embodies MVC

7, JMS message in topic mode How to limit the monitoring

8. EJB Development Mode Client Cache

9. UNIX Environment Deployment and development

10. How the Web program verifies

11. Database stored Procedure trigger

12, collections generally used to do? The way you've used it.

13. Unix are you familiar with the commands? The use of VI is emphatically discussed.

[Interview]-Java orientation question 1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.