Book review #4

[Follow-up from previous post]

Finished Reading
Book Version : The Painted Veil
Movie Version : The Painted Veil

Author by : W. Somerset Maugham (Wikipedia)

This book was fantastic and sad. I don’t know how to describe it, i am not going to be a spoiler to tell the storyline (This post were will be very short because i really^2 do not wish become a spolier before you read it).

I really recommend this novel for person who are in Romance genres. But i think it is better to read the book first then only watch the movie.

Happy reading. 🙂

Book review #3

[Follow-up from previous post]

Technical Book

JavaScrip Bible

JavaScrip Bible

Javascript Bible Six Edition

Comment : This book is a MUST have for web developers. It made several important improvements over 4 edition. Example provided were very details and specifics. Ajax were covered as well.
The book is very thick like 6-9cm. Very good for beginner and amateur programmers.

Book review #2

[Follow-up from previous post]

Technical Book

Web Services : Author by Gustavo Alonso, Fabio Casati, Harumi Kuno, and Vijay Machiraju.

Comment : This book is really good for people who are new to web services and references as well. It explain the history of System architecture to current web services. Since this book is kind like a bit extreme technical like RFC specification and no practical solution at all. It introduce SOAP, WSDL, UDDI, 1 to N tier architecture, web service compsition, BPEL, WS-Security, WS-transaction, WS-routing, and more ws-*.

The first 1-4 chapters were about the enterprise system era before web services was introduced. You can got a big picture why integration and interoperability was so hard at that era.
Chapter 5-6, slowly walk through the needs of web services and chapter 7-9 were mainly about web service composition and BPEL was introduced.

Although i finish reading this book, i only get half of its content because this book was too technical for beginner. You had to understand each design behind the system before proceed to the next chapters. If you want to learn web services and don’t know where to start, then this book might help you.

Get HTML Title Tag using Java HTMLDocument Library

Java HTMLDocument model is to support both browsing and editing. If you had overcome need to parse HTML document and wanted to retrieve the title Tag child node value, you can’t use iterator to search the title tag and get the value. But there was one, even more easier way to do that.

//package needed.

//Sample code that get the html document from internet.
//We can use string instead.

URL url = new URL('');
URLConnection connection = url.openConnection();
InputStream is = connection.getInputStream();
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);

HTMLEditorKit htmlKit = new HTMLEditorKit();

//Only start from body
HTMLDocument htmlDoc = (HTMLDocument) htmlKit.createDefaultDocument();
..... //Some HTMLEditorKit code here (Not used for this tutorial)
String title = (String) htmlDoc.getProperty(HTMLDocument.TitleProperty);
System.out.println('HTMLDocument Title: ' + title);

//end java code here

This should be work, of course this is only the snippet code.

Reference : Java HTMLDocument API