Sunday, March 23, 2014

PrimeFaces CookBook

This is the first book as I know about PrimeFaces Framework. As I saw on the web site of PrimeFaces; two new books were added to the PrimeFaces Family. :-)

I bought this book from the following link:
http://www.packtpub.com/primefaces-leading-jsf-component-suite-cookbook/book

The book starts with a very general information about Ajax and an important links for Primefaces. The authors also give their recommendations about forgetting things when preparing xhtml file content and CSS to the reader.

However this book gives you many useful samples for some of the framework's components, all of the components of this framework can be seen on the web site of the PrimeFaces.


I want to list an important web sites for developing web apps with using PrimeFaces.

http://docs.oracle.com/javaee/6/api/javax/faces/component/UIComponent.html

https://github.com/ova2/primefaces-cookbook
http://code.google.com/p/primefaces/wiki/PrimeFacesLocales

I feel that;
If this framework combined and merged with the Ibatis or similiar data mapping framework; ColdFusion developers seem to be familiar with this framework very quickly:-).

My Suggestion to universe :
It is nice to have that Netbeans or Eclipse IDE support(s) component visualization such as Drag-Drop Components to the xhtml file.





Wednesday, March 12, 2014

Unbearable Lightness of Using ThreadSafe Objects

Being psychologically @ThreadSafe annotation may "look and feel safe" Effect at the first sight for any Java code.

If your threads use same  variables for accessing/modifing purpose and you miss this issue, your threads can be confused :-).

Sometimes; you trust in web servers' architecture for writing thread safe applications. It's a good way unless your application contains cached objects that might be used by your app's transactions .