Home>Network programming tutorial> Java tutorial
All ASP tutorial ASP tutorial ASP.NET tutorial PHP tutorial JSP tutorial C#/CSHARP tutorial XML tutorial Ajax tutorial Perl tutorial Shell tutorial Visual Basic tutorial Delphi tutorial Mobile development tutorial C/C++ tutorial Java tutorial J2EE/J2ME Software engineering
Java tutorial
  • Configuration of java mybatis framework

    Configuration of java mybatis framework

    Configuration of the java mybatis framework: 1. Configure databases. Multiple databases can be configured, but only one can be used by default; 2. Configure SqlSessionFactory. In addition to using XML-based configuration creation, the interface can also b
    2022-05-24
  • Download and installation of mybatis in java

    Download and installation of mybatis in java

    Download and installation of mybatis in java: 1. Unzip the downloaded mybatis-3.5.5.zip; import all jar packages under the lib path, as well as the jdbc driver packages required by jdbc and corresponding to the database into the project.
    2022-05-24
  • How to convert Arrays to list in java

    How to convert Arrays to list in java

    Arrays conversion list in java: 1. List is only used for traversal, use Arrays.asList(); 2. List also needs to add or delete elements, use new java.util.ArrayList, and then add elements one by one; 3. Suitable for arrays of object data.
    2022-05-24
  • What are the interview questions in java arrays

    What are the interview questions in java arrays

    Java array interview questions: Array is an independent module in Java. The knowledge points in it have formed a complete knowledge structure. In the actual inspection, it will involve discussion of variables, actual application of algorithms, etc. When r
    2022-05-23
  • What are the ORM frameworks in Java?

    What are the ORM frameworks in Java?

    ORM framework in Java: Mainly Hiberante is an object-oriented ORM, Mybatis is a semi-automatic ORM, Bee specifically describes the advantages of Hiberante and Mybatis, IBATIS is a persistence layer framework, JOOQ is a Java class library for complex SQL,
    2022-05-23
  • Environment configuration of Hibernate in java

    Environment configuration of Hibernate in java

    Hibernate environment configuration in java: 1. Mapping configuration, find the relevant files in the core jar package of Hibernate, and copy them to Customer.hbm.xml; 2. Core configuration, find the files in the core jar package of Hibernate, and copy th
    2022-05-23
  • Construction of java Spring framework

    Construction of java Spring framework

    Building the java Spring framework: 1. Configure the web.xml file; 2. Configure the applicationContext.xml file; 3. Create a new Controller file; 4. Put the jar package into the WEB-INF/lib folder; 5. Add the project to tomcat .
    2022-05-23
  • Detailed explanation of Spring framework download in java

    Detailed explanation of Spring framework download in java

    Steps to download the Spring framework in java: 1. Find the official website download address; 2. Download springsource-tool-suite; 3. Install springsource-tool-suite; 4. Keep clicking "Next" and finally "Finish". Wait for it to instal
    2022-05-23
  • Application of java type erasure

    Application of java type erasure

    If the type parameters are unrestricted, all type parameters in the generic type are replaced by their bounds or objects. Insert type conversions when necessary to maintain type safety. To maintain polymorphism in extended generic types, bridge methods ar
    2022-05-21
  • Java wildcard usage rules

    Java wildcard usage rules

    Rules for using java wildcards: 1. Define in variables and use upper limit wildcards. 2. Use the super keyword and the lower limit wildcard to define the out variable. 3. If the In variable can be accessed using methods defined in the Object class, use un
    2022-05-21
  • How to use lower bound wildcard in java

    How to use lower bound wildcard in java

    Usage of Java lower bound wildcard: 1. Lower bound wildcard restricts unknown types to specific types or super types. 2. The lower bound wildcard uses the wildcard character ('?'). 3. The class instantiated under the wildcard must be the current c
    2022-05-21
  • Exploring the limitations of java generics

    Exploring the limitations of java generics

    Exploring the limitations of java generics: 1. Type variables in the static context of generic classes are invalid. 2. Type variables cannot be instantiated. 3. Generic parameters cannot be instantiated with basic types. 4. Arrays of parameterized types c
    2022-05-21
  • Introduction to java local variable table

    Introduction to java local variable table

    Introduction to java local variable table: 1. The local variable table is also called a local variable array or local variable table. Defined as an array, it is mainly used to store method parameters and define local variables in the method. 2. Because th
    2022-05-21
  • How to use java dynamic proxy

    How to use java dynamic proxy

    The use of java dynamic proxy: 1. When using dynamic proxy, you need to define an intermediary class between the proxy class and the delegate class. 2. In dynamic proxy mode, the delegate class must implement a certain interface.
    2022-05-20
  • Comparison of java dynamic and static languages

    Comparison of java dynamic and static languages

    Comparison of java dynamic and static languages: 1. Dynamic language, a language whose structure can be changed during operation, such as JavaScript, PHP, and Python. 2. Corresponding to dynamic languages, languages ​​whose structure does not change durin
    2022-05-20