Best practice of JSP app? This is the question been asking my self for a month. As my new job mainly serve and maintain Java-based system in-house and no wonder JSP is used for our online system especially those page which is customer facing. It raise the tons of question mark. Yes I still learning, mostly … Continue reading Legit way of writing JSP?
XML parser - Several parser come along with Java SE lib, which one is your favourite? This time I got told to implement a Java class which take xml file as input then extract selected info, such as Topic / Content / Time stamp…… and packed it as text file for further process. It sound … Continue reading A new way that u never thought of?
The topic pretty much explain itself. Mainly cuz I dun understand how it become just a trendy topic on Dev group. People keep talking about it day by day by day till forever…… Just a coincidence having a short period of free time for me dig upper into this topic in recent week. How you … Continue reading How docker help developer?
Yup finally I settled down with a company or a job more precisely? A financial company which mainly handle stock transaction. Of course I have far more to learn in the near future and new challenge come every day. Unlike the last one, I feel alive which work with tenanted colleague and work closely with … Continue reading Try with resources or not?
Today's topic more on concurrent package. Which kick in from Java 1.5 if I m not mistaken. Have a peek with following class first. It's a class with interface . On the override method , simply print out the array "Demo_words" in a for loop and put thread into sleep for 2s after every print … Continue reading Thread join && Sleep
Properties class, it almost my favour class when building my own side project. It come into handy because Java help dev to store information in a file with pre-defined format. Which mean not need to write method(handler) for fetch && save data by ourself. In order to retrieve information from file, you need "FileInputeStream" with … Continue reading Property class
Generic container, used while not sure incoming parameter type. Two implementation can be used handle this kind of situation. First one is Object container, it sound exactly like it name. Using type <Object> for any incoming parameter as following: As you may seen, all member within the class declare as type <Object> so as the … Continue reading Choice of generic container