Spring MVC Request And Session Scoped Bean Example

Request scope and session scope are important web application concepts. Request scope is short-live scope, request scope object only exists in one HTTP request. But session scope is long-live than request scope, session scope object exists between every request in an HTTP session. Spring provides annotations for you to make a java bean exist in […]

Spring MVC Request And Session Scoped Bean Example Read More »

How To Convert East-Asian Character To Unicode In Java

East-Asian character ( Chinese, Japanese, Korean ) is different from the western character. But our web application should be accessed from all over the world. So we should support display those east-Asian characters on the web page correctly. The solution to resolve the character charset issue is to use Unicode for all languages messages in

How To Convert East-Asian Character To Unicode In Java Read More »

Python Profile Memory Usage And Object Graph Example

Python memory monitor is very important for debugging application performance and fix bugs. This article will introduce two popular python modules, memory_profiler, and objgraph. memory_profiler can monitor your app code memory usage for each line of code, objgraph can display the python objects relationship and generate an image to visualize it.

Python Profile Memory Usage And Object Graph Example Read More »