How to persist an enumeration effectively? Here is my experience.
Continue Reading...Posts Tagged ‘Java’
Fluent Interface
Recently, I’ve played with my own framework. I found a new term, called “Fluent Interface“. There is a great article on bliki of Martin Fowler about this term, you can read it if you have not heard about it yet.
The idea of “Fluent Interface” is instead of returning void in setter methods of an object, …
ByteTokenizer – a Java class util By Me
Vì nhu cầu để decode các gói tin của Yahoo Messenger nên mình viết thư viện ByteTokenize để sử dụng parse mảng các bytes (bytes array). Class ByteTokenizer tương tự như class java.util.StringTokenizer.
——————————————————————————–
In order to decode Yahoo Messenger packet received from Yahoo Messenger server, I’ve coded class ByteTokenizer, as java.util.StringTokenizer class. This class allows an …
Struts 2 Architecture
Request Lifecycle in Struts 2 applications
User Sends request: User sends a request to the server for some resource.
FilterDispatcher determines the appropriate action: The FilterDispatcher looks at the request and then determines the appropriate Action.
Interceptors are applied: Interceptors configured for …
Continue Reading...