current location:Home > Technical Articles > Java > JavaBase

  • How to solve the problem that the project bar on the side of eclipse is missing?
    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 18373 2020-11-19 17:14:06
  • What is the difference between volatile and synchronize?
    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 5317 2020-11-19 14:42:33
  • What is the difference between synchronized and Lock?
    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 68606 2020-11-19 11:38:29
  • What are the four major components of springboot?
    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 21306 2020-11-30 14:13:29
  • What is the difference between equalsignorecase and equals?
    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 12577 2020-11-17 17:21:32
  • What is the role of abstract classes?
    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 29040 2020-11-30 11:33:50
  • What are the differences between @autowired and @resource?
    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 3569 2020-11-17 14:21:39
  • What are java middleware
    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 14106 2020-11-30 11:05:15
  • What is ssm?
    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 123936 2020-11-12 16:01:17
  • What is the difference between jetty and tomcat?
    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 15379 2020-11-12 14:10:30
  • What is the difference between treemap and hashmap in java?
    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 31555 2020-11-11 17:12:56
  • What are the differences between ssm and springboot?
    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 39555 2020-11-17 16:30:16
  • What are the built-in objects of jsp?
    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 5726 2020-11-17 18:19:02
  • What is the difference between @autowired and @resource annotations?
    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 87453 2020-11-09 10:35:15
  • What is the difference between struts2 and springMVC?
    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 17347 2020-11-09 10:05:37

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!