current location:Home > Technical Articles > Java > JavaBase
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to solve the problem that the project bar on the side of eclipse is missing?
- Solution: First open eclipse, click "window" on the top menu bar; then click the "show view" option; finally, in the "show view" option, click the "project Exlorer" option, and the project bar on the left will automatically appear .
- JavaBase 18580 2020-11-19 17:14:06
-
- What is the difference between volatile and synchronize?
- Differences: 1. Volatile will not cause thread blocking; synchronized may cause thread blocking. 2. Volatile guarantees the visibility of data, but cannot guarantee atomicity; while synchronized can guarantee atomicity and indirectly guarantee visibility.
- JavaBase 5447 2020-11-19 14:42:33
-
- What is the difference between synchronized and Lock?
- Differences: 1. Lock is an interface, and synchronized is a keyword in Java. 2. Synchronized will automatically release the lock it holds when an exception occurs, so deadlock will not occur; when an exception occurs, synchronized will not actively release the lock it holds, and the lock must be released manually, which may cause deadlock.
- JavaBase 68724 2020-11-19 11:38:29
-
- What are the four major components of springboot?
- The four major components of springboot are: 1. auto-configuration component; 2. starter component; 3. springboot cli component; 4. actuator component.
- JavaBase 21490 2020-11-30 14:13:29
-
- What is the difference between equalsignorecase and equals?
- Difference: equals() is a method defined in the Object class, which determines whether two objects are "equal" and is case-sensitive; equalsIgnoreCase is a method defined in the string class, used to compare whether the corresponding characters in two strings are equal. , case will be ignored.
- JavaBase 12693 2020-11-17 17:21:32
-
- What is the role of abstract classes?
- Abstract classes are used to capture the common characteristics of subclasses and are used as templates for creating subclasses in the inheritance hierarchy. In reality, there is really no need to write some methods in the parent class, because the method in each subclass will definitely be different; instead, write it as an abstract class, so that when you look at the code, you will know that this is an abstract method, and you will know that this method is in the subclass. It is implemented in the class, so it has a prompt effect.
- JavaBase 29140 2020-11-30 11:33:50
-
- What are the differences between @autowired and @resource?
- Differences: 1. @Autowired is provided by Spring, @Resource is provided by J2EE, and requires JDK1.6 and above; 2. @Autowired only injects according to byType, @Resource automatically injects by byName by default, and also provides injection according to byType.
- JavaBase 3681 2020-11-17 14:21:39
-
- What are java middleware
- Java middleware includes: 1. Application service middleware, which provides a comprehensive computing environment and support platform for application systems; 2. Application integration middleware, which provides connections between various network application systems. Message communication; 3. Business architecture middleware provides targeted support mechanisms.
- JavaBase 14255 2020-11-30 11:05:15
-
- What is ssm?
- The full name of ssm is Spring+SpringMVC+MyBatis. It is currently a mainstream Java EE enterprise-level framework and is suitable for building various large-scale enterprise-level application systems. SSM can also refer to "soft systems methodology", which is a qualitative research technology that uses systems thinking to solve non-system problems.
- JavaBase 124135 2020-11-12 16:01:17
-
- What is the difference between jetty and tomcat?
- Differences: 1. The Jetty architecture is implemented based on Handler, and the main extension functions can be implemented using Handler. The expansion is simple; the Tomcat architecture is designed based on containers. To expand, you need to understand the overall design structure of Tomcat, which is not easy to expand. 2. Jetty is more lightweight and flexible.
- JavaBase 15523 2020-11-12 14:10:30
-
- What is the difference between treemap and hashmap in java?
- Differences: 1. The elements in HashMap have no order; all elements in TreeMap have a certain fixed order. 2. HashMap inherits the AbstractMap class and is implemented based on the hash table; TreeMap inherits the SortedMap class and is implemented based on the red-black tree.
- JavaBase 31653 2020-11-11 17:12:56
-
- What are the differences between ssm and springboot?
- Differences: 1. In development, although springboot simplifies the configuration, it only makes the way of writing simpler, and there are still some differences in the way of integration with SSM; 2. When developing with SSM, most people will choose Jsp as the view, but Springboot does not recommend using jsp.
- JavaBase 39652 2020-11-17 16:30:16
-
- What are the built-in objects of jsp?
- The built-in objects of jsp are: request object, response object, session object, out object, application object, page object, exception object, pageContext object, and config object.
- JavaBase 5809 2020-11-17 18:19:02
-
- What is the difference between @autowired and @resource annotations?
- Differences: 1. The @Autowired annotation is provided by Spring and is only injected according to byType; the @resource annotation is provided by J2EE and is automatically injected by byName by default. 2. @Autowired is assembled by type by default, and @Resource is assembled by name by default.
- JavaBase 87568 2020-11-09 10:35:15
-
- What is the difference between struts2 and springMVC?
- Difference: the springmvc entrance is a servlet front-end controller, and the struts2 entrance is a filter; 2. springmvc is developed based on methods, and struts2 is developed based on classes; 3. Compared with SpringMVC, Struts2 verification is more cumbersome.
- JavaBase 17448 2020-11-09 10:05:37