Giter VIP home page Giter VIP logo

notes's Introduction

Notes

About my interesting thing

Spring Boiler Plate Template https://github.com/spring-petclinic

Ref from https://www.devglan.com/spring-mvc/spring-hibernate-integration-example-javaconfig https://o7planning.org/en/10129/spring-mvc-tutorial-for-beginners

web.xml deployment descriptor when creaing maven project using maven-archetype-webapp

web.xml=> webapp deployment descriptor need to change from 2.3 to 3.0 inorder to worked for spring expression

page language need to change inorder to worked with spring expression <%@page language="java" contentType="text/html;charset=UTF-8"%>

InternalResourceViewResolver ===>resolve the specifiled path of /WEB-INF/jsp/ as jsp file

ContentNegotiatingViewResolver ==> resolve the controller return response stream as json or any

MultipartResolver ==> handling file upload limit

Java Config implements WebApplicationInitializer initialized dispatcher servlet contextLoader class like defined in web.xml

in sistic dispathcherServletConfig defined all beans resolveView

in pom.xml ==> servlet api 3.1 need to add if the server is tomcat for spring web mvc ==< spring core, spring web mvc, spring web for hibernate ==> hibernate core, hibernate entity manager, spring orm, spring aop, spring context,spring-tx, spring aop, spring context support for json ==>jackson-core, jackson-databind, gson

commons-dbcp ==> enhanced database connection pool Many Apache projects support interaction with a relational database. Creating a new connection for each user can be time consuming (often requiring multiple seconds of clock time), in order to perform a database transaction that might take milliseconds. Opening a connection per user can be unfeasible in a publicly-hosted Internet application where the number of simultaneous users can be very large. Accordingly, developers often wish to share a "pool" of open connections between all of the application's current users. The number of users actually performing a request at any given time is usually a very small percentage of the total number of active users, and during request processing is the only time that a database connection is required. The application itself logs into the DBMS, and handles any user account issues internally. There are several Database Connection Pools already available, both within Apache products and elsewhere. This Commons package provides an opportunity to coordinate the efforts required to create and maintain an efficient, feature-rich package under the ASF license. The commons-dbcp2 package relies on code in the commons-pool2 package to provide the underlying object pool mechanisms that it utilizes.

https://mvnrepository.com/artifact/javassist/javassist Javassist Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java.

notes's People

Contributors

htaung avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.